This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请问下,如何从NV区读取出PANID,谢谢TI大神了

如题,请问下,如何从NV区读取出PANID!我的程序是通过串口把PANID的值写入了NV中

temp16 = BUILD_UINT16(pBuf[0], pBuf[1]);
pBuf += sizeof(uint16);

_NIB.nwkPanId = temp16;
NLME_UpdateNV(0x01);

retValue = osal_nv_write(ZCD_NV_PANID, 0, osal_nv_item_len( ZCD_NV_PANID ), &temp16);

/* Build and send back the response */
MT_BuildAndSendZToolResponse(((uint8)MT_RPC_CMD_SRSP | (uint8)MT_RPC_SYS_UTIL), cmdId, 1, &retValue);

那么请问下,就是我怎么能读出来这个PANID,就是从FLASH里面!还有就是调用什么函数,在哪里调用,在sampleapp中调用可以吗?谢谢了