Application Framework Types#

This documentation describes the types used by the Zigbee Application Framework.

Modules#

emberClusterFunctionStructure

EmberAfDefaultAttributeValue

EmberAfAttributeMinMaxValue

EmberAfDefaultOrMinMaxAttributeValue

EmberAfAttributeMetadata

EmberAfCluster

EmberAfAttributeSearchRecord

EmberAfManufacturerCodeEntry

EmberAfIncomingMessage

EmberAfInterpanHeader

EmberAfAllowedInterPanMessage

EmberAfClusterCommand

EmberAfEndpointType

EmberAfSecurityProfileData

EmberAfDefinedEndpoint

EmberAfLoadControlEvent

EmberAfServiceDiscoveryResult

EmberAfEndpointList

EmberAfClusterList

EmberAfEventContext

sl_zigbee_event_context_t

EmberAfGroupTableEntry

EmberAfSceneTableEntry

EmberAfPluginMessagingClientMessage

EmberAfPluginPriceClientPrice

EmberAfPluginReportingEntry

EmberAfPluginZllCommissioningGroupInformationRecord

EmberAfPluginZllCommissioningEndpointInformationRecord

EmberAfOtaImageId

EmberAfImageBlockRequestCallbackStruct

EmberAfOtaHeader

EmberAfTagData

EmberAfMessageStruct

EmberAfLinkKeyBackupData

EmberAfTrustCenterBackupData

EmberAfStandaloneBootloaderQueryResponseData

EmberAfCommandMetadata

EmberAfTimeStruct

EmberAfDate

EmberAfDeviceManagementTenancy

EmberAfDeviceManagementSupplier

EmberAfDeviceManagementSupply

EmberAfDeviceManagementSiteId

EmberAfDeviceManagementCIN

EmberAfDeviceManagementSupplyStatusFlags

EmberAfDeviceManagementUncontrolledFlowThreshold

EmberAfDeviceManagementSupplyStatus

EmberAfDeviceManagementPassword

EmberAfDeviceManagementInfo

EmberAfDeviceManagementAttributeRange

EmberAfDeviceManagementAttributeTable

EmberAfGbzMessageData

EmberAfGpfMessage

EmberAfRemoteClusterStruct

EmberAfRemoteBindingStruct

EmberAfClusterInfo

EmberAfEndpointInfoStruct

EmberAfDeviceInfo

EmberAfDeviceDatabaseIterator

EmberAfJoiningDevice

Enumerations#

enum
EMBER_AF_SECURITY_PROFILE_NONE = 0x00
EMBER_AF_SECURITY_PROFILE_HA = 0x01
EMBER_AF_SECURITY_PROFILE_HA12 = 0x02
EMBER_AF_SECURITY_PROFILE_SE_TEST = 0x03
EMBER_AF_SECURITY_PROFILE_SE_FULL = 0x04
EMBER_AF_SECURITY_PROFILE_Z3 = 0x05
EMBER_AF_SECURITY_PROFILE_CUSTOM = 0xFF
}
enum
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE = 0x00
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_RESPONSE_RECEIVED = 0x01
EMBER_AF_UNICAST_SERVICE_DISCOVERY_TIMEOUT = 0x02
EMBER_AF_UNICAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE = 0x03
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE = 0x04
EMBER_AF_UNICAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE = 0x05
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE = 0x06
}

Indicate the result of the service discovery. Unicast discoveries are completed as soon as a response is received. Broadcast discoveries wait a period of time for multiple responses to be received.

enum
EMBER_AF_LONG_POLL
EMBER_AF_SHORT_POLL
}

Control how the device will poll for a given active cluster-related event. When the event is scheduled, the application can pass a poll control value which will be stored along with the event. The processor is only allowed to poll according to the most restrictive value for all active event. For example, if two events are active, one with EMBER_AF_LONG_POLL and the other with EMBER_AF_SHORT_POLL, the processor will short poll until the second event is deactivated.

enum
EMBER_AF_OK_TO_SLEEP
EMBER_AF_OK_TO_HIBERNATE = EMBER_AF_OK_TO_SLEEP
EMBER_AF_OK_TO_NAP
EMBER_AF_STAY_AWAKE
}

Control how the device will sleep for a given active cluster related event. When the event is scheduled, the scheduling code can pass a sleep control value which will be stored along with the event. The processor is only allowed to sleep according to the most restrictive sleep control value for any active event. For example, if two events are active, one with EMBER_AF_OK_TO_HIBERNATE and the other with EMBER_AF_OK_TO_NAP, the processor will only be allowed to sleep until the second event is deactivated.

enum
EMBER_AF_WAITING_FOR_DATA_ACK = 0x00000001
EMBER_AF_LAST_POLL_GOT_DATA = 0x00000002
EMBER_AF_WAITING_FOR_SERVICE_DISCOVERY = 0x00000004
EMBER_AF_WAITING_FOR_ZDO_RESPONSE = 0x00000008
EMBER_AF_WAITING_FOR_ZCL_RESPONSE = 0x00000010
EMBER_AF_WAITING_FOR_REGISTRATION = 0x00000020
EMBER_AF_WAITING_FOR_PARTNER_LINK_KEY_EXCHANGE = 0x00000040
EMBER_AF_FORCE_SHORT_POLL = 0x00000080
EMBER_AF_FRAGMENTATION_IN_PROGRESS = 0x00000100
EMBER_AF_FORCE_SHORT_POLL_FOR_PARENT_CONNECTIVITY = 0x00000200
EMBER_AF_WAITING_FOR_TC_KEY_UPDATE = 0x00000400
}

Track tasks that the Application framework cares about. These are intended to be tasks that should keep the device out of hibernation like an application level request / response. If the response does not come in as a data ACK, the application needs to stay out of hibernation to wait and poll for it.

enum
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_PENDING = 0
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_ACCEPTED = 1
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_REJECTED = 2
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_FORCED = 3
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_RESERVED = 4
}

Specifies CPP Authorization values.

enum
EMBER_AF_PLUGIN_TUNNELING_CLIENT_SUCCESS = 0x00
EMBER_AF_PLUGIN_TUNNELING_CLIENT_BUSY = 0x01
EMBER_AF_PLUGIN_TUNNELING_CLIENT_NO_MORE_TUNNEL_IDS = 0x02
EMBER_AF_PLUGIN_TUNNELING_CLIENT_PROTOCOL_NOT_SUPPORTED = 0x03
EMBER_AF_PLUGIN_TUNNELING_CLIENT_FLOW_CONTROL_NOT_SUPPORTED = 0x04
EMBER_AF_PLUGIN_TUNNELING_CLIENT_IEEE_ADDRESS_REQUEST_FAILED = 0xF9
EMBER_AF_PLUGIN_TUNNELING_CLIENT_IEEE_ADDRESS_NOT_FOUND = 0xFA
EMBER_AF_PLUGIN_TUNNELING_CLIENT_ADDRESS_TABLE_FULL = 0xFB
EMBER_AF_PLUGIN_TUNNELING_CLIENT_LINK_KEY_EXCHANGE_REQUEST_FAILED = 0xFC
EMBER_AF_PLUGIN_TUNNELING_CLIENT_LINK_KEY_EXCHANGE_FAILED = 0xFD
EMBER_AF_PLUGIN_TUNNELING_CLIENT_REQUEST_TUNNEL_FAILED = 0xFE
EMBER_AF_PLUGIN_TUNNELING_CLIENT_REQUEST_TUNNEL_TIMEOUT = 0xFF
}
enum
EMBER_AF_ZLL_ABORTED_BY_APPLICATION = 0x00
EMBER_AF_ZLL_CHANNEL_CHANGE_FAILED = 0x01
EMBER_AF_ZLL_JOINING_FAILED = 0x02
EMBER_AF_ZLL_NO_NETWORKS_FOUND = 0x03
EMBER_AF_ZLL_PREEMPTED_BY_STACK = 0x04
EMBER_AF_ZLL_SENDING_START_JOIN_FAILED = 0x05
EMBER_AF_ZLL_SENDING_DEVICE_INFORMATION_REQUEST_FAILED = 0x06
EMBER_AF_ZLL_SENDING_IDENTIFY_REQUEST_FAILED = 0x07
EMBER_AF_ZLL_SENDING_RESET_TO_FACTORY_NEW_REQUEST_FAILED = 0x08
EMBER_AF_ZLL_NETWORK_FORMATION_FAILED = 0x09
EMBER_AF_ZLL_NETWORK_UPDATE_OPERATION = 0x0A
}

