微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > 为什么我的sniffer一直显示的是NWK Unknown Command,而且无法组网

为什么我的sniffer一直显示的是NWK Unknown Command,而且无法组网

时间:10-02 整理:3721RD 点击:

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这样触发的方式组网。

硬件是CC2530,一个工作在coordinator模式,一个工作在End-device模式。

这是数据加密了。packet sniffer不具备解密功能,推荐用Ubiqua Packet Analyzer ,添加网络key后,可以正确解析你的psd数据。 那些unknown Command都是link status包。

https://www.ubilogix.com/ubiqua

Ubiqua Protocol Analyzer

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

  • IEEE 802.15.4
  • ZigBee
  • Thread
  • IETF 6LowPAN
  • PopNet
  • ZigBee Light Link
  • ZigBee Greeen Power
  • JenNet-IP

Powerful packet filtering

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.

Automatic packet field monitoring

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 topology visualization

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.

你好,你的问题怎么解决的? 我也是终端不能入网。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top