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

Peer_manager Question: how to handle the line in ble_advertising_start

I am attempting to make the change to peer_manager, fromd evice manager, and the in ble_advertising_start() pstorage_access_status_get() call, I'm not sure what to change this to.

I've run through the tutorial, but, this one line isn't handled.

Parents
  • That function is there because some advertising operations restrict flash operations, and Pstorage donesn't handle too many retries very well.

    This is not the case with Fstorage, so you don't need to change it.

    There isn't any equivalent function in Fstorage now, but there will be soon. This can then optionally be used to delay advertising until all flash operations are complete.

Reply
  • That function is there because some advertising operations restrict flash operations, and Pstorage donesn't handle too many retries very well.

    This is not the case with Fstorage, so you don't need to change it.

    There isn't any equivalent function in Fstorage now, but there will be soon. This can then optionally be used to delay advertising until all flash operations are complete.

Children
Related