Status codes used by the ZLL Commissioning plugin.

enum
EMBER_AF_IMAGE_BLOCK_REQUEST_OPTIONS_NONE = 0x00
EMBER_AF_IMAGE_BLOCK_REQUEST_MIN_BLOCK_REQUEST_SUPPORTED_BY_CLIENT = 0x01
EMBER_AF_IMAGE_BLOCK_REQUEST_MIN_BLOCK_REQUEST_SUPPORTED_BY_SERVER = 0x02
EMBER_AF_IMAGE_BLOCK_REQUEST_SIMULATED_FROM_PAGE_REQUEST = 0x04
}

The list of options possible for the image block request/response.

enum
EMBER_AF_OTA_STORAGE_SUCCESS = 0
EMBER_AF_OTA_STORAGE_ERROR = 1
EMBER_AF_OTA_STORAGE_RETURN_DATA_TOO_LONG = 2
EMBER_AF_OTA_STORAGE_PARTIAL_FILE_FOUND = 3
EMBER_AF_OTA_STORAGE_OPERATION_IN_PROGRESS = 4
}

Contain the success or error code of an OTA storage device operation.

enum
EMBER_AF_OTA_DOWNLOAD_AND_VERIFY_SUCCESS = 0
EMBER_AF_OTA_DOWNLOAD_TIME_OUT = 1
EMBER_AF_OTA_VERIFY_FAILED = 2
EMBER_AF_OTA_SERVER_ABORTED = 3
EMBER_AF_OTA_CLIENT_ABORTED = 4
EMBER_AF_OTA_ERASE_FAILED = 5
}

Contain the success or error code of an OTA download operation.

enum
NO_APP_MESSAGE = 0
RECEIVED_PARTNER_CERTIFICATE = 1
GENERATING_EPHEMERAL_KEYS = 2
GENERATING_SHARED_SECRET = 3
KEY_GENERATION_DONE = 4
GENERATE_SHARED_SECRET_DONE = 5
LINK_KEY_ESTABLISHED = 6
NO_LOCAL_RESOURCES = 7
PARTNER_NO_RESOURCES = 8
TIMEOUT_OCCURRED = 9
INVALID_APP_COMMAND = 10
MESSAGE_SEND_FAILURE = 11
PARTNER_SENT_TERMINATE = 12
INVALID_PARTNER_MESSAGE = 13
PARTNER_SENT_DEFAULT_RESPONSE_ERROR = 14
BAD_CERTIFICATE_ISSUER = 15
KEY_CONFIRM_FAILURE = 16
BAD_KEY_ESTABLISHMENT_SUITE = 17
KEY_TABLE_FULL = 18
NO_ESTABLISHMENT_ALLOWED = 19
INVALID_CERTIFICATE_KEY_USAGE = 20
}
enum
EMBER_AF_IMAGE_GOOD = 0
EMBER_AF_IMAGE_BAD = 1
EMBER_AF_IMAGE_VERIFY_IN_PROGRESS = 2
}

Indicate the state of an OTA bootload image undergoing verification. This is used both for cryptographic verification and manufacturer-specific verification.

enum
EMBER_AF_INVALID_KEY_ESTABLISHMENT_SUITE = 0x0000
EMBER_AF_CBKE_KEY_ESTABLISHMENT_SUITE_163K1 = 0x0001
EMBER_AF_CBKE_KEY_ESTABLISHMENT_SUITE_283K1 = 0x0002
}

CBKE Library types.

enum
UNUSED_PASSWORD = 0x00
SERVICE_PASSWORD = 0x01
CONSUMER_PASSWORD = 0x02
}
enum
EMBER_AF_DEVICE_MANAGEMENT_CHANGE_OF_TENANCY_PENDING_MASK = 0x01
EMBER_AF_DEVICE_MANAGEMENT_CHANGE_OF_SUPPLIER_PENDING_MASK = 0x02
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_SITE_ID_PENDING_MASK = 0x04
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_CIN_PENDING_MASK = 0x08
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_SERVICE_PASSWORD_PENDING_MASK = 0x10
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_CONSUMER_PASSWORD_PENDING_MASK = 0x20
}
enum
EMBER_AF_DEVICE_DISCOVERY_STATUS_NONE = 0x00
EMBER_AF_DEVICE_DISCOVERY_STATUS_NEW = 0x01
EMBER_AF_DEVICE_DISCOVERY_STATUS_FIND_ENDPOINTS = 0x02
EMBER_AF_DEVICE_DISCOVERY_STATUS_FIND_CLUSTERS = 0x04
EMBER_AF_DEVICE_DISCOVERY_STATUS_FIND_STACK_REVISION = 0x08
EMBER_AF_DEVICE_DISCOVERY_STATUS_DONE = 0x40
EMBER_AF_DEVICE_DISCOVERY_STATUS_FAILED = 0x80
}

Typedefs#

typedef uint16_t

Refer to the Zigbee application profile ID.

typedef uint16_t

Refer to the ZCL attribute ID.

typedef uint16_t

Refer to the ZCL cluster ID.

typedef uint8_t

Refer to the ZCL attribute type.

typedef uint8_t

User for the cluster mask.

typedef uint8_t

User for the attribute mask.

