To synchronize user programs and advertisement, I need to know when the BLE event will end, I hope when the event end, it will notify application(user logic), Is there a relevant method to achieve it?
To synchronize user programs and advertisement, I need to know when the BLE event will end, I hope when the event end, it will notify application(user logic), Is there a relevant method to achieve it?
Hello,
Are you using the nRF5 SDK or the nRF Connect SDK in this case?
Additionally, do I understand it correctly that you would like to know when the radio event has ended, so that you may perform some post-processing or similar?
Best regards,
Karl
Thanks for your reply, I use nRF Connect SDK. You got it correct! I want to process user program aft radio event, for maximizing power consumption reduction.
Hello,
Max_Singsun said:Thanks for your reply
No problem at all, I am happy to help! :)
Max_Singsun said:I want to process user program aft radio event, for maximizing power consumption reduction.
Which version of the nRF Connect SDK are you using?
If you are using an older version than nRF Connect SDK v2.6 then you can use Radio Notifications to be alerted of the end of a timeslot.
If you are using v2.6 or newer you will have to use connection event triggers which you can see demonstrated here.
Please let me know if you have any questions to any of this! :)
Best regards,
Karl