hi,
thanks
i get the err log in the function, and most time it work well,
the log was:
err:
[07:41:38.180] PDM: Unexpected call back Code 3 Number 61698
[07:41:38.272] PDM: Unexpected call back Code 3 Number 61700
[07:41:38.272] PDM: Unexpected call back Code 3 Number 61697
[07:41:38.293] PDM: Unexpected call back Code 3 Number 61699
[07:41:38.311] PDM: Unexpected call back Code 3 Number 61697
[07:41:38.320] PDM: Unexpected call back Code 3 Number 61699
right:
[07:41:34.183] NodeNum: 0, NwkAddr: 0x9cc8, IeeeAddr:00158d000211ff3b.
[07:41:34.190] NodeNum: 1, NwkAddr: 0xfffe, IeeeAddr:0000000000000000.
the code was:
PUBLIC uint8 app_u8MacAddrAndIeeeAddrPrint(void)
{
uint16 u16DstAddr;
uint16 nodeNum = 0;
do
{
u16DstAddr = ZPS_u16AplZdoLookupAddr(ZPS_u64NwkNibGetMappedIeeeAddr(ZPS_pvAplZdoGetNwkHandle(),nodeNum));
DBG_vPrintf(TRACE_APP, "NodeNum: %d, NwkAddr: 0x%04x, IeeeAddr:%016llx.\n",
nodeNum,
u16DstAddr,
ZPS_u64NwkNibGetMappedIeeeAddr(ZPS_pvAplZdoGetNwkHandle(),nodeNum));
nodeNum ++;
}while (0xFFFE != u16DstAddr);
return nodeNum;
}
what should i do to fix the bug, thanks for your help!
Hi Xu,
I am not sure what is the values that you want.
Did you look at the appZpsExtendedDebug.c file?
C:\NXP\bstudio_nxp\sdk\JN-SW-4170\Components\ZigbeeCommon\Source\appZpsExtendedDebug.c
Regards,
Mario