如何添加代码,得到packet sniffer的radio configuration选项里具体是哪个信道
时间:10-02
整理:3721RD
点击:
如题,我在抓包的时候需要选择信道,但是协调器组网的信道是随机选的,所以我想问下,有没有API能够得到协调器组网后的信道信息,以便抓包。
看z-stack develop guide.pdf
9.1 Configuring channel
Every device must have a DEFAULT_CHANLIST (in f8wConfig.cfg) that controls the channel selection. For a ZigBee Coordinator, this list will be used to scan for a channel with the least amount of noise. For ZigBee Routers and End Devices, this list will be used to scan for existing networks to join.
实操如下: