Skip to content

Commit

Permalink
Update clusters for SprutDevice
Browse files Browse the repository at this point in the history
- add the ability to change baud rate
- add a flag for the presence of a modbus connection
- add debug mode enable command
  • Loading branch information
BurchuMikhail authored Jan 15, 2025
1 parent fc77d02 commit ae8d795
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions src/zspec/zcl/definition/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4661,28 +4661,30 @@ export const Clusters: Readonly<Record<ClusterName, Readonly<ClusterDefinition>>
commandsResponse: {},
},
sprutDevice: {
ID: 26112,
manufacturerCode: 26214,
attributes: {
isConnected: {
ID: 26116,
type: enums_1.DataType.BOOLEAN
},
UartBaudRate: {
ID: 26113,
type: enums_1.DataType.UINT32
},
},
commands: {
debug: {
ID: 0x67,
parameters: [{
name: 'data',
type: enums_1.DataType.UINT8
}, ],
},
},
commandsResponse: {},
ID: 26112,
manufacturerCode: 26214,
attributes: {
isConnected: {
ID: 26116,
type: DataType.BOOLEAN,
},
UartBaudRate: {
ID: 26113,
type: DataType.UINT32,
},
},
commands: {
debug: {
ID: 0x67,
parameters: [
{
name: 'data',
type: DataType.UINT8,
},
],
},
},
commandsResponse: {},
},
sprutVoc: {
ID: 26113,
Expand Down

0 comments on commit ae8d795

Please sign in to comment.