2022-06-27 07:23 PM
Hi,
I'm using stm32wb55 for ble application.
I want to check the connection state of BLE for conditioning case.
Is there any global instance or register which contain the state of BLE?
Thanks.
2022-06-28 03:07 AM
Hello,
In order to check the connection state of your BLE device, you can use the following variable:
BleApplicationContext.Device_Connection_Status
Best Regards
2022-06-28 03:22 AM
Hello, Remy
How can I access the variable?
Best Regrads
2022-06-28 05:56 AM
Hello,
You can look example available in STM32CubeWB package, this variable is used in app_ble.c file.
Best Regards