This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Call pstorage related functions from BLE stack handler

Hi,

just to know ... is it possible to call pstorage related functions inside a BLE stack event handler ? I'm facing with Hard Fault and I have the doubt that it's related to this.

In my main.c I have an event handler called when the app receive data on BLE (ex. some bytes from a smartphone). Inside this event handler I call pstorage related functions (like clear, store, ...).

Is this scenario provided ? Or I need to have another task to call pstorage related functions that is enabled when data arrive in the BLE event handler ?

Thanks, Paolo

Parents Reply Children
No Data
Related