typedef void(*

Use for either of the cluster functions.

typedef uint64_t
typedef uint8_t

Interpan Message type: unicast, broadcast, or multicast.

typedef uint16_t

The options for sending/receiving interpan messages.

typedef uint8_t

The options for what interpan messages are allowed.

typedef EmberTcLinkKeyRequestPolicy
typedef EmberAppLinkKeyRequestPolicy
typedef uint8_t

Bitmask data type for storing one bit of information for each ESI in the ESI table.

typedef void()
EmberAfServiceDiscoveryCallback(const EmberAfServiceDiscoveryResult *result)

Define a callback where a code element or cluster can be informed as to the result of a service discovery they have requested. For each match, the callback is fired with all the resulting matches from that source. If the discovery was unicast to a specific device, the callback is only fired once with either MATCH_FOUND or COMPLETE (no matches found). If the discovery is broadcast, multiple callbacks may be fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_RESPONSE_RECEIVED. After a few seconds, the callback is fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE or EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE as the result.

typedef void()

Define a callback where a code element or cluster can be informed as to the result of a request to initiate a partner link key exchange. The callback will be triggered with success equal to true if the exchange completed successfully.

typedef void(*

Refer to the handler for network events.

typedef void(*
EmberAfEndpointEventHandler)(uint8_t endpoint)

Refer to the handler for endpoint events.

typedef void(*
EmberAfTickFunction)(uint8_t endpoint)

Refer to the tick callback for cluster.

typedef void(*
EmberAfInitFunction)(uint8_t endpoint)

Refer to the init callback for cluster.

typedef void(*
EmberAfClusterAttributeChangedCallback)(uint8_t endpoint, EmberAfAttributeId attributeId)

Refer to the attribute changed callback function.

typedef void(*
EmberAfManufacturerSpecificClusterAttributeChangedCallback)(uint8_t endpoint, EmberAfAttributeId attributeId, uint16_t manufacturerCode)

Refer to the manufacturer-specific attribute changed callback function.

typedef EmberAfStatus(*
EmberAfClusterPreAttributeChangedCallback)(uint8_t endpoint, EmberAfAttributeId attributeId, EmberAfAttributeType attributeType, uint8_t size, uint8_t *value)

Refer to the pre-attribute changed callback function.

typedef void(*
EmberAfDefaultResponseFunction)(uint8_t endpoint, uint8_t commandId, EmberAfStatus status)

Refer to the default response callback function.

typedef void(*
EmberAfMessageSentFunction)(EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame *apsFrame, uint16_t msgLen, uint8_t *message, EmberStatus status)

Refer to the message sent callback function.

typedef uint16_t

Zigbee Internet Client/Server Remote Cluster Types.

Macros#

#define

A distinguished manufacturer code that is used to indicate the absence of a manufacturer-specific profile, cluster, command, or attribute.

#define

An invalid profile ID This is a reserved profileId.

#define
INTER_PAN_UNICAST EMBER_AF_INTER_PAN_UNICAST
#define
INTER_PAN_BROADCAST EMBER_AF_INTER_PAN_BROADCAST
#define
INTER_PAN_MULTICAST EMBER_AF_INTER_PAN_MULTICAST
#define
InterPanHeader EmberAfInterpanHeader
#define
EMBER_AF_ALLOW_TC_KEY_REQUESTS EMBER_ALLOW_TC_LINK_KEY_REQUEST_AND_SEND_CURRENT_KEY
#define
EMBER_AF_DENY_TC_KEY_REQUESTS EMBER_DENY_TC_LINK_KEY_REQUESTS
#define
EMBER_AF_ALLOW_APP_KEY_REQUESTS EMBER_ALLOW_APP_LINK_KEY_REQUEST
#define
EMBER_AF_DENY_APP_KEY_REQUESTS EMBER_DENY_APP_LINK_KEY_REQUESTS
#define

A simple way to determine if the service discovery callback has a response.

#define

Indicate the absence of a Group table entry.

#define

Value used when setting or getting the endpoint in a Group table entry. It indicates that the entry is not in use.

#define

Maximum length of Group names, not including the length byte.

#define

Indicates the absence of a Scene table entry.

#define

Value used when setting or getting the endpoint in a Scene table entry. It indicates that the entry is not in use.

#define

Maximum length of Scene names, not including the length byte.

#define

The group identifier for the global scene.

#define

The scene identifier for the global scene.

#define

Use when setting or getting the endpoint in a report table entry. It indicates that the entry is not in use.

#define

The maximum size of the string that is present in the header of the Zigbee Over-the-air file format.

#define
#define
APP_NOTIFY_ERROR_CODE_START NO_LOCAL_RESOURCES
#define
#define

The length of the hardware tag in the Ember Bootloader Query Response.

#define
#define

Permit join times.

#define

The overhead of the ZDO response. 1 byte for the sequence and 1 byte for the status code.

Enumeration Documentation#

EmberAfSecurityProfile#

EmberAfSecurityProfile
Enumerator
EMBER_AF_SECURITY_PROFILE_NONE
EMBER_AF_SECURITY_PROFILE_HA
EMBER_AF_SECURITY_PROFILE_HA12
EMBER_AF_SECURITY_PROFILE_SE_TEST
EMBER_AF_SECURITY_PROFILE_SE_FULL
EMBER_AF_SECURITY_PROFILE_Z3
EMBER_AF_SECURITY_PROFILE_CUSTOM

Definition at line 482 of file app/framework/include/af-types.h

EmberAfServiceDiscoveryStatus#

EmberAfServiceDiscoveryStatus

Indicate the result of the service discovery. Unicast discoveries are completed as soon as a response is received. Broadcast discoveries wait a period of time for multiple responses to be received.

Enumerator
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_RESPONSE_RECEIVED
EMBER_AF_UNICAST_SERVICE_DISCOVERY_TIMEOUT
EMBER_AF_UNICAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE
EMBER_AF_UNICAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE
EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE

Definition at line 624 of file app/framework/include/af-types.h

EmberAfEventPollControl#

EmberAfEventPollControl

Control how the device will poll for a given active cluster-related event. When the event is scheduled, the application can pass a poll control value which will be stored along with the event. The processor is only allowed to poll according to the most restrictive value for all active event. For example, if two events are active, one with EMBER_AF_LONG_POLL and the other with EMBER_AF_SHORT_POLL, the processor will short poll until the second event is deactivated.

Enumerator
EMBER_AF_LONG_POLL
EMBER_AF_SHORT_POLL

Definition at line 734 of file app/framework/include/af-types.h

EmberAfEventSleepControl#

EmberAfEventSleepControl

Control how the device will sleep for a given active cluster related event. When the event is scheduled, the scheduling code can pass a sleep control value which will be stored along with the event. The processor is only allowed to sleep according to the most restrictive sleep control value for any active event. For example, if two events are active, one with EMBER_AF_OK_TO_HIBERNATE and the other with EMBER_AF_OK_TO_NAP, the processor will only be allowed to sleep until the second event is deactivated.

Enumerator
EMBER_AF_OK_TO_SLEEP
EMBER_AF_OK_TO_HIBERNATE

Deprecated

EMBER_AF_OK_TO_NAP

Deprecated

EMBER_AF_STAY_AWAKE

Definition at line 752 of file app/framework/include/af-types.h

EmberAfApplicationTask#

EmberAfApplicationTask

Track tasks that the Application framework cares about. These are intended to be tasks that should keep the device out of hibernation like an application level request / response. If the response does not come in as a data ACK, the application needs to stay out of hibernation to wait and poll for it.

Some tasks do not necessarily have a response. For example, a ZDO request may or may not have a response. In this case, the application framework cannot rely on the fact that a response will come in to end the wake cycle, so the Application framework must time out the wake cycle if no expected response is received or no other event can be relied upon to end the wake cycle.

Add these types of tasks to the wake timeout mask by calling emberAfSetWakeTimeoutBitmaskCallback so that they can be governed by a timeout instead of a request / response.

The current tasks bitmask is an uint32_t bitmask used to track which tasks are active at any given time. The bottom 16 bits, values 0x01 - 0x8000 are reserved for Ember's use. The top 16 bits are reserved for the customer, values 0x10000 - 0x80000000

Enumerator
EMBER_AF_WAITING_FOR_DATA_ACK
EMBER_AF_LAST_POLL_GOT_DATA
EMBER_AF_WAITING_FOR_SERVICE_DISCOVERY
EMBER_AF_WAITING_FOR_ZDO_RESPONSE
EMBER_AF_WAITING_FOR_ZCL_RESPONSE
EMBER_AF_WAITING_FOR_REGISTRATION
EMBER_AF_WAITING_FOR_PARTNER_LINK_KEY_EXCHANGE
EMBER_AF_FORCE_SHORT_POLL
EMBER_AF_FRAGMENTATION_IN_PROGRESS
EMBER_AF_FORCE_SHORT_POLL_FOR_PARENT_CONNECTIVITY
EMBER_AF_WAITING_FOR_TC_KEY_UPDATE

Definition at line 788 of file app/framework/include/af-types.h

EmberAfPluginPriceCppAuth#

EmberAfPluginPriceCppAuth

Specifies CPP Authorization values.

Enumerator
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_PENDING
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_ACCEPTED
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_REJECTED
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_FORCED
EMBER_AF_PLUGIN_PRICE_CPP_AUTH_RESERVED

Definition at line 1065 of file app/framework/include/af-types.h

EmberAfPluginTunnelingClientStatus#

EmberAfPluginTunnelingClientStatus
Enumerator
EMBER_AF_PLUGIN_TUNNELING_CLIENT_SUCCESS
EMBER_AF_PLUGIN_TUNNELING_CLIENT_BUSY
EMBER_AF_PLUGIN_TUNNELING_CLIENT_NO_MORE_TUNNEL_IDS
EMBER_AF_PLUGIN_TUNNELING_CLIENT_PROTOCOL_NOT_SUPPORTED
EMBER_AF_PLUGIN_TUNNELING_CLIENT_FLOW_CONTROL_NOT_SUPPORTED
EMBER_AF_PLUGIN_TUNNELING_CLIENT_IEEE_ADDRESS_REQUEST_FAILED
EMBER_AF_PLUGIN_TUNNELING_CLIENT_IEEE_ADDRESS_NOT_FOUND
EMBER_AF_PLUGIN_TUNNELING_CLIENT_ADDRESS_TABLE_FULL
EMBER_AF_PLUGIN_TUNNELING_CLIENT_LINK_KEY_EXCHANGE_REQUEST_FAILED
EMBER_AF_PLUGIN_TUNNELING_CLIENT_LINK_KEY_EXCHANGE_FAILED
EMBER_AF_PLUGIN_TUNNELING_CLIENT_REQUEST_TUNNEL_FAILED
EMBER_AF_PLUGIN_TUNNELING_CLIENT_REQUEST_TUNNEL_TIMEOUT

Definition at line 1136 of file app/framework/include/af-types.h

EmberAfZllCommissioningStatus#

EmberAfZllCommissioningStatus

Status codes used by the ZLL Commissioning plugin.

Enumerator
EMBER_AF_ZLL_ABORTED_BY_APPLICATION
EMBER_AF_ZLL_CHANNEL_CHANGE_FAILED
EMBER_AF_ZLL_JOINING_FAILED
EMBER_AF_ZLL_NO_NETWORKS_FOUND
EMBER_AF_ZLL_PREEMPTED_BY_STACK
EMBER_AF_ZLL_SENDING_START_JOIN_FAILED
EMBER_AF_ZLL_SENDING_DEVICE_INFORMATION_REQUEST_FAILED
EMBER_AF_ZLL_SENDING_IDENTIFY_REQUEST_FAILED
EMBER_AF_ZLL_SENDING_RESET_TO_FACTORY_NEW_REQUEST_FAILED
EMBER_AF_ZLL_NETWORK_FORMATION_FAILED
EMBER_AF_ZLL_NETWORK_UPDATE_OPERATION

Definition at line 1155 of file app/framework/include/af-types.h

EmberAfImageBlockRequestOptions#

EmberAfImageBlockRequestOptions

The list of options possible for the image block request/response.

Enumerator
EMBER_AF_IMAGE_BLOCK_REQUEST_OPTIONS_NONE
EMBER_AF_IMAGE_BLOCK_REQUEST_MIN_BLOCK_REQUEST_SUPPORTED_BY_CLIENT
EMBER_AF_IMAGE_BLOCK_REQUEST_MIN_BLOCK_REQUEST_SUPPORTED_BY_SERVER
EMBER_AF_IMAGE_BLOCK_REQUEST_SIMULATED_FROM_PAGE_REQUEST

Definition at line 1218 of file app/framework/include/af-types.h

EmberAfOtaStorageStatus#

EmberAfOtaStorageStatus

Contain the success or error code of an OTA storage device operation.

Enumerator
EMBER_AF_OTA_STORAGE_SUCCESS
EMBER_AF_OTA_STORAGE_ERROR
EMBER_AF_OTA_STORAGE_RETURN_DATA_TOO_LONG
EMBER_AF_OTA_STORAGE_PARTIAL_FILE_FOUND
EMBER_AF_OTA_STORAGE_OPERATION_IN_PROGRESS

Definition at line 1257 of file app/framework/include/af-types.h

EmberAfOtaDownloadResult#

EmberAfOtaDownloadResult

Contain the success or error code of an OTA download operation.

Enumerator
EMBER_AF_OTA_DOWNLOAD_AND_VERIFY_SUCCESS
EMBER_AF_OTA_DOWNLOAD_TIME_OUT
EMBER_AF_OTA_VERIFY_FAILED
EMBER_AF_OTA_SERVER_ABORTED
EMBER_AF_OTA_CLIENT_ABORTED
EMBER_AF_OTA_ERASE_FAILED

Definition at line 1270 of file app/framework/include/af-types.h

EmberAfKeyEstablishmentNotifyMessage#

EmberAfKeyEstablishmentNotifyMessage
Enumerator
NO_APP_MESSAGE
RECEIVED_PARTNER_CERTIFICATE
GENERATING_EPHEMERAL_KEYS
GENERATING_SHARED_SECRET
KEY_GENERATION_DONE
GENERATE_SHARED_SECRET_DONE
LINK_KEY_ESTABLISHED

LINK_KEY_ESTABLISHED indicates Success, key establishment done.

NO_LOCAL_RESOURCES

Error codes: Transient failures where Key Establishment could be retried.

PARTNER_NO_RESOURCES
TIMEOUT_OCCURRED
INVALID_APP_COMMAND
MESSAGE_SEND_FAILURE
PARTNER_SENT_TERMINATE
INVALID_PARTNER_MESSAGE
PARTNER_SENT_DEFAULT_RESPONSE_ERROR
BAD_CERTIFICATE_ISSUER

Fatal Errors: These results are not worth retrying because the outcome will not change.

KEY_CONFIRM_FAILURE
BAD_KEY_ESTABLISHMENT_SUITE
KEY_TABLE_FULL
NO_ESTABLISHMENT_ALLOWED

Neither initiator nor responder is an ESP/TC so the key establishment is not allowed per the spec.

INVALID_CERTIFICATE_KEY_USAGE

Definition at line 1342 of file app/framework/include/af-types.h

EmberAfImageVerifyStatus#

EmberAfImageVerifyStatus

Indicate the state of an OTA bootload image undergoing verification. This is used both for cryptographic verification and manufacturer-specific verification.

Enumerator
EMBER_AF_IMAGE_GOOD
EMBER_AF_IMAGE_BAD
EMBER_AF_IMAGE_VERIFY_IN_PROGRESS

Definition at line 1425 of file app/framework/include/af-types.h

EmberAfCbkeKeyEstablishmentSuite#

EmberAfCbkeKeyEstablishmentSuite

CBKE Library types.

Enumerator
EMBER_AF_INVALID_KEY_ESTABLISHMENT_SUITE
EMBER_AF_CBKE_KEY_ESTABLISHMENT_SUITE_163K1
EMBER_AF_CBKE_KEY_ESTABLISHMENT_SUITE_283K1

Definition at line 1691 of file app/framework/include/af-types.h

EmberAfDeviceManagementPasswordType#

EmberAfDeviceManagementPasswordType
Enumerator
UNUSED_PASSWORD
SERVICE_PASSWORD
CONSUMER_PASSWORD

Definition at line 1713 of file app/framework/include/af-types.h

EmberAfDeviceManagementChangePendingFlags#

EmberAfDeviceManagementChangePendingFlags
Enumerator
EMBER_AF_DEVICE_MANAGEMENT_CHANGE_OF_TENANCY_PENDING_MASK
EMBER_AF_DEVICE_MANAGEMENT_CHANGE_OF_SUPPLIER_PENDING_MASK
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_SITE_ID_PENDING_MASK
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_CIN_PENDING_MASK
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_SERVICE_PASSWORD_PENDING_MASK
EMBER_AF_DEVICE_MANAGEMENT_UPDATE_CONSUMER_PASSWORD_PENDING_MASK

Definition at line 1725 of file app/framework/include/af-types.h

EmberAfDeviceDiscoveryStatus#

EmberAfDeviceDiscoveryStatus
Enumerator
EMBER_AF_DEVICE_DISCOVERY_STATUS_NONE
EMBER_AF_DEVICE_DISCOVERY_STATUS_NEW
EMBER_AF_DEVICE_DISCOVERY_STATUS_FIND_ENDPOINTS
EMBER_AF_DEVICE_DISCOVERY_STATUS_FIND_CLUSTERS
EMBER_AF_DEVICE_DISCOVERY_STATUS_FIND_STACK_REVISION
EMBER_AF_DEVICE_DISCOVERY_STATUS_DONE
EMBER_AF_DEVICE_DISCOVERY_STATUS_FAILED

Definition at line 1917 of file app/framework/include/af-types.h

Typedef Documentation#

EmberAfProfileId#

typedef uint16_t EmberAfProfileId

Refer to the Zigbee application profile ID.


Definition at line 43 of file app/framework/include/af-types.h

EmberAfAttributeId#

typedef uint16_t EmberAfAttributeId

Refer to the ZCL attribute ID.


Definition at line 48 of file app/framework/include/af-types.h

EmberAfClusterId#

typedef uint16_t EmberAfClusterId

Refer to the ZCL cluster ID.


Definition at line 53 of file app/framework/include/af-types.h

EmberAfAttributeType#

typedef uint8_t EmberAfAttributeType

Refer to the ZCL attribute type.


Definition at line 58 of file app/framework/include/af-types.h

EmberAfClusterMask#

typedef uint8_t EmberAfClusterMask

User for the cluster mask.


Definition at line 63 of file app/framework/include/af-types.h

EmberAfAttributeMask#

typedef uint8_t EmberAfAttributeMask

User for the attribute mask.


Definition at line 68 of file app/framework/include/af-types.h

EmberAfGenericClusterFunction#

typedef void(* EmberAfGenericClusterFunction) (void) )(void)

Use for either of the cluster functions.

This type is used for the array of the cluster functions and should always be cast into one of the specific functions before being called.


Definition at line 76 of file app/framework/include/af-types.h

EmberAfDifferenceType#

typedef uint64_t EmberAfDifferenceType

Compare two ZCL attribute values. The size of this data type depends on the platform.


Definition at line 288 of file app/framework/include/af-types.h

EmberAfInterpanMessageType#

typedef uint8_t EmberAfInterpanMessageType

Interpan Message type: unicast, broadcast, or multicast.


Definition at line 345 of file app/framework/include/af-types.h

EmberAfInterpanOptions#

typedef uint16_t EmberAfInterpanOptions

The options for sending/receiving interpan messages.


Definition at line 362 of file app/framework/include/af-types.h

EmberAfAllowedInterpanOptions#

typedef uint8_t EmberAfAllowedInterpanOptions

The options for what interpan messages are allowed.


Definition at line 399 of file app/framework/include/af-types.h

EmberAfTcLinkKeyRequestPolicy#

typedef EmberTcLinkKeyRequestPolicy EmberAfTcLinkKeyRequestPolicy

Definition at line 473 of file app/framework/include/af-types.h

EmberAfAppLinkKeyRequestPolicy#

typedef EmberAppLinkKeyRequestPolicy EmberAfAppLinkKeyRequestPolicy

Definition at line 474 of file app/framework/include/af-types.h

EmberAfPluginEsiManagementBitmask#

typedef uint8_t EmberAfPluginEsiManagementBitmask

Bitmask data type for storing one bit of information for each ESI in the ESI table.


Definition at line 568 of file app/framework/include/af-types.h

EmberAfServiceDiscoveryCallback#

typedef void() EmberAfServiceDiscoveryCallback(const EmberAfServiceDiscoveryResult *result) (const EmberAfServiceDiscoveryResult *result)

Define a callback where a code element or cluster can be informed as to the result of a service discovery they have requested. For each match, the callback is fired with all the resulting matches from that source. If the discovery was unicast to a specific device, the callback is only fired once with either MATCH_FOUND or COMPLETE (no matches found). If the discovery is broadcast, multiple callbacks may be fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_RESPONSE_RECEIVED. After a few seconds, the callback is fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE or EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE as the result.


Definition at line 715 of file app/framework/include/af-types.h

EmberAfPartnerLinkKeyExchangeCallback#

typedef void() EmberAfPartnerLinkKeyExchangeCallback(bool success) (bool success)

Define a callback where a code element or cluster can be informed as to the result of a request to initiate a partner link key exchange. The callback will be triggered with success equal to true if the exchange completed successfully.


Definition at line 723 of file app/framework/include/af-types.h

EmberAfNetworkEventHandler#

typedef void(* EmberAfNetworkEventHandler) (void) )(void)

