- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i am using a PRoCBLE 222014-01. I want to store sensor data in flash.
i am using the CyBle_StoreAppData function but the apiResult always return CYBLE_ERROR_INVALID_PARAMETER.
i have checked the old topics on this subject.
my project is running with a IMO clock at 6MHz.
is there something special to do to use this function?
regards,
Yann.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yann.treguer_3068666 ,
Please make sure that the 'srcBuff' and 'destAddr' are not pointing to a NULL, otherwise the API will through the CYBLE_ERROR_INVALID_PARAMETER error code.
Note: The Flash write APIs are blocking and you also need to make sure that you are processing the BLE events periodically at least once in a connection interval.
-Gyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello yann.treguer_3068666 ,
Please make sure that the 'srcBuff' and 'destAddr' are not pointing to a NULL, otherwise the API will through the CYBLE_ERROR_INVALID_PARAMETER error code.
Note: The Flash write APIs are blocking and you also need to make sure that you are processing the BLE events periodically at least once in a connection interval.
-Gyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Gyan,
thanks for your answer. I found since a couple of hours that i missed to initialized the const uint8 destAddr.
since i added "={0}, it seems to work.
i'm going to continue my test.
Yann.