Skip to content

Commit

Permalink
fix: Fix missing response for readReportConfig command (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
canardos authored Nov 13, 2024
1 parent c8ad904 commit 6b29aff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zspec/zcl/definition/foundation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,14 @@ export const Foundation: Readonly<Record<FoundationCommandName, Readonly<Foundat
{name: 'direction', type: DataType.UINT8},
{name: 'attrId', type: DataType.UINT16},
],
response: 0x09, // readReportConfigRsp
},
/** Read Reporting Configuration Response */
readReportConfigRsp: {
ID: 0x09,
parseStrategy: 'repetitive',
parameters: [
{name: 'status', type: DataType.UINT8},
{name: 'direction', type: DataType.UINT8},
{name: 'attrId', type: DataType.UINT16},
{name: 'dataType', type: DataType.UINT8, conditions: [{type: ParameterCondition.DIRECTION_EQUAL, value: Direction.CLIENT_TO_SERVER}]},
Expand Down

0 comments on commit 6b29aff

Please sign in to comment.