使用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.
错误提示是:未定义外部“zb_WriteConfiguration::?relay” 你看看能否定位到这两个函数原型,不能就是没有关联对头文件,系统没有能够发现这两个函数原型。
谢谢你的回答 ,问题已经解决,还请问下我用如下代码修改PAN ID失败,知道是为什么吗?
pan_id=0xFF01;
zb_WriteConfiguration(ZCD_NV_PANID, sizeof(uint16),&pan_id);//改PAN_ID
NLME_UpdateNV(0x01);//储存数据到NV层
zb_SystemReset();//重启