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

Parents
  • I think I found the function 'otThreadGetChildInfoById' in cli.cpp line 1046. I think this is where the CLI gets the info regarding a particular child. 

    Here I need to get the pointer to thread instance. How can I get it?

    Is there better ways of getting the real time (or near real time) RSSI or link quality measurements of OpenThread network? This is for the range detection purposes, not distance measurements. 

    Cheers,

    Kaushalya

Reply
  • I think I found the function 'otThreadGetChildInfoById' in cli.cpp line 1046. I think this is where the CLI gets the info regarding a particular child. 

    Here I need to get the pointer to thread instance. How can I get it?

    Is there better ways of getting the real time (or near real time) RSSI or link quality measurements of OpenThread network? This is for the range detection purposes, not distance measurements. 

    Cheers,

    Kaushalya

Children
Related