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

Detect if advertising?

I'm making a peripheral device that should be powered off most of the time, but never idle if on, so I want to make sure that it is always (1) connected, or (2) advertising. Checking the former is easy--just check "m_conn_handle" which is set by the connection event and unset by the disconnection event. Checking to see if I am advertising doesn't seem as simple. I gather that I can do a similar thing with radio notification, but the docs and examples there haven't been helpful to me.

Parents Reply Children
No Data
Related