Has IOBluetoothLocalDeviceAvailable changed?
Has IOBluetoothLocalDeviceAvailable changed?
- Subject: Has IOBluetoothLocalDeviceAvailable changed?
- From: Diggory Laycock <email@hidden>
- Date: Sun, 13 Jun 2004 01:39:20 +0100
Hi,
has IOBluetoothLocalDeviceAvailable changed? As far as I remember It
used to return False if the BT adapter was not available or if BT was
turned off via the BT prefpane/menu extra.
Now it returns True if the bluetooth is there, but turned off.
If I try to open an OBEX session with a remote device while the BT is
off then I get a strange error from [IOBluetoothOBEXSession
OBEXConnect: .....]
2004-06-13 01:29:53.887 ThinAir[543] registered Defaults
2004-06-13 01:29:56.311 ThinAir[543] device: 6600
2004-06-13 01:29:57.904 ThinAir[543] found the OBEX service.
2004-06-13 01:29:57.904 ThinAir[543] found the OBEX channel: 9
2004-06-13 01:29:57.904 ThinAir[543] [MFOS] [Connect:] Device: 6600
2004-06-13 01:29:57.915 ThinAir[543] [MFOS] [Connect] Opening Session
2004-06-13 01:29:57.915 ThinAir[543] [MFOS] [Connect] ^about to send
CONNECT packet^
2004-06-13 01:29:57.938 ThinAir[543] [MFOS] [Connect] Could not begin
OBEX connection - unhandled status : -536870185 (e00002d7)
2004-06-13 01:29:57.938 ThinAir[543] ThinAir: Problem Initialising
Connection
I notice that the Apple BT File Exchange app knows if the BT module is
powered-up - is there a new method that I have missed that reports the
power state?
Thanks,
Diggory Laycock
-----------------------
http://www.monkeyfood.com
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.