Refer to the handler for network events.


Definition at line 890 of file app/framework/include/af-types.h

EmberAfEndpointEventHandler#

typedef void(* EmberAfEndpointEventHandler) (uint8_t endpoint) )(uint8_t endpoint)

Refer to the handler for endpoint events.


Definition at line 895 of file app/framework/include/af-types.h

EmberAfTickFunction#

typedef void(* EmberAfTickFunction) (uint8_t endpoint) )(uint8_t endpoint)

Refer to the tick callback for cluster.

Tick function will be called once for each tick for each endpoint in the cluster. The rate of tick is determined by the metadata of the cluster.


Definition at line 1446 of file app/framework/include/af-types.h

EmberAfInitFunction#

typedef void(* EmberAfInitFunction) (uint8_t endpoint) )(uint8_t endpoint)

Refer to the init callback for cluster.

Init function is called when the application starts up, once for each cluster/endpoint combination.


Definition at line 1454 of file app/framework/include/af-types.h

EmberAfClusterAttributeChangedCallback#

typedef void(* EmberAfClusterAttributeChangedCallback) (uint8_t endpoint, EmberAfAttributeId attributeId) )(uint8_t endpoint, EmberAfAttributeId attributeId)

Refer to the attribute changed callback function.

This function is called just after an attribute changes.


