Hi ,
I want to call a pstorage_store() function to update the flash content when ble receives the disconnect event.
My doubt is whether i be missing the flash write event success event since I am calling it from ble event?
Thanks and regards.
Hi ,
I want to call a pstorage_store() function to update the flash content when ble receives the disconnect event.
My doubt is whether i be missing the flash write event success event since I am calling it from ble event?
Thanks and regards.
Hi,
It's ok to call pstorage store from the disconnect event, but you need to exit the interrupt to receive flash success event. Reason is that the BLE and system events have the same interrupt priorities.
thank you @Vidar Berg ..