connectedhomeip: Missing various defines/declarations in SiLabs code contribution
Problem
I am trying to compile against some of the headers from https://github.com/project-chip/connectedhomeip/pull/1164 and running into a few missing definitions:
-
EmberIncomingMessageType -
EmberOutgoingMessageType -
EUI64_SIZE -
EMBER_ENCRYPTION_KEY_SIZE -
SIGNED_ENUM -
EmberEventControl– I guess this is in theember-types.hin the SDK. Not sure what the license status there is. -
EmberStatus– Also inember-types.hin the SDK -
EXTENDED_PAN_ID_SIZE– Also inember-types.hin the SDK -
EmberEndpointDescription -
EmberZigbeePacketType -
EmberZigbeeNetwork -
EmberPacketAction -
EmberZdoStatus -
EmberBindingTableEntry -
EmberInitialSecurityState -
EmberDeviceUpdate -
EmberJoinDecision -
EmberKeyStatus -
EmberAfPluginNetworkSteeringJoiningState -
SleepModes -
EmberNetworkStatus– Also inember-types.hin the SDK -
EmberNetworkParameters– Also inember-types.hin the SDK -
EmberMessageBuffer– Also inember-types.hin the SDK -
EmberVersion– Also inember-types.hin the SDK -
EmberChildData -
EMBER_WILDCARD_PROFILE_ID -
EMBER_MAXIMUM_STANDARD_PROFILE_ID -
EMBER_OUTGOING_DIRECT -
EMBER_UNKNOWN_NODE_ID -
EMBER_OUTGOING_VIA_ADDRESS_TABLE -
EMBER_OUTGOING_VIA_BINDING -
EMBER_OUTGOING_MULTICAST -
EMBER_OUTGOING_BROADCAST -
EMBER_SUCCESS– It’s in the SDK -
EMBER_BROADCAST_ADDRESS– It’s in the SDK -
UNUSED_VAR– It’s in the SDK -
EMBER_INVALID_ENDPOINT– It’s in the SDK -
EMBER_MAX_802_15_4_CHANNEL_NUMBER– It’s in the SDK -
EMBER_MIN_802_15_4_CHANNEL_NUMBER– It’s in the SDK -
EMBER_PHY_INVALID_CHANNEL– It’s in the SDK -
EMBER_MAX_SUBGHZ_CHANNEL_NUMBER_ON_PAGES_28_30_31 -
EMBER_MAX_SUBGHZ_CHANNEL_NUMBER_ON_PAGE_29 -
EMBER_NO_NETWORK -
EMBER_LIBRARY_NOT_PRESENT– It’s in the SDK -
EMBER_ACCEPT_PACKET -
EMBER_ZDP_NOT_SUPPORTED -
EMBER_BROADCASTE_ENDPOINT -
MEM*macros – these are in the SDK, but now that I’ve looked at that, it’s not 100% clear to me what the licensing is for us just using the C stdlib versions… -
BIT– It’s in the SDK -
LOW_BYTE– It’s in the SDK -
HIGH_BYTE– It’s in the SDK -
BYTE_0– It’s in the SDK -
BYTE_1– It’s in the SDK -
BYTE_2– It’s in the SDK -
BYTE_3– It’s in the SDK -
MAIN_FUNCTION_PARAMETERS -
EmberBindingType -
EmberJoinMethod -
EmberVersionType -
EmberEventUnits -
EmberTaskId
Proposed Solution
Figure out which of these should be defined in the ZCL code (e.g. in types_stub.h), which should be defined in CHIP somehow, and which we just don’t need (e.g. because we can remove the parts of the SiLabs code/headers that use them). then take appropriate action.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- Adding initial zcl files. All except type_stubs.h come from https://github.com/project-chip/connectedhomeip/pull/1164 types_stub.h comes from https://github.com/project-chip/connectedhomeip/issues/1... — committed to bzbarsky-apple/connectedhomeip by bzbarsky-apple 4 years ago
- Add initial Silicon Labs zcl data model files. All except type_stubs.h come from https://github.com/project-chip/connectedhomeip/pull/1164 types_stub.h comes from https://github.com/project-chip/con... — committed to bzbarsky-apple/connectedhomeip by bzbarsky-apple 4 years ago
- Add initial Silicon Labs ZCL data model files. All except type_stubs.h come from https://github.com/project-chip/connectedhomeip/pull/1164 types_stub.h comes from https://github.com/project-chip/con... — committed to bzbarsky-apple/connectedhomeip by bzbarsky-apple 4 years ago
- Add initial Silicon Labs ZCL data model files. All except type_stubs.h come from https://github.com/project-chip/connectedhomeip/pull/1164 types_stub.h comes from https://github.com/project-chip/con... — committed to bzbarsky-apple/connectedhomeip by bzbarsky-apple 4 years ago
- Add initial Silicon Labs ZCL data model files. All except type_stubs.h come from https://github.com/project-chip/connectedhomeip/pull/1164 types_stub.h comes from https://github.com/project-chip/con... — committed to bzbarsky-apple/connectedhomeip by bzbarsky-apple 4 years ago
- Add initial Silicon Labs ZCL data model files. All except type_stubs.h come from https://github.com/project-chip/connectedhomeip/pull/1164 types_stub.h comes from https://github.com/project-chip/con... — committed to bzbarsky-apple/connectedhomeip by bzbarsky-apple 4 years ago
- Add new on/off cluster implementation based on the Silicon Labs ZigbeePro code (#1609) * Add initial Silicon Labs ZCL data model files. All except type_stubs.h come from https://github.com/projec... — committed to project-chip/connectedhomeip by bzbarsky-apple 4 years ago
@rwalker-apple It’s in https://github.com/project-chip/connectedhomeip/pull/1164 (added after you grabbed your copy of it). See https://github.com/project-chip/connectedhomeip/pull/1164/commits/113fac2de64556ad1a4731428d88c88f747b1e84