• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Has IOBluetoothLocalDeviceAvailable changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Bug - BT File Transfer App uses wrong Channel for OBEX Pushes
  • Next by Date: Re: Has IOBluetoothLocalDeviceAvailable changed?
  • Previous by thread: Bug - BT File Transfer App uses wrong Channel for OBEX Pushes
  • Next by thread: Re: Has IOBluetoothLocalDeviceAvailable changed?
  • Index(es):
    • Date
    • Thread