Hi, @luoyf20240508
Thanks for your reply.
What I can found the information related to RSSI is below:
Rssi value is read from mac register, which is measured using complex signal strength estimation algorithm.
The variation is specified in datasheet.
For JN5169, https://www.nxp.com/docs/en/data-sheet/JN5169.pdf
Page 71 to page 75, RSSI is measured at three distinct temperature(-40, 25, 125) degree and over the voltage (2 to 3.6)v.
It has the variation of +/-4 dbm, under the above circumstances and over different batches.
And in the datasheet, it mentioned that it is available through JN5169 Integrated Peripherals API.
I also checked this API guide, there is one function:
void vAHI_AntennaDiversityControl(uint8 u8RxRssiThreshold, uint8 u8RxCorrThreshold);
I am not sure whether it is what you want.
And I also found the ZigBee Diagnostics cluster. If the Diagnostics server is enabled, you can access the value of the last Message's RSSI from the shared structure in this cluster.
You can read more information about this cluster in Chapter 22 of the ZigBee Cluster Library (for ZigBee 3.0) User guide, which can be found here.
Unfortunately, that's the code relating to RSSI that we have available to share.
Besides, you can also check :
void vGetRSSIAndLQIFromGPPGPDLink( tsGP_ZgpDataIndication *psZgpDataIndication);
to see whether it is what you want.
Please let me know if you have any other questions.
Best regards,
Christine.