fairecasoimeme / ZiGate

Zigate is an Universal Zigbee Gateway
http://zigate.fr
170 stars 59 forks source link

Doc update: missing 0122 read configure reporting & 8122 reponse #373

Closed tcharp38 closed 2 years ago

tcharp38 commented 3 years ago

Cmd 0122 is supported (at least on 3.1e) but is not documented. Same case for 8122 response.

tcharp38 commented 3 years ago

0120 command format:

// <address mode: uint8_t>
// <target short address: uint16_t>
// <source endpoint: uint8_t>
// <destination endpoint: uint8_t>
// <Cluster id: uint16_t>
// <direction: uint8_t>
// <number of attributes: uint8_t>
// <manufacturer specific: uint8_t>
// <manufacturer id: uint16_t>
// Attribute direction : uint8_t
// Attribute id : uint16_t

8122 response format:

        // <Sequence number: uint8_t>
        // <Src address : uint16_t>
        // <Endpoint: uint8_t>
        // <Cluster id: uint16_t>
        // <Status: uint8_t>
        // Attribute type : uint8_t
        // Attribute id : uint16_t
        // Max interval : uint16_t
        // Min interval : uint16_t

WARNING: Compared to NXP spec, min & max seem inverted

fairecasoimeme commented 2 years ago

Updated