2022-03-01 01:06 PM
Hello!
I'm trying to use the base OTA firmware updater within the STM32WB github package.
For some reason, when I try to use the notify characteristic in my app after an OTA update, the notifications aren't being sent out.
Is there something that needs to be reset after an OTA update within the BLE stack to re-enable the notify characteristic?
Thanks!
2022-03-01 01:37 PM
This issue also works in reverse too. If power toggle the STM32WB, and run my firmware then NOTIFY works fine. When I send it a command to go into OTA then NOTIFY via OTA doesn't work.
I've narrowed it down to something within the bluetooth stack or something not being reset within CPU2.
2022-03-09 06:31 AM
Hello,
First check if you have the latest firmware version on your board:
If you need to update your firmware download the latest release (available here https://www.st.com/en/embedded-software/stm32cubewb.html) and follow the instruction of this wiki page:
Then flash your board with BLE_Ota_reference.hex available in STM32Cube_FW_WB_V1.13.0\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_Ota\Binary.
Download on your smartphone BLE_HeartRate_ota_reference.bin and BLE_p2pServer_ota_reference.bin files.
Take your smartphone with ST BLE Sensor application:
More informations about OTA process is available in AN5247.
Best Regards