Re: Basic question
Re: Basic question
- Subject: Re: Basic question
- From: Marco Bambini <email@hidden>
- Date: Wed, 30 Jan 2013 00:33:03 +0100
Hello,
regular Bluetooth and I think that the issue is that I was using the wrong class… as Matt suggested I should probably use the IOBluetoothDeviceInquiry class
--
Marco Bambini
http://www.sqlabs.com
http://twitter.com/sqlabs
http://instagram.com/sqlabs
On Jan 30, 2013, at 12:24 AM, Andy Fuchs <email@hidden> wrote:
> Hi Marco,
>
> are you talking about 'regular' Bluetooth or BTLE?
>
> Andy
>
> Am 29.01.2013 um 23:56 schrieb Marco Bambini <email@hidden>:
>
>> 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
_______________________________________________
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