scanForPeripheralsWithServices: Return the same peripheral 2 times in the same "scan session"
scanForPeripheralsWithServices: Return the same peripheral 2 times in the same "scan session"
- Subject: scanForPeripheralsWithServices: Return the same peripheral 2 times in the same "scan session"
- From: Frederic Visticot <email@hidden>
- Date: Sun, 01 Apr 2012 22:08:51 +0200
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)...
- The device name returned is sometimes set to null
Do you have the same pbs ? (I'm using iOS5.0.1)
The code:
NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool: NO],
CBCentralManagerScanOptionAllowDuplicatesKey, nil];
[self.cbCentralManager scanForPeripheralsWithServices: services options:options];
-Fred
_______________________________________________
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