On Apr 1, 2012, at 1:08 PM, Frederic Visticot wrote:
Hi,
I'm using this code to browser BLE devices.
- The same device is returned 2 times (even if the CBCentralManagerScanOptionAllowDuplicatesKey is set to false)..
That is possible if there are many devices around. We keep track of a limited number of devices at the same.
- The device name returned is sometimes set to null
Interesting, could you please provide a little more detail around this?
Do you have the same pbs ? (I'm using iOS5.0.1)
Not sure what you mean by this. Could you please clarify.
The code:
NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool: NO],
CBCentralManagerScanOptionAllowDuplicatesKey, nil];
[self.cbCentralManager scanForPeripheralsWithServices: services options:options];
-Fred