您好!
设置:CC2652P 声道关闭软件狗连接到通过串行端口进行读取和写入的 PC。
我正在完成此器件的实施(烟雾报警器),但我通过监听器注意到的是,我收到了区域状态更改通知,但似乎加密狗不通过串行端口将其发送给我,因为我没有收到任何信息。
也许我必须启用编译标志? 我也不会通过串行端口接收区域注册请求。
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.
这是日志。 (我看到 DestinationEP = 0?)
密钥:0xaabbcceeff00112233445566778899
这是我的端点代码。
int[] pacchettoAFRegister = DoPacket.AF_REGISTER( 0X01, DoPacket.HOME_AUTOMATION, DoPacket.DEVICE_ID_DEFAULT, 7, new int[] {0x0019, 0x0009, 0x000a, 0x0000, 0x0020, 0x0500, 0x0003}, 2, new int[] {0x0500, 0x0019} );
这个项目获得了巨大的灵感: GitHub - zsmartsystems/com.zsmartsystems.ZigBee:支持多个加密狗的 ZigBee 集群库 Java 框架
AF_register code: com.zsmartsystems.zsmartsystems.zsmartsystems.zsmartsystems.zbigble-dongle.cc2531 at master·zsmartsystems/com.zsmartsystems.zsmartsystems.zgitHub ·
我基本上是用 Java 编写数据包,然后通过串行端口发送。