Skip to content

Commit

Permalink
Another command for set data to tuya-device (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirovilya committed Jan 12, 2021
1 parent a916c02 commit 30aff31
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/zcl/definition/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3830,6 +3830,18 @@ const Cluster: {
{name: 'data', type: BuffaloZclDataType.LIST_UINT8},
],
},
sendData: {
ID: 4,
parameters: [
{name: 'status', type: DataType.uint8},
{name: 'transid', type: DataType.uint8},
{name: 'dp', type: DataType.uint8},
{name: 'datatype', type: DataType.uint8},
{name: 'length_hi', type: DataType.uint8},
{name: 'length_lo', type: DataType.uint8},
{name: 'data', type: BuffaloZclDataType.LIST_UINT8},
],
},
// Time sync command (It's transparent beetween MCU and server)
// Time request device -> server
// payloadSize = 0
Expand Down

0 comments on commit 30aff31

Please sign in to comment.