site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com #include <IOBluetoothUI/IOBluetoothUIUserLib.h> #include <IOBluetooth/IOBluetoothUserLib.h> int main (int argc, char * const argv[]) { Blue (); return 0; } thanks in advance Alex _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... I am a relativly new programmer who hasn't programmed any mac specific stuff (alot more platform independant c++, java etc programs). I am trying to delve into Bluetooth developing and since I own a mac I might as well use its pre-installed bluetooth stack. I am just trying to start out by creating an SDP window to see whats out there, but am having problems. When I try to compile this simple app (in XCode) I get a syntax error in the IOBluetoothUserLib.h at the IOBluetoothSDPDataElementGetNumberValue method. I have no idea whats wrong, any ideas?? void Blue () { IOReturn result; IOBluetoothSDPServiceRecordRef serviceRecord; IOBluetoothServiceBrowserControllerRef serviceBrowser = IOBluetoothServiceBrowserControllerCreate (kIOBluetoothServiceBrowserControllerOptionsNone); result = IOBluetoothServiceBrowserControllerDiscover (serviceBrowser, &serviceRecord); } This email sent to site_archiver@lists.apple.com