2023-07-12 01:57 AM
Hi,
I am using two device that are connected one to another with BLE.
The first device is a server.
The second is a routeur.
I detect some spurious disconnection between both device after some random time.
The disconnection error I get is : HCI_CONNECTION_TIMEOUT_ERR_CODE
Do you have any idea what could be the cause and how I could fix it?
The server device writes sometimes into the flash, but it should write on the flash only during specific moments
Thank you in advance
Solved! Go to Solution.
2023-07-20 09:44 AM
Hello,
Did you follow the algorithm to write/erase data in the flash memory (see figure 10) describes in AN5289? In STM32CubeWB package, BLE_RfWithFlash example demonstrate the capability to erase/write the flash while a Point-to-Point communication using BLE component is active using the flash drive which follow the algorithm.
Best Regards
2023-07-20 09:44 AM
Hello,
Did you follow the algorithm to write/erase data in the flash memory (see figure 10) describes in AN5289? In STM32CubeWB package, BLE_RfWithFlash example demonstrate the capability to erase/write the flash while a Point-to-Point communication using BLE component is active using the flash drive which follow the algorithm.
Best Regards
2023-07-24 03:29 AM
Hi,
Thank you for your reply.
I indeed implemented the algorithm to write/erase data in the flash memory as described in AN5289 and it seemed to solve my problem.
Thank you very much !