Callback for Inquiry
Callback for Inquiry
- Subject: Callback for Inquiry
- From: "Christian Martin" <email@hidden>
- Date: Wed, 11 Oct 2006 15:54:19 -0400
Hi,
Currently working on library which will provide bluetooth services. I do not
want the UI provided. When I try to set a search devices, I do the
following calls:
....
m_network = IOBluetoothDeviceInquiryCreateWithCallbackRefCon(/*void
*inUserRefCon*/ this );
/ Register call back fctns
ret = IOBluetoothDeviceInquirySetCompleteCallback(m_network,
OnDeviceDiscoveryCompleted);
ret = IOBluetoothDeviceInquirySetDeviceFoundCallback(m_network,
OnDeviceDiscovered );
OBluetoothDeviceInquirySetSearchCriteria(m_network,
kBluetoothServiceClassMajorAny,
kBluetoothDeviceClassMajorAny,
kBluetoothDeviceClassMinorAny);
IOBluetoothDeviceInquiryStart(m_network);
....
This triggers the searching of devices but the callback function are not
callback ? Any possible explanation ? These callbacks are called in a
separate thread right ?
I am working on an iBook G4/Tiger/10.4.8 with Apple Bluetooth Software
Version: 1.7.8f2. The bluetooth interface is a tird party hardware bluetooth
dongle (Kensington). It works well when I use the UIBluetooth API.
Could the third party driver be the cause of the problem ?
Thx
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden