This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

the state of radio

I am doing a ble project with three roles exist simultaneously, slave, scanner and broadcaster. i used the 'ble_radio_notification_init' and a rtc to see when the radio is up. And i find that the connection heart packet inerval is about 500ms, while the adv inerval is about 120ms, scan interval is 660ms, which match what i set in code. However, now i want to know which role is working at some point. in other words, when radio is up, whether it is advertising, or scaning, or sending connection packet? Before, i observed the interval of radio up time to determine, but it doesn't seem to be a good way. Is there any API or other ways to know the radio state?

Related