BLE Default Connection Interval
I'm developing with an STM32WBA2.
I want to communicate via Bluetooth every 10ms, but where in the source code should I modify the default connection interval?
I couldn't find a relevant item in CubeMX's STM32_WPAN.
I'm developing with an STM32WBA2.
I want to communicate via Bluetooth every 10ms, but where in the source code should I modify the default connection interval?
I couldn't find a relevant item in CubeMX's STM32_WPAN.
Hi
The connection interval is passed indeed in the create connection procedure which is invoked by the client.
However, at peripheral side you can negotiate back this interval thanks to dedicated API
aci_l2cap_connection_parameter_update_req( connection_handle, min_interval, max_interval, slave_latency, supervision_timeout );
Here once connection is complete ,you can invoke this procedure with
To play and understand a bit more the BLE concepts, I would recommend playing with STM32CubeWise Bluetooth LE Explorer. You will find instructions how to in this webinar Online workshop: Design power and cost-efficient wireless applications with the new STM32WBA2 MCU - STMicroelectronics
Let us know.
Br
Dom
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.