How to get RSSI of an OpenThread sleepy end device

Hi,

I have a set of OpenThread CoAP clients configured as speepy end devices to preserve battery. I need to obtain RSSI values of each of the CoAP clients. From CoAP server I can use CLI to query 'ot child n' to get RSSI value of the connected child nodes. I am going through the CLI files  to detect how this is done via CLI, but it seems a lengthy process.

How can I retrieve the RSSI values from CoAP server API? (i.e. without going through the CLI)

Cheers,

Kaushalya

Related