Definition at line 1461 of file app/framework/include/af-types.h

EmberAfManufacturerSpecificClusterAttributeChangedCallback#

typedef void(* EmberAfManufacturerSpecificClusterAttributeChangedCallback) (uint8_t endpoint, EmberAfAttributeId attributeId, uint16_t manufacturerCode) )(uint8_t endpoint, EmberAfAttributeId attributeId, uint16_t manufacturerCode)

Refer to the manufacturer-specific attribute changed callback function.

This function is called just after a manufacturer-specific attribute changes.


Definition at line 1470 of file app/framework/include/af-types.h

EmberAfClusterPreAttributeChangedCallback#

typedef EmberAfStatus(* EmberAfClusterPreAttributeChangedCallback) (uint8_t endpoint, EmberAfAttributeId attributeId, EmberAfAttributeType attributeType, uint8_t size, uint8_t *value) )(uint8_t endpoint, EmberAfAttributeId attributeId, EmberAfAttributeType attributeType, uint8_t size, uint8_t *value)

Refer to the pre-attribute changed callback function.

This function is called before an attribute changes.


Definition at line 1479 of file app/framework/include/af-types.h

EmberAfDefaultResponseFunction#

typedef void(* EmberAfDefaultResponseFunction) (uint8_t endpoint, uint8_t commandId, EmberAfStatus status) )(uint8_t endpoint, uint8_t commandId, EmberAfStatus status)

Refer to the default response callback function.

This function is called when default response is received, before the global callback. Global callback is called immediately afterwards.


Definition at line 1491 of file app/framework/include/af-types.h

EmberAfMessageSentFunction#

typedef void(* EmberAfMessageSentFunction) (EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame *apsFrame, uint16_t msgLen, uint8_t *message, EmberStatus status) )(EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame *apsFrame, uint16_t msgLen, uint8_t *message, EmberStatus status)

Refer to the message sent callback function.

This function is called when a message is sent.


Definition at line 1500 of file app/framework/include/af-types.h

EmberAfRemoteClusterType#

typedef uint16_t EmberAfRemoteClusterType

Zigbee Internet Client/Server Remote Cluster Types.


Definition at line 1861 of file app/framework/include/af-types.h

Macro Definition Documentation#

EMBER_AF_NULL_MANUFACTURER_CODE#

#define EMBER_AF_NULL_MANUFACTURER_CODE
Value:
0x0000u

A distinguished manufacturer code that is used to indicate the absence of a manufacturer-specific profile, cluster, command, or attribute.


Definition at line 95 of file app/framework/include/af-types.h

EMBER_AF_INVALID_PROFILE_ID#

#define EMBER_AF_INVALID_PROFILE_ID
Value:
0xFFFFu

An invalid profile ID This is a reserved profileId.


Definition at line 101 of file app/framework/include/af-types.h

EMBER_AF_INTER_PAN_UNICAST#

#define EMBER_AF_INTER_PAN_UNICAST
Value:
0x00u

