zigbee新手,用的2530和2.5.1a的协议栈。
在f8wconfig.cfg里面修改了pan id,可是只有协调器的pan id改了,路由的依旧是FFFF,抓包一直显示beacon request,就是组不了网,这是为什么路由无法加入协调器.psd
Viki Shi:
可以看一下这边分享的教程:blog.csdn.net/…/70242017
user6157701:
回复 Viki Shi:
这个是动态修改pan id,可是我只需要能组网就好了,不需要这么复杂
YiKai Chen:
有沒有移除預編譯的HOLD_AUTO_START?
Viki Shi:
回复 user6157701:
协调器有回复beacon,你把路由擦除重新烧录一下再试试
user6157701:
回复 YiKai Chen:
之前没有HOLD_AUTO_START,也是不可以的,预编译:
ZTOOL_P1
MT_TASK
MT_SYS_FUNC
MT_ZDO_FUNC
LCD_SUPPORTED=DEBUG
YiKai Chen:
协调器有沒有使能permit join讓路由可以加入?
user6157701:
回复 Viki Shi:
有回复beacon,但是不组网,是哪些原因造成的呀
Viki Shi:
回复 user6157701:
如Yikai所说,协调器有没有开启permit join?擦除重新烧录可以入网吗?
user6157701:
回复 Viki Shi:
重新烧录了还是不可以,然后permit join不知道该怎么开启。。。太小白了
Viki Shi:
回复 user6157701:
NLME_PermitJoiningRequest()This function defines how the next higher layer of a coordinator or router device may permit devices to join its network for a fixed period.PrototypeZStatus_t NLME_PermitJoiningRequest( byte PermitDuration );Parameter DetailsPermitDuration – The length of time during which the a device (coordinator or router) will be allowing associations. The values 0x00 and 0xff indicate that permission disabled or enabled, respectively without a time limit. Values 0x01 – 0xFE are the number of seconds to allow joining.ReturnZStatus_t –status values defined in ZComDef.h.