Basic question
Basic question
- Subject: Basic question
- From: Marco Bambini <email@hidden>
- Date: Tue, 29 Jan 2013 23:56:09 +0100
Hello,
I am probably missing something but I really don't understand why a simple BT code does not work.
I created a Cocoa app on MacOS X 10.8 and I linked the IOBluetooth framework.
My very simple test class (which is CBCentralManagerDelegate and CBPeripheralDelegate) do:
CBCentralManager *centralManager = [[CBCentralManager alloc] initWithDelegate:self queue:nil];
[centralManager scanForPeripheralsWithServices:nil options:nil];
I was expecting to receive notifications about new devices in the eventDiscoveredPeripheral delegate method (and even in others methods) and I tried with a lot of different BT devices (even iPhone 5 with iOS 6.1) but nothing happens… even if devices are correctly listed using the Bluetooth preference pane utility.
Why I do not receive anything in my delegates methods?
I am sure I am missing something about BT.
Please help.
--
Marco Bambini
http://www.sqlabs.com
http://twitter.com/sqlabs
http://instagram.com/sqlabs
_______________________________________________
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