Definition at line 346 of file app/framework/include/af-types.h

EMBER_AF_INTER_PAN_BROADCAST#

#define EMBER_AF_INTER_PAN_BROADCAST
Value:
0x08u

Definition at line 347 of file app/framework/include/af-types.h

EMBER_AF_INTER_PAN_MULTICAST#

#define EMBER_AF_INTER_PAN_MULTICAST
Value:
0x0Cu

Definition at line 348 of file app/framework/include/af-types.h

INTER_PAN_UNICAST#

#define INTER_PAN_UNICAST
Value:
EMBER_AF_INTER_PAN_UNICAST

Definition at line 351 of file app/framework/include/af-types.h

INTER_PAN_BROADCAST#

#define INTER_PAN_BROADCAST
Value:
EMBER_AF_INTER_PAN_BROADCAST

Definition at line 352 of file app/framework/include/af-types.h

INTER_PAN_MULTICAST#

#define INTER_PAN_MULTICAST
Value:
EMBER_AF_INTER_PAN_MULTICAST

Definition at line 353 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_OPTION_NONE#

#define EMBER_AF_INTERPAN_OPTION_NONE
Value:
0x0000u

Definition at line 355 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_OPTION_APS_ENCRYPT#

#define EMBER_AF_INTERPAN_OPTION_APS_ENCRYPT
Value:
0x0001u

Definition at line 356 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_OPTION_MAC_HAS_LONG_ADDRESS#

#define EMBER_AF_INTERPAN_OPTION_MAC_HAS_LONG_ADDRESS
Value:
0x0002u

Definition at line 357 of file app/framework/include/af-types.h

InterPanHeader#

#define InterPanHeader
Value:
EmberAfInterpanHeader

Definition at line 394 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_DIRECTION_CLIENT_TO_SERVER#

#define EMBER_AF_INTERPAN_DIRECTION_CLIENT_TO_SERVER
Value:
0x01u

Definition at line 401 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_DIRECTION_SERVER_TO_CLIENT#

#define EMBER_AF_INTERPAN_DIRECTION_SERVER_TO_CLIENT
Value:
0x02u

Definition at line 402 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_DIRECTION_BOTH#

#define EMBER_AF_INTERPAN_DIRECTION_BOTH
Value:
0x03u

Definition at line 403 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_GLOBAL_COMMAND#

#define EMBER_AF_INTERPAN_GLOBAL_COMMAND
Value:
0x04u

Definition at line 404 of file app/framework/include/af-types.h

EMBER_AF_INTERPAN_MANUFACTURER_SPECIFIC#

#define EMBER_AF_INTERPAN_MANUFACTURER_SPECIFIC
Value:
0x08u

Definition at line 405 of file app/framework/include/af-types.h

EMBER_AF_ALLOW_TC_KEY_REQUESTS#

#define EMBER_AF_ALLOW_TC_KEY_REQUESTS
Value:
EMBER_ALLOW_TC_LINK_KEY_REQUEST_AND_SEND_CURRENT_KEY

Definition at line 475 of file app/framework/include/af-types.h

EMBER_AF_DENY_TC_KEY_REQUESTS#

#define EMBER_AF_DENY_TC_KEY_REQUESTS
Value:
EMBER_DENY_TC_LINK_KEY_REQUESTS

Definition at line 476 of file app/framework/include/af-types.h

EMBER_AF_ALLOW_APP_KEY_REQUESTS#

#define EMBER_AF_ALLOW_APP_KEY_REQUESTS
Value:
EMBER_ALLOW_APP_LINK_KEY_REQUEST

Definition at line 477 of file app/framework/include/af-types.h

EMBER_AF_DENY_APP_KEY_REQUESTS#

#define EMBER_AF_DENY_APP_KEY_REQUESTS
Value:
EMBER_DENY_APP_LINK_KEY_REQUESTS

Definition at line 478 of file app/framework/include/af-types.h

EM_AF_DISCOVERY_RESPONSE_MASK#

#define EM_AF_DISCOVERY_RESPONSE_MASK
Value:
(0x05u)

Definition at line 634 of file app/framework/include/af-types.h

emberAfHaveDiscoveryResponseStatus#

#define emberAfHaveDiscoveryResponseStatus
Value:
(status)

A simple way to determine if the service discovery callback has a response.


Definition at line 640 of file app/framework/include/af-types.h

EMBER_AF_GROUP_TABLE_NULL_INDEX#

#define EMBER_AF_GROUP_TABLE_NULL_INDEX
Value:
0xFFu

Indicate the absence of a Group table entry.


Definition at line 900 of file app/framework/include/af-types.h

EMBER_AF_GROUP_TABLE_UNUSED_ENDPOINT_ID#

#define EMBER_AF_GROUP_TABLE_UNUSED_ENDPOINT_ID
Value:
0x00u

Value used when setting or getting the endpoint in a Group table entry. It indicates that the entry is not in use.


Definition at line 905 of file app/framework/include/af-types.h

ZCL_GROUPS_CLUSTER_MAXIMUM_NAME_LENGTH#

#define ZCL_GROUPS_CLUSTER_MAXIMUM_NAME_LENGTH
Value:
16u

Maximum length of Group names, not including the length byte.


Definition at line 909 of file app/framework/include/af-types.h

EMBER_AF_SCENE_TABLE_NULL_INDEX#

#define EMBER_AF_SCENE_TABLE_NULL_INDEX
Value:
0xFFu

Indicates the absence of a Scene table entry.


Definition at line 927 of file app/framework/include/af-types.h

EMBER_AF_SCENE_TABLE_UNUSED_ENDPOINT_ID#

#define EMBER_AF_SCENE_TABLE_UNUSED_ENDPOINT_ID
Value:
0x00u

Value used when setting or getting the endpoint in a Scene table entry. It indicates that the entry is not in use.


Definition at line 932 of file app/framework/include/af-types.h

ZCL_SCENES_CLUSTER_MAXIMUM_NAME_LENGTH#

#define ZCL_SCENES_CLUSTER_MAXIMUM_NAME_LENGTH
Value:
16u

Maximum length of Scene names, not including the length byte.


Definition at line 936 of file app/framework/include/af-types.h

ZCL_SCENES_GLOBAL_SCENE_GROUP_ID#

#define ZCL_SCENES_GLOBAL_SCENE_GROUP_ID
Value:
0x0000u

The group identifier for the global scene.


Definition at line 940 of file app/framework/include/af-types.h

ZCL_SCENES_GLOBAL_SCENE_SCENE_ID#

#define ZCL_SCENES_GLOBAL_SCENE_SCENE_ID
Value:
0x00u

The scene identifier for the global scene.


Definition at line 944 of file app/framework/include/af-types.h

EMBER_AF_PLUGIN_MESSAGING_CLIENT_MESSAGE_SIZE#

#define EMBER_AF_PLUGIN_MESSAGING_CLIENT_MESSAGE_SIZE
Value:
0

Definition at line 1018 of file app/framework/include/af-types.h

ZCL_PRICE_CLUSTER_MAXIMUM_RATE_LABEL_LENGTH#

#define ZCL_PRICE_CLUSTER_MAXIMUM_RATE_LABEL_LENGTH
Value:
11u

Definition at line 1034 of file app/framework/include/af-types.h

EMBER_AF_PLUGIN_REPORTING_UNUSED_ENDPOINT_ID#

#define EMBER_AF_PLUGIN_REPORTING_UNUSED_ENDPOINT_ID
Value:
0x00u

Use when setting or getting the endpoint in a report table entry. It indicates that the entry is not in use.


Definition at line 1082 of file app/framework/include/af-types.h

EMBER_AF_OTA_MAX_HEADER_STRING_LENGTH#

#define EMBER_AF_OTA_MAX_HEADER_STRING_LENGTH
Value:
32u

The maximum size of the string that is present in the header of the Zigbee Over-the-air file format.


Definition at line 1288 of file app/framework/include/af-types.h

UID_SIZE#

#define UID_SIZE
Value:
32u

