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 the ember-types.h in the SDK. Not sure what the license status there is.
  • EmberStatus – Also in ember-types.h in the SDK
  • EXTENDED_PAN_ID_SIZE – Also in ember-types.h in the SDK
  • EmberEndpointDescription
  • EmberZigbeePacketType
  • EmberZigbeeNetwork
  • EmberPacketAction
  • EmberZdoStatus
  • EmberBindingTableEntry
  • EmberInitialSecurityState
  • EmberDeviceUpdate
  • EmberJoinDecision
  • EmberKeyStatus
  • EmberAfPluginNetworkSteeringJoiningState
  • SleepModes
  • EmberNetworkStatus – Also in ember-types.h in the SDK
  • EmberNetworkParameters – Also in ember-types.h in the SDK
  • EmberMessageBuffer – Also in ember-types.h in the SDK
  • EmberVersion – Also in ember-types.h in 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.

@bhaskar-apple @selissia

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments