Skip to content

Commit

Permalink
Generate the new contents of gen/ folders with the addition of the de…
Browse files Browse the repository at this point in the history
…scriptor cluster
  • Loading branch information
vivien-apple committed Feb 25, 2021
1 parent fd6c67e commit 38386a3
Show file tree
Hide file tree
Showing 106 changed files with 3,553 additions and 13,895 deletions.
328 changes: 209 additions & 119 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ bool emberAfReadAttributesResponseCallback(ClusterId clusterId, uint8_t * messag
case 0x42: // string / Character string
case 0x43: // octstr16 / Long octet string
case 0x44: // string16 / Long character string
case 0x48: // array / Array
case 0x49: // struct / Structure
case 0x50: // set / Set
case 0x51: // bag / Bag
Expand All @@ -289,6 +288,18 @@ bool emberAfReadAttributesResponseCallback(ClusterId clusterId, uint8_t * messag
return true;
}

case 0x48: // array / Array
{
CHECK_MESSAGE_LENGTH(2);
uint16_t count = chip::Encoding::LittleEndian::Read16(message);
ChipLogProgress(Zcl, " count: %lu", count);

switch (clusterId)
{
}
break;
}

case 0x08: // data8 / 8-bit data
case 0x18: // map8 / 8-bit bitmap
case 0x20: // uint8 / Unsigned 8-bit integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#pragma once

#include <gen/af-structs.h>
#include <inttypes.h>

// Global Response Callbacks
Expand All @@ -37,3 +38,5 @@ typedef void (*ReadReportingConfigurationReportedCallback)(void * context, uint1
typedef void (*ReadReportingConfigurationReceivedCallback)(void * context, uint16_t timeout);

// Cluster Specific Response Callbacks

// List specific responses
492 changes: 0 additions & 492 deletions examples/all-clusters-app/all-clusters-common/gen/CHIPClustersObjc.h

Large diffs are not rendered by default.

Loading

0 comments on commit 38386a3

Please sign in to comment.