Definition at line 1290 of file app/framework/include/af-types.h

APP_NOTIFY_ERROR_CODE_START#

#define APP_NOTIFY_ERROR_CODE_START
Value:
NO_LOCAL_RESOURCES

Definition at line 1391 of file app/framework/include/af-types.h

APP_NOTIFY_MESSAGE_TEXT#

#define APP_NOTIFY_MESSAGE_TEXT
Value:
{ \
"None", \
"Received Cert", \
"Generate keys", \
"Generate secret", \
"Key generate done", \
"Generate secret done", \
"Link key verified", \
\
/* Transient Error codes */ \
"No local resources", \
"Partner no resources", \
"Timeout", \
"Invalid app. command", \
"Message send failure", \
"Partner sent terminate", \
"Bad message", \
"Partner sent Default Rsp", \
\
/* Fatal errors */ \
"Bad cert issuer", \
"Key confirm failure", \
"Bad key est. suite", \
"Key table full", \
"Not allowed", \
"Invalid Key Usage", \
}

Definition at line 1392 of file app/framework/include/af-types.h

EMBER_AF_STANDALONE_BOOTLOADER_HARDWARE_TAG_LENGTH#

#define EMBER_AF_STANDALONE_BOOTLOADER_HARDWARE_TAG_LENGTH
Value:
16u

The length of the hardware tag in the Ember Bootloader Query Response.


Definition at line 1555 of file app/framework/include/af-types.h

EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_ELECTRIC_METER#

#define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_ELECTRIC_METER
Value:
0

Definition at line 1609 of file app/framework/include/af-types.h

EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_GAS_METER#

#define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_GAS_METER
Value:
1

Definition at line 1610 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_NEW_OTA_FIRMWARE#

#define EMBER_AF_METERING_FNF_NEW_OTA_FIRMWARE
Value:
0x00000001

Definition at line 1614 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_CBKE_UPDATE_REQUEST#

#define EMBER_AF_METERING_FNF_CBKE_UPDATE_REQUEST
Value:
0x00000002

Definition at line 1615 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_TIME_SYNC#

#define EMBER_AF_METERING_FNF_TIME_SYNC
Value:
0x00000004

Definition at line 1616 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_HAN#

#define EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_HAN
Value:
0x00000010

Definition at line 1617 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_WAN#

#define EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_WAN
Value:
0x00000020

Definition at line 1618 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET#

#define EMBER_AF_METERING_FNF_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET
Value:
0x000001C0

Definition at line 1619 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET#

#define EMBER_AF_METERING_FNF_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET
Value:
0x00000E00

Definition at line 1620 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER#

#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER
Value:
0x00001000

Definition at line 1621 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_METERING_CLUSTER#

#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_METERING_CLUSTER
Value:
0x00002000

Definition at line 1622 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER#

#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER
Value:
0x00004000

Definition at line 1623 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_NETWORK_KEY_ACTIVE#

#define EMBER_AF_METERING_FNF_NETWORK_KEY_ACTIVE
Value:
0x00008000

Definition at line 1624 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_DISPLAY_MESSAGE#

#define EMBER_AF_METERING_FNF_DISPLAY_MESSAGE
Value:
0x00010000

Definition at line 1625 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_CANCEL_ALL_MESSAGES#

#define EMBER_AF_METERING_FNF_CANCEL_ALL_MESSAGES
Value:
0x00020000

Definition at line 1626 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_CHANGE_SUPPLY#

#define EMBER_AF_METERING_FNF_CHANGE_SUPPLY
Value:
0x00040000

Definition at line 1627 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_LOCAL_CHANGE_SUPPLY#

#define EMBER_AF_METERING_FNF_LOCAL_CHANGE_SUPPLY
Value:
0x00080000

Definition at line 1628 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_SET_UNCONTROLLED_FLOW_THRESHOLD#

#define EMBER_AF_METERING_FNF_SET_UNCONTROLLED_FLOW_THRESHOLD
Value:
0x00100000

Definition at line 1629 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_TUNNEL_MESSAGE_PENDING#

#define EMBER_AF_METERING_FNF_TUNNEL_MESSAGE_PENDING
Value:
0x00200000

Definition at line 1630 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_GET_SNAPSHOT#

#define EMBER_AF_METERING_FNF_GET_SNAPSHOT
Value:
0x00400000

Definition at line 1631 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_GET_SAMPLED_DATA#

#define EMBER_AF_METERING_FNF_GET_SAMPLED_DATA
Value:
0x00800000

Definition at line 1632 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE#

#define EMBER_AF_METERING_FNF_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE
Value:
0x01000000

Definition at line 1633 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_ENERGY_SCAN_PENDING#

#define EMBER_AF_METERING_FNF_ENERGY_SCAN_PENDING
Value:
0x02000000

Definition at line 1634 of file app/framework/include/af-types.h

EMBER_AF_METERING_FNF_CHANNEL_CHANGE_PENDING#

#define EMBER_AF_METERING_FNF_CHANNEL_CHANGE_PENDING
Value:
0x04000000

Definition at line 1635 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_PRICE#

#define EMBER_AF_METERING_NF2_PUBLISH_PRICE
Value:
0x00000001

Definition at line 1638 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_BLOCK_PERIOD#

#define EMBER_AF_METERING_NF2_PUBLISH_BLOCK_PERIOD
Value:
0x00000002

Definition at line 1639 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_TARIFF_INFORMATION#

#define EMBER_AF_METERING_NF2_PUBLISH_TARIFF_INFORMATION
Value:
0x00000004

Definition at line 1640 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_CONVERSION_FACTOR#

#define EMBER_AF_METERING_NF2_PUBLISH_CONVERSION_FACTOR
Value:
0x00000008

Definition at line 1641 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_CALORIFIC_VALUE#

#define EMBER_AF_METERING_NF2_PUBLISH_CALORIFIC_VALUE
Value:
0x00000010

Definition at line 1642 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_CO2_VALUE#

#define EMBER_AF_METERING_NF2_PUBLISH_CO2_VALUE
Value:
0x00000020

Definition at line 1643 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_BILLING_PERIOD#

#define EMBER_AF_METERING_NF2_PUBLISH_BILLING_PERIOD
Value:
0x00000040

Definition at line 1644 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_CONSOLIDATED_BILL#

#define EMBER_AF_METERING_NF2_PUBLISH_CONSOLIDATED_BILL
Value:
0x00000080

Definition at line 1645 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_PRICE_MATRIX#

#define EMBER_AF_METERING_NF2_PUBLISH_PRICE_MATRIX
Value:
0x00000100

Definition at line 1646 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_BLOCK_THRESHOLDS#

#define EMBER_AF_METERING_NF2_PUBLISH_BLOCK_THRESHOLDS
Value:
0x00000200

Definition at line 1647 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_CURRENCY_CONVERSION#

#define EMBER_AF_METERING_NF2_PUBLISH_CURRENCY_CONVERSION
Value:
0x00000400

Definition at line 1648 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_CREDIT_PAYMENT_INFO#

#define EMBER_AF_METERING_NF2_PUBLISH_CREDIT_PAYMENT_INFO
Value:
0x00001000

Definition at line 1649 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_CPP_EVENT#

#define EMBER_AF_METERING_NF2_PUBLISH_CPP_EVENT
Value:
0x00002000

Definition at line 1650 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_PUBLISH_TIER_LABELS#

#define EMBER_AF_METERING_NF2_PUBLISH_TIER_LABELS
Value:
0x00004000

Definition at line 1651 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF2_CANCEL_TARIFF#

#define EMBER_AF_METERING_NF2_CANCEL_TARIFF
Value:
0x00008000

Definition at line 1652 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF3_PUBLISH_CALENDAR#

#define EMBER_AF_METERING_NF3_PUBLISH_CALENDAR
Value:
0x00000001

Definition at line 1655 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF3_PUBLISH_SPECIAL_DAYS#

