0

Peer_manager Question: how to handle the line in ble_advertising_start

ShannonRichard gravatar image

asked 2016-01-14 21:02:01 +0100

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.

edit retag flag offensive close delete report spam

1 answer

Sort by ยป oldest newest most voted
0
Petter gravatar image

answered 2016-01-18 11:08:59 +0100

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.

edit flag offensive delete publish link more

Comments

Hello Peter,

Could you tell me please what advertiseng operations restrict flash operation? Should we take this into account during another bt or softdevice operations? Where can I find this information in Nordic documentation?

Best regards, Artem

Artem Zemlyanukhin ( 2016-04-08 13:52:50 +0100 )editconvert to answer

@Artem You can read about it here.

Petter Myhre ( 2016-04-08 14:07:37 +0100 )editconvert to answer

Petter,

Thank you for your response.

Artem Zemlyanukhin ( 2016-04-18 14:39:03 +0100 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower

Stats

Asked: 2016-01-14 21:02:01 +0100

Seen: 989 times

Last updated: jan. 18 '16