MPSL radio notification API: why dropped?

Hello,

is there any technical reason why the MPSL radio notification API has been dropped somewhere before NCS 2.6?

Our application needs information about radio notifications as in the old "nRF SDK", because we have to collect radio on times for modelling power consumption and also to put the main application to sleep during radio on.

So how to do it without the dropped API?  Any Zephyr API I missed?

Thanks & regards

Hardy

PS: I know this "connection event trigger" sample, but this unfortunately does not offer enough functionality

Parents
  • Hi,

    The radio notification feature in MPSL was not much used and there were some techinical reasons to remove it (related to internals in MPSL). Threfore it was dropped in 2.6.

    As you write, connectino event trigger is provided as an alternative, but it is not exactly equivalent, and does not cover all use cases. To get notification of all radio activity you can hook up to radio events using PPI and the EGU, as described in this post. This will not give you warning in advance like you got with the old radio notifications, though.

Reply
  • Hi,

    The radio notification feature in MPSL was not much used and there were some techinical reasons to remove it (related to internals in MPSL). Threfore it was dropped in 2.6.

    As you write, connectino event trigger is provided as an alternative, but it is not exactly equivalent, and does not cover all use cases. To get notification of all radio activity you can hook up to radio events using PPI and the EGU, as described in this post. This will not give you warning in advance like you got with the old radio notifications, though.

Children
Related