#define EMBER_AF_METERING_NF3_PUBLISH_SPECIAL_DAYS
Value:
0x00000002

Definition at line 1656 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF3_PUBLISH_SEASONS#

#define EMBER_AF_METERING_NF3_PUBLISH_SEASONS
Value:
0x00000004

Definition at line 1657 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF3_PUBLISH_WEEK#

#define EMBER_AF_METERING_NF3_PUBLISH_WEEK
Value:
0x00000008

Definition at line 1658 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF3_PUBLISH_DAY#

#define EMBER_AF_METERING_NF3_PUBLISH_DAY
Value:
0x00000010

Definition at line 1659 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF3_CANCEL_CALENDAR#

#define EMBER_AF_METERING_NF3_CANCEL_CALENDAR
Value:
0x00000020

Definition at line 1660 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_SELECT_AVAILABLE_EMERGENCY_CREDIT#

#define EMBER_AF_METERING_NF4_SELECT_AVAILABLE_EMERGENCY_CREDIT
Value:
0x00000001

Definition at line 1663 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_CHANGE_DEBT#

#define EMBER_AF_METERING_NF4_CHANGE_DEBT
Value:
0x00000002

Definition at line 1664 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_EMERGENCY_CREDIT_SETUP#

#define EMBER_AF_METERING_NF4_EMERGENCY_CREDIT_SETUP
Value:
0x00000004

Definition at line 1665 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_CONSUMER_TOP_UP#

#define EMBER_AF_METERING_NF4_CONSUMER_TOP_UP
Value:
0x00000008

Definition at line 1666 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_CREDIT_ADJUSTMENT#

#define EMBER_AF_METERING_NF4_CREDIT_ADJUSTMENT
Value:
0x00000010

Definition at line 1667 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_CHANGE_PAYMENT_MODE#

#define EMBER_AF_METERING_NF4_CHANGE_PAYMENT_MODE
Value:
0x00000020

Definition at line 1668 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_GET_PREPAY_SNAPSHOT#

#define EMBER_AF_METERING_NF4_GET_PREPAY_SNAPSHOT
Value:
0x00000040

Definition at line 1669 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_GET_TOP_UP_LOG#

#define EMBER_AF_METERING_NF4_GET_TOP_UP_LOG
Value:
0x00000080

Definition at line 1670 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_SET_LOW_CREDIT_WARNING_LEVEL#

#define EMBER_AF_METERING_NF4_SET_LOW_CREDIT_WARNING_LEVEL
Value:
0x00000100

Definition at line 1671 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_GET_DEBT_REPAYMENT_LOG#

#define EMBER_AF_METERING_NF4_GET_DEBT_REPAYMENT_LOG
Value:
0x00000200

Definition at line 1672 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_SET_MAXIMUM_CREDIT_LIMIT#

#define EMBER_AF_METERING_NF4_SET_MAXIMUM_CREDIT_LIMIT
Value:
0x00000400

Definition at line 1673 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF4_SET_OVERALL_DEBT_CAP#

#define EMBER_AF_METERING_NF4_SET_OVERALL_DEBT_CAP
Value:
0x00000800

Definition at line 1674 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_TENANCY#

#define EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_TENANCY
Value:
0x00000001

Definition at line 1677 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_SUPPLIER#

#define EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_SUPPLIER
Value:
0x00000002

Definition at line 1678 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_1_RESPONSE#

#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_1_RESPONSE
Value:
0x00000004

Definition at line 1679 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_2_RESPONSE#

#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_2_RESPONSE
Value:
0x00000008

Definition at line 1680 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_3_RESPONSE#

#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_3_RESPONSE
Value:
0x00000010

Definition at line 1681 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_4_RESPONSE#

#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_4_RESPONSE
Value:
0x00000020

Definition at line 1682 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_UPDATE_SITE_ID#

#define EMBER_AF_METERING_NF5_UPDATE_SITE_ID
Value:
0x00000040

Definition at line 1683 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_RESET_BATTERY_COUNTER#

#define EMBER_AF_METERING_NF5_RESET_BATTERY_COUNTER
Value:
0x00000080

Definition at line 1684 of file app/framework/include/af-types.h

EMBER_AF_METERING_NF5_UPDATE_CIN#

#define EMBER_AF_METERING_NF5_UPDATE_CIN
Value:
0x00000100

Definition at line 1685 of file app/framework/include/af-types.h

EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_NAME_LENGTH#

#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_NAME_LENGTH
Value:
(16u)

Device Management plugin types.


Definition at line 1706 of file app/framework/include/af-types.h

EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_CONTACT_DETAILS_LENGTH#

#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_CONTACT_DETAILS_LENGTH
Value:
(18u)

Definition at line 1707 of file app/framework/include/af-types.h

EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_SITE_ID_LENGTH#

#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_SITE_ID_LENGTH
Value:
(32u)

Definition at line 1708 of file app/framework/include/af-types.h

EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_CIN_LENGTH#

#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_CIN_LENGTH
Value:
(24u)

Definition at line 1709 of file app/framework/include/af-types.h

EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PASSWORD_LENGTH#

#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PASSWORD_LENGTH
Value:
(10u)

Definition at line 1710 of file app/framework/include/af-types.h

EMBER_AF_REMOTE_CLUSTER_TYPE_NONE#

#define EMBER_AF_REMOTE_CLUSTER_TYPE_NONE
Value:
0x0000u

Definition at line 1863 of file app/framework/include/af-types.h

EMBER_AF_REMOTE_CLUSTER_TYPE_SERVER#

#define EMBER_AF_REMOTE_CLUSTER_TYPE_SERVER
Value:
0x0001u

Definition at line 1864 of file app/framework/include/af-types.h

EMBER_AF_REMOTE_CLUSTER_TYPE_CLIENT#

#define EMBER_AF_REMOTE_CLUSTER_TYPE_CLIENT
Value:
0x0002u

Definition at line 1865 of file app/framework/include/af-types.h

EMBER_AF_REMOTE_CLUSTER_TYPE_INVALID#

#define EMBER_AF_REMOTE_CLUSTER_TYPE_INVALID
Value:
0xFFFFu

Definition at line 1866 of file app/framework/include/af-types.h

EMBER_AF_MAX_CLUSTERS_PER_ENDPOINT#

#define EMBER_AF_MAX_CLUSTERS_PER_ENDPOINT
Value:
3u

Definition at line 1899 of file app/framework/include/af-types.h

EMBER_AF_MAX_ENDPOINTS_PER_DEVICE#

#define EMBER_AF_MAX_ENDPOINTS_PER_DEVICE
Value:
1u

Definition at line 1900 of file app/framework/include/af-types.h

EMBER_AF_INVALID_CLUSTER_ID#

#define EMBER_AF_INVALID_CLUSTER_ID
Value:
0xFFFFu

Definition at line 1950 of file app/framework/include/af-types.h

EMBER_AF_INVALID_ENDPOINT#

#define EMBER_AF_INVALID_ENDPOINT
Value:
0xFFu

Definition at line 1952 of file app/framework/include/af-types.h

EMBER_AF_INVALID_PAN_ID#

#define EMBER_AF_INVALID_PAN_ID
Value:
0xFFFFu

Definition at line 1954 of file app/framework/include/af-types.h

EMBER_AF_PERMIT_JOIN_FOREVER#

#define EMBER_AF_PERMIT_JOIN_FOREVER
Value:
0xFFu

Permit join times.


Definition at line 1959 of file app/framework/include/af-types.h

EMBER_AF_PERMIT_JOIN_MAX_TIMEOUT#

#define EMBER_AF_PERMIT_JOIN_MAX_TIMEOUT
Value:
0xFEu

Definition at line 1960 of file app/framework/include/af-types.h

EMBER_AF_ZDO_RESPONSE_OVERHEAD#

#define EMBER_AF_ZDO_RESPONSE_OVERHEAD
Value:
2u

The overhead of the ZDO response. 1 byte for the sequence and 1 byte for the status code.


Definition at line 1966 of file app/framework/include/af-types.h