Topic

FAQ
Login Register
ZigBee ZGC TOOL
Sep 09, 2022 09:11

/

A

/A

Here is the message received from the device
22-09-09 08:03:46.654711 recv<--:55 81 04 00 0b bd 7e 67 32 0f 00 06 01 00 00 10 00 aa


This is payload information:

hci commandid: 0x8104 (ZBHCI_CMD_ZCL_REPORT_MSG_RCV)
payload len: 11
src_addr:0x7e67
src_endpoint: 0x32

dst_endpoint: 0x0f
seq_num:0x0
cluster_id: 0x0601(PI_BACNET_PROTOCOL_TUNNEL)
num_attr:0x0


This information is incorret. I think it should be like this:

Seq_num  0x7e

src_addr   0x6732

src_endpoint 0x0f

cluster_id  0x0006

num_attr  0x01

attr ID      0x0000

data type 0x10 (Boolean)

attr data   0x00




2 replies
TL_Soyo Sep 09, 2022 14:48
0
/A


Yes,

 maybe your msg that sent is incorrect,and a sniffer is important,if you need debug zigbee.

wes58 [Author] Sep 11, 2022 14:13
0
/A

Issue solved.

Thanks for your help.

I use the LillyGo board with TLSR8258 and ESP32. I looked at the code they used for the Gateway, and found that in function sampleGW_zclReportCmd() they changed the order of the bytes in the ZBHCI message. That's why I was getting the mixed data.