使用API里的函数 为何会出错,请问是不是什么头文件没定义?
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.
谢谢你的回答 ,问题已经解决,还请问下我用如下代码修改PAN ID失败,知道是为什么吗?
pan_id=0xFF01;
zb_WriteConfiguration(ZCD_NV_PANID, sizeof(uint16),&pan_id);//改PAN_ID
NLME_UpdateNV(0x01);//储存数据到NV层
zb_SystemReset();//重启
调用此API,需要关联sapi.h头文件,分享给大家。