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

SDK14 application and peer manager using FDS simultaneously

Test code:SDK14 ble_app_ancs_c

Hey guys, When I used ble_app_ancs_c demo to do FDS, there was a problem! I initialize FDS and register the drop back function。

image description

When I was working with FDS, I found that I didn't go in and complete the callback function!

image description

I consulted the related issues in the forum and found that many of them needed to add fs_sys_event_handler (sys_evt);Is this solution feasible for SDK14?And I didn't find the function in SDK14.

So I have two questions at the moment:

1.How does peer manager and application program operate FDS at the same time in SDK14?

2.Do you need to add fs_sys_event_handler (sys_evt) to SDK14?

Looking forward to your help!

Parents
  • Hi,

    1. Not sure about what you are asking..
    2. The fs_sys_event_handler() function is registered automatically in SDK 14.
    • No, the application and the peer manager don't 'conflict' when using fds.

    • How do you determine that my_fds_evt_handler is not called, do you step or do you only look at logs? If so, try adding a log entry in the default case in the switch to make sure you are not missing any event.

    • Does the fds_record_write() return FDS_SUCCESS?

Reply
    • No, the application and the peer manager don't 'conflict' when using fds.

    • How do you determine that my_fds_evt_handler is not called, do you step or do you only look at logs? If so, try adding a log entry in the default case in the switch to make sure you are not missing any event.

    • Does the fds_record_write() return FDS_SUCCESS?

Children
No Data