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.
1、sniffer文件在附件,@VV 帮忙看一下,用的3.0协议栈自带的ZNP和SampleLight工程,SampleLight工作在End-device模式,搞了几天了一直无法组网,ZNP的文档都翻遍了,它推荐调用BDB的API,但是我也尝试也不行,znp-host-framework里面是用ZDO的API实现的。
2、ZNP工作在coordinator模式,网络已经form,已经使能了permit join(通过调用:MT_SapiPermitJoin -> zb_PermitJoiningRequest),参数为0xFFFC,即所有设备都可以加入,0xFF,不限制时间。
3、SampleLight我知道需要按键才能join,我修改了它的代码,开机就join,不要按键,在UI_Init最后调用bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_STEERING),但是测试了,还是不行,我的板子上没有按键,不能用TouchLink或者PressLink这样触发的方式组网。
这是数据加密了。packet sniffer不具备解密功能,推荐用Ubiqua Packet Analyzer ,添加网络key后,可以正确解析你的psd数据。 那些unknown Command都是link status包。
https://www.ubilogix.com/ubiqua
Ubiqua Protocol Analyzer integrates decoders for leading IEEE 802.15.4-based protocols – including ZigBee, Thread, and 6LowPAN – with a wide range of analysis features to create a powerful, user friendly, fast, and scalable debugging tool, tailored to help engineers through the different phases of the Internet of Things application development process.
SUPPORTED PROTOCOLS
Easily create complex filters with the filter editor. Ubiqua features the ability to filter packets and show only the ones that fulfill certain logical criteria. Filters can be saved and shared with other Ubiqua users.
Never lose track of important information! You may configure the Watch View to automatically find and display variables of interest in the packet log as you traverse your captures.
Graphical visualization of the network topology as interpreted by the current capture data, with quick access to individual node properties. Additionally, nodes may be named and positioned over a custom background image such as a blueprint to easily keep track of devices.