Thank you,
@Christine_Li, for your reply.
Zigbee 3.0 Green Power Devices package is for JN5189, but even if I was using JN5189, as I mentioned, I am not using Zigbee. Furthermore, The JPT API contained in the JN-AN-1172 cannot be used along with the IEEE 802.15.4 stack because is for radio testing purposes, as you mentioned.
I am using IEEE 802.15.4 MAC directly with my JN5169. The idea is to obtain the RSSI read during the last received packet as described by IEEE 802.15.4-2015 onwards. Since JN5169 do not provide RSSI in its MCPS-DATA.indication parameters I was thinking something in the lines of this:
```
void
ProcessIncomingMcps(MAC_McpsDcfmInd_s* psMcpsInd)
{
switch (psMcpsInd->u8Type)
{
case MAC_MCPS_IND_DATA: {
MAC_RxFrameData_s* psFrame;
psFrame = &psMcpsInd->uParam.sIndData.sFrame;
uint8_t srcAddrMode = psFrame->sSrcAddr.u8AddrMode;
uint16_t srcPanId = psFrame->sSrcAddr.u16PanId;
uint8_t dstAddrMode = psFrame->sDstAddr.u8AddrMode;
uint16_t dstPanId = psFrame->sDstAddr.u16PanId;
// Read last packet RSSI from MAC registers here.
}
}
```
Any further help would be much appreciated.
Regards,
Al.