Bonjour,
Le "report attribute" sur les entrées d'un module IOMZB-110 fonctionne correctement sur une piZigate V1 en version 3.1D mais pas sur une piZigate V2 en version 3.21.
En V2 aucune trame n'est remontée par la piZigate sur le port serie alors qu'elles remontent correctement sur la V1 (mode raw).
Je ne sais si c'est un bug sur le firmware, apparemment la trame n'a pas de particularité. Si quelqu'un à une idée du problème je suis preneur.
Voici une trace Wireshark de la trame reçue par la zigate :
Frame 54: 56 bytes on wire (448 bits), 56 bytes captured (448 bits) on interface /tmp/wiresharkRx_ttyUSB0, id 0
Interface id: 0 (/tmp/wiresharkRx_ttyUSB0)
Encapsulation type: IEEE 802.15.4 Wireless PAN (104)
Arrival Time: Jan 1, 1970 01:17:38.601568000 CET
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1058.601568000 seconds
[Time delta from previous captured frame: 0.008416000 seconds]
[Time delta from previous displayed frame: 0.008416000 seconds]
[Time since reference or first frame: 26.271712000 seconds]
Frame Number: 54
Frame Length: 56 bytes (448 bits)
Capture Length: 56 bytes (448 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: wpan:zbee_nwk:zbee_aps:zbee_zcl]
IEEE 802.15.4 Data, Dst: 0x0000, Src: 0xe0fe
Frame Control Field: 0x8861, Frame Type: Data, Acknowledge Request, PAN ID Compression, Destination Addressing Mode: Short/16-bit, Frame Version: IEEE Std 802.15.4-2003, Source Addressing Mode: Short/16-bit
Sequence Number: 45
Destination PAN: 0xb35d
Destination: 0x0000
Source: 0xe0fe
[Extended Source: Develco_00:42:00:05:38 (00:15:bc:00:42:00:05:38)]
[Origin: 1]
FCS: 0x3c24 (Correct)
ZigBee Network Layer Data, Dst: 0x0000, Src: 0xe0fe
Frame Control Field: 0x0248, Frame Type: Data, Discover Route: Enable, Security Data
Destination: 0x0000
Source: 0xe0fe
Radius: 30
Sequence Number: 89
Extended Source: Develco_00:42:00:05:38 (00:15:bc:00:42:00:05:38)]
[Origin: 1]
ZigBee Security Header
ZigBee Application Support Layer Data, Dst Endpt: 1, Src Endpt: 112
Frame Control Field: Data (0x00)
Destination Endpoint: 1
Cluster: Binary Input (Basic) (0x000f)
Profile: Home Automation (0x0104)
Source Endpoint: 112
Counter: 185
ZigBee Cluster Library Frame, Command: Report Attributes, Seq: 57
Frame Control Field: Profile-wide (0x18)
Sequence Number: 57
Command: Report Attributes (0x0a)
Attribute Field, Boolean: 0x01
Attribute: Present Value (0x0055)
Data Type: Boolean (0x10)
0000 0001 = Boolean: True
Attribute Field
Attribute: Status Flags (0x006f)
Data Type: 8-Bit Bitmap (0x18)
Status Flags: 0x00, In Alarm Status: False, Fault Status: False, Overridden Status: False, Out of Service Status: False
FRAME :
0000 61 88 37 5d b3 00 00 fe e0 48 02 00 00 fe e0 1e
0010 65 28 ef 20 01 00 38 05 00 42 00 bc 15 00 00 58
0020 ee 71 c9 eb c3 3c f0 d1 f3 99 db 60 28 f3 c5 f2
0030 ca 8f 8d 06
PAYLOAD :
0000 00 01 06 00 04 01 74 bb 18 3b 0a 00 00 10 01
Merci d'avance.
Bonjour,
Le "report attribute" sur les entrées d'un module IOMZB-110 fonctionne correctement sur une piZigate V1 en version 3.1D mais pas sur une piZigate V2 en version 3.21.
En V2 aucune trame n'est remontée par la piZigate sur le port serie alors qu'elles remontent correctement sur la V1 (mode raw).
Je ne sais si c'est un bug sur le firmware, apparemment la trame n'a pas de particularité. Si quelqu'un à une idée du problème je suis preneur.
Voici une trace Wireshark de la trame reçue par la zigate :
Frame 54: 56 bytes on wire (448 bits), 56 bytes captured (448 bits) on interface /tmp/wiresharkRx_ttyUSB0, id 0
Interface id: 0 (/tmp/wiresharkRx_ttyUSB0)
Encapsulation type: IEEE 802.15.4 Wireless PAN (104)
Arrival Time: Jan 1, 1970 01:17:38.601568000 CET
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1058.601568000 seconds
[Time delta from previous captured frame: 0.008416000 seconds]
[Time delta from previous displayed frame: 0.008416000 seconds]
[Time since reference or first frame: 26.271712000 seconds]
Frame Number: 54
Frame Length: 56 bytes (448 bits)
Capture Length: 56 bytes (448 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: wpan:zbee_nwk:zbee_aps:zbee_zcl]
IEEE 802.15.4 Data, Dst: 0x0000, Src: 0xe0fe
Frame Control Field: 0x8861, Frame Type: Data, Acknowledge Request, PAN ID Compression, Destination Addressing Mode: Short/16-bit, Frame Version: IEEE Std 802.15.4-2003, Source Addressing Mode: Short/16-bit
Sequence Number: 45
Destination PAN: 0xb35d
Destination: 0x0000
Source: 0xe0fe
[Extended Source: Develco_00:42:00:05:38 (00:15:bc:00:42:00:05:38)]
[Origin: 1]
FCS: 0x3c24 (Correct)
ZigBee Network Layer Data, Dst: 0x0000, Src: 0xe0fe
Frame Control Field: 0x0248, Frame Type: Data, Discover Route: Enable, Security Data
Destination: 0x0000
Source: 0xe0fe
Radius: 30
Sequence Number: 89
Extended Source: Develco_00:42:00:05:38 (00:15:bc:00:42:00:05:38)]
[Origin: 1]
ZigBee Security Header
ZigBee Application Support Layer Data, Dst Endpt: 1, Src Endpt: 112
Frame Control Field: Data (0x00)
Destination Endpoint: 1
Cluster: Binary Input (Basic) (0x000f)
Profile: Home Automation (0x0104)
Source Endpoint: 112
Counter: 185
ZigBee Cluster Library Frame, Command: Report Attributes, Seq: 57
Frame Control Field: Profile-wide (0x18)
Sequence Number: 57
Command: Report Attributes (0x0a)
Attribute Field, Boolean: 0x01
Attribute: Present Value (0x0055)
Data Type: Boolean (0x10)
0000 0001 = Boolean: True
Attribute Field
Attribute: Status Flags (0x006f)
Data Type: 8-Bit Bitmap (0x18)
Status Flags: 0x00, In Alarm Status: False, Fault Status: False, Overridden Status: False, Out of Service Status: False
FRAME :
0000 61 88 37 5d b3 00 00 fe e0 48 02 00 00 fe e0 1e
0010 65 28 ef 20 01 00 38 05 00 42 00 bc 15 00 00 58
0020 ee 71 c9 eb c3 3c f0 d1 f3 99 db 60 28 f3 c5 f2
0030 ca 8f 8d 06
PAYLOAD :
0000 00 01 06 00 04 01 74 bb 18 3b 0a 00 00 10 01
Merci d'avance.