Thank you. I want to use non pairing so CoreBluetooth is the way. I'm glad it's possible. I wasn't sure if background scanning and advertising would be allowed. On 11 Jan 2013, at 16:02, Etan Kissling <kissling@oberon.ch> wrote:
Darren,
If you want to perform iPhone to iPhone communication only, I suggest using GameKit for it. You will have an increased throughput, as classic Bluetooth is used as a transport, and don't have to worry about specifying who is master and who is slave.
If you want to stay with CoreBluetooth: at least from the Bluetooth Core Specification, a device is allowed to scan and advertise at the same time. I have not yet tried it under iOS, but can tell for your background requirement that scanning times are pretty slow while backgrounded (around 55x advertisement interval). Also don't forget to stop scanning and advertising as soon as you establish a connection.
Etan
On 10.01.2013, at 23:59, Darren Jones <djonesuk@me.com> wrote:
Is it possible to use CBCentral scanning and CBPeripheral advertising at the same time? (Also in the background)
If I wanted 2 random iPhones to communicate and both where set to Central or both to Peripheral they wouldn't see each other. I'd like to remove that they would both have to know which method to activate.
Is that possible?
Thanks
Sent from my iPhone 5 _______________________________________________ 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: https://lists.apple.com/mailman/options/bluetooth-dev/kissling%40oberon.ch
This email sent to kissling@oberon.ch
_______________________________________________ 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: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com