Skip to content

Commit

Permalink
Make IAS Zone server compile (#3364)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Nov 6, 2020
1 parent 864734e commit 6002721
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 801 deletions.
2 changes: 1 addition & 1 deletion examples/wifi-echo/server/esp32/main/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ COMPONENT_SRCDIRS :=
../third_party/connectedhomeip/src/app/clusters/basic \
../third_party/connectedhomeip/src/app/reporting \
../third_party/connectedhomeip/src/app/clusters/door-lock-server \
../third_party/connectedhomeip/src/app/clusters/ias-zone-server \
# ../third_party/connectedhomeip/src/app/clusters/ias-zone-client \
# ../third_party/connectedhomeip/src/app/clusters/ias-zone-server \

COMPONENT_EXTRA_INCLUDES := $(PROJECT_PATH)/third_party/connectedhomeip/src/app/util \
Expand Down
24 changes: 0 additions & 24 deletions examples/wifi-echo/server/esp32/main/gen/clusters-callback-stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,6 @@ bool emberAfIasZoneClusterZoneEnrollRequestCallback(uint16_t zoneType, uint16_t
return false;
}

/** @brief IAS Zone Cluster Zone Enroll Response
*
*
*
* @param enrollResponseCode Ver.: always
* @param zoneId Ver.: always
*/
bool emberAfIasZoneClusterZoneEnrollResponseCallback(uint8_t enrollResponseCode, uint8_t zoneId)
{
return false;
}

/** @brief IAS Zone Cluster Zone Status Change Notification
*
*
Expand All @@ -86,18 +74,6 @@ bool emberAfIasZoneClusterZoneStatusChangeNotificationCallback(uint16_t zoneStat
// endpoint_config.h callbacks, grep'd from SDK, comment these out as clusters come in

void emberAfIasZoneClusterClientInitCallback(uint8_t endpoint) {}
void emberAfIasZoneClusterServerInitCallback(uint8_t endpoint) {}
void emberAfIasZoneClusterServerMessageSentCallback(EmberOutgoingMessageType type, uint16_t indexOrDestination,
EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message,
EmberStatus status)
{}

EmberAfStatus emberAfIasZoneClusterServerPreAttributeChangedCallback(uint8_t endpoint, EmberAfAttributeId attributeId,
EmberAfAttributeType attributeType, uint8_t size,
uint8_t * value)
{
return EMBER_ZCL_STATUS_SUCCESS;
}

void emberAfPollControlClusterServerAttributeChangedCallback(uint8_t endpoint, EmberAfAttributeId attributeId) {}
void emberAfPollControlClusterServerInitCallback(uint8_t endpoint) {}
Expand Down
246 changes: 0 additions & 246 deletions src/app/clusters/ias-zone-server/ias-zone-server-cli.c

This file was deleted.

Loading

0 comments on commit 6002721

Please sign in to comment.