Question about CoreBluetooth and BLE connection interval
Question about CoreBluetooth and BLE connection interval
- Subject: Question about CoreBluetooth and BLE connection interval
- From: Don Clark <email@hidden>
- Date: Mon, 06 Feb 2012 13:10:18 -0500
- Acceptlanguage: en-US
- Thread-topic: Question about CoreBluetooth and BLE connection interval
I'm puzzled about controlling the BLE connection interval. I'm working with a TI CC2540 key fob device, which has default connection interval and slave latency settings. Using IAR I can modify the project that produces the server app that runs in the key fob, and change the minimum and maximum connection interval values, and the slave latency. But this doesn't seem to be having any impact on my connection and data exchange performance. The Bluetooth 4.0 spec available at the SIG site indicates that the master/host specifies these connection parameters at the connection, and it's then possible for the server/slave to negotiate to change them. According to the Core Bluetooth Framework Reference there is an option argument on the CBCentralManager.connectPeripheral method, but there is no documentation that describes it other than to mention that its "A dictionary to customize the behavior of the connection.". I'm assuming that this is how the caller would specify the initial connection interval and slave latency. The TI documentation points out that "In some cases the central device will request a connection with a peripheral device containing connection parameters that are unfavorable to the peripheral device." This also suggests that the connector (the application connecting to the advertising peripheral node) specifies connection parameters. But I see no way to specify the initial parameters via Core Bluetooth. There is a BLE protocol that allows the peripheral to negotiate connection parameters that are more to its liking. I haven't looked in a packet trace yet to see if the negotiation is going on, will do that soon. But I'm still wondering about how to control this, as much as I can, through Core Bluetooth.
Thanks
_______________________________________________
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