Modules#
EmberAfDefaultOrMinMaxAttributeValue
EmberAfPluginMessagingClientMessage
EmberAfImageBlockRequestCallbackStruct
EmberAfStandaloneBootloaderQueryResponseData
EmberAfDeviceManagementTenancy
EmberAfDeviceManagementSupplier
EmberAfDeviceManagementSupplyStatusFlags
EmberAfDeviceManagementUncontrolledFlowThreshold
EmberAfDeviceManagementSupplyStatus
EmberAfDeviceManagementPassword
EmberAfDeviceManagementAttributeRange
EmberAfDeviceManagementAttributeTable
Application Framework Types Reference#
This documentation describes the types used by the Zigbee Application Framework.
Enumerations#
This is an enum used to 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.
This is an enum used to 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 instance, if two events are active, one with EMBER_AF_LONG_POLL and the other with EMBER_AF_SHORT_POLL, then the processor will short poll until the second event is deactivated.
This is an enum used to 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 instance, if two events are active, one with EMBER_AF_OK_TO_HIBERNATE and the other with EMBER_AF_OK_TO_NAP, then the processor will only be allowed to nap until the second event is deactivated.
An enum used to track the 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, then the application will need to stay out of hibernation to wait and poll for it.
Specifies CPP Authorization values.
The list of options possible for the image block request/response.
This status contains the success or error code of an OTA storage device operation.
This status contains the success or error code of an OTA download operation.
This enumeration is used to indicate the state of an OTA bootload image undergoing verification. This is used both for cryptographic verification and manufacturer specific verification.
CBKE Library types.
Typedefs#
Type for referring to zigbee application profile id.
Type for referring to ZCL attribute id.
Type for referring to ZCL cluster id.
Type for referring to ZCL attribute type.
Type for the cluster mask.
Type for the attribute mask.
Generic function type, used for either of the cluster function.
Interpan Message type: unicast, broadcast, or multicast.
The options for sending/receiving interpan messages.
The options for what interpan messages are allowed.
Bitmask data type for storing one bit of information for each ESI in the ESI table.
This defines 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, then the callback will only be fired once with either MATCH_FOUND or COMPLETE (no matches found). If the discovery is broadcast then multiple callbacks may be fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_RESPONSE_RECEIVED. After a couple seconds the callback will then be fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE or EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE as the result.
This defines 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.
Type for referring to the handler for network events.
Type for referring to the handler for endpoint events.
Type for referring to the tick callback for cluster.
Type for referring to the init callback for cluster.
Type for referring to the attribute changed callback function.
Type for referring to the manufacturer specific attribute changed callback function.
Type for referring to the pre-attribute changed callback function.
Type for referring to the default response callback function.
Type for referring to the message sent callback function.
Zigbee Internet Client/Server Remote Cluster Types.
Macros#
A distinguished manufacturer code that is used to indicate the absence of a manufacturer-specific profile, cluster, command, or attribute.
An invalid profile ID This is a reserved profileId.
A simple way to determine if the service discovery callback has a response.
Indicates the absence of a Scene table entry.
Value used when setting or getting the endpoint in a Scene table entry. It indicates that the entry is not in use.
Maximum length of Scene names, not including the length byte.
The group identifier for the global scene.
The scene identifier for the global scene.
Value used when setting or getting the endpoint in a report table entry. It indicates that the entry is not in use.
The maximum size of the string that is present in the header of the zigbee Over-the-air file format.
The length of the hardware tag in the Ember Bootloader Query Response.
Device Management plugin types.
Permit join times.
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 |
466
of file ./app/framework/include/af-types.h
EmberAfServiceDiscoveryStatus#
EmberAfServiceDiscoveryStatus
This is an enum used to 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 |
608
of file ./app/framework/include/af-types.h
EmberAfEventPollControl#
EmberAfEventPollControl
This is an enum used to 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 instance, if two events are active, one with EMBER_AF_LONG_POLL and the other with EMBER_AF_SHORT_POLL, then the processor will short poll until the second event is deactivated.
Enumerator | |
---|---|
EMBER_AF_LONG_POLL | |
EMBER_AF_SHORT_POLL |
718
of file ./app/framework/include/af-types.h
EmberAfEventSleepControl#
EmberAfEventSleepControl
This is an enum used to 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 instance, if two events are active, one with EMBER_AF_OK_TO_HIBERNATE and the other with EMBER_AF_OK_TO_NAP, then the processor will only be allowed to nap 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 | |
EMBER_AF_OK_TO_SLEEP | |
EMBER_AF_OK_TO_HIBERNATE | Deprecated |
EMBER_AF_OK_TO_NAP | Deprecated |
EMBER_AF_STAY_AWAKE |
736
of file ./app/framework/include/af-types.h
EmberAfApplicationTask#
EmberAfApplicationTask
An enum used to track the 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, then the application will need to stay out of hibernation to wait and poll for it.
Of course some tasks do not necessarily have a response. For instance, 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 timeout the wake cycle if no expected response is received or no other event can be relied upon to end the wake cycle.
Tasks of this type should be added 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 |
772
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 |
1002
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 |
1073
of file ./app/framework/include/af-types.h
@0#
@0
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 | |
EMBER_AF_DATA_TYPE_ANALOG | |
EMBER_AF_DATA_TYPE_DISCRETE | |
EMBER_AF_DATA_TYPE_NONE | |
PRIORITIZE_BEACONS_BASED_ON_PARENT_CLASSIFICATION | |
PRIORITIZE_BEACONS_BASED_ON_TC_CONNECTVITY | |
TC_CONNECTIVITY | |
LONG_UPTIME | |
BAD_PARENT_CONNECTIVITY |
1156
of file ./app/framework/include/af-types.h
EmberAfOtaStorageStatus#
EmberAfOtaStorageStatus
This status contains 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 |
1191
of file ./app/framework/include/af-types.h
@1#
@1
This status contains 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 | |
EMBER_POLL_TIMEOUT_10_SECONDS | |
EMBER_POLL_TIMEOUT_2_MINUTES | |
EMBER_POLL_TIMEOUT_4_MINUTES | |
EMBER_POLL_TIMEOUT_8_MINUTES | |
EMBER_POLL_TIMEOUT_16_MINUTES | |
EMBER_POLL_TIMEOUT_32_MINUTES | |
EMBER_POLL_TIMEOUT_64_MINUTES | |
EMBER_POLL_TIMEOUT_128_MINUTES | |
EMBER_POLL_TIMEOUT_256_MINUTES | |
EMBER_POLL_TIMEOUT_512_MINUTES | |
EMBER_POLL_TIMEOUT_1024_MINUTES | |
EMBER_POLL_TIMEOUT_2048_MINUTES | |
EMBER_POLL_TIMEOUT_4096_MINUTES | |
EMBER_POLL_TIMEOUT_8192_MINUTES | |
EMBER_POLL_TIMEOUT_16384_MINUTES |
1203
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 |
1272
of file ./app/framework/include/af-types.h
EmberAfImageVerifyStatus#
EmberAfImageVerifyStatus
This enumeration is used to 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 |
1355
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 |
1621
of file ./app/framework/include/af-types.h
EmberAfDeviceManagementPasswordType#
EmberAfDeviceManagementPasswordType
Enumerator | |
---|---|
UNUSED_PASSWORD | |
SERVICE_PASSWORD | |
CONSUMER_PASSWORD |
1643
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 |
1655
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 |
1849
of file ./app/framework/include/af-types.h
Typedef Documentation#
EmberAfProfileId#
typedef uint16_t EmberAfProfileId
Type for referring to zigbee application profile id.
36
of file ./app/framework/include/af-types.h
EmberAfAttributeId#
typedef uint16_t EmberAfAttributeId
Type for referring to ZCL attribute id.
41
of file ./app/framework/include/af-types.h
EmberAfClusterId#
typedef uint16_t EmberAfClusterId
Type for referring to ZCL cluster id.
46
of file ./app/framework/include/af-types.h
EmberAfAttributeType#
typedef uint8_t EmberAfAttributeType
Type for referring to ZCL attribute type.
51
of file ./app/framework/include/af-types.h
EmberAfClusterMask#
typedef uint8_t EmberAfClusterMask
Type for the cluster mask.
56
of file ./app/framework/include/af-types.h
EmberAfAttributeMask#
typedef uint8_t EmberAfAttributeMask
Type for the attribute mask.
61
of file ./app/framework/include/af-types.h
EmberAfGenericClusterFunction#
typedef void(* EmberAfGenericClusterFunction) (void) )(void)
Generic function type, used for either of the cluster function.
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.
69
of file ./app/framework/include/af-types.h
EmberAfDifferenceType#
typedef uint32_t EmberAfDifferenceType
This type is used to compare two ZCL attribute values. The size of this data type depends on the platform.
271
of file ./app/framework/include/af-types.h
EmberAfInterpanMessageType#
typedef uint8_t EmberAfInterpanMessageType
Interpan Message type: unicast, broadcast, or multicast.
329
of file ./app/framework/include/af-types.h
EmberAfInterpanOptions#
typedef uint16_t EmberAfInterpanOptions
The options for sending/receiving interpan messages.
346
of file ./app/framework/include/af-types.h
EmberAfAllowedInterpanOptions#
typedef uint8_t EmberAfAllowedInterpanOptions
The options for what interpan messages are allowed.
383
of file ./app/framework/include/af-types.h
EmberAfTcLinkKeyRequestPolicy#
typedef EmberTcLinkKeyRequestPolicy EmberAfTcLinkKeyRequestPolicy
457
of file ./app/framework/include/af-types.h
EmberAfAppLinkKeyRequestPolicy#
typedef EmberAppLinkKeyRequestPolicy EmberAfAppLinkKeyRequestPolicy
458
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.
552
of file ./app/framework/include/af-types.h
EmberAfServiceDiscoveryCallback#
typedef void() EmberAfServiceDiscoveryCallback(const EmberAfServiceDiscoveryResult *result) (const EmberAfServiceDiscoveryResult *result)
This defines 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, then the callback will only be fired once with either MATCH_FOUND or COMPLETE (no matches found). If the discovery is broadcast then multiple callbacks may be fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_RESPONSE_RECEIVED. After a couple seconds the callback will then be fired with EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_RESPONSE or EMBER_AF_BROADCAST_SERVICE_DISCOVERY_COMPLETE_WITH_EMPTY_RESPONSE as the result.
699
of file ./app/framework/include/af-types.h
EmberAfPartnerLinkKeyExchangeCallback#
typedef void() EmberAfPartnerLinkKeyExchangeCallback(bool success) (bool success)
This defines 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.
707
of file ./app/framework/include/af-types.h
EmberAfNetworkEventHandler#
typedef void(* EmberAfNetworkEventHandler) (void) )(void)
Type for referring to the handler for network events.
834
of file ./app/framework/include/af-types.h
EmberAfEndpointEventHandler#
typedef void(* EmberAfEndpointEventHandler) (uint8_t endpoint) )(uint8_t endpoint)
Type for referring to the handler for endpoint events.
839
of file ./app/framework/include/af-types.h
EmberAfImageBlockRequestOptions#
typedef uint8_t EmberAfImageBlockRequestOptions
1166
of file ./app/framework/include/af-types.h
EmberAfOtaDownloadResult#
typedef uint8_t EmberAfOtaDownloadResult
1211
of file ./app/framework/include/af-types.h
EmberAfTickFunction#
typedef void(* EmberAfTickFunction) (uint8_t endpoint) )(uint8_t endpoint)
Type for referring 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.
1376
of file ./app/framework/include/af-types.h
EmberAfInitFunction#
typedef void(* EmberAfInitFunction) (uint8_t endpoint) )(uint8_t endpoint)
Type for referring to the init callback for cluster.
Init function is called when the application starts up, once for each cluster/endpoint combination.
1384
of file ./app/framework/include/af-types.h
EmberAfClusterAttributeChangedCallback#
typedef void(* EmberAfClusterAttributeChangedCallback) (uint8_t endpoint, EmberAfAttributeId attributeId) )(uint8_t endpoint, EmberAfAttributeId attributeId)
Type for referring to the attribute changed callback function.
This function is called just after an attribute changes.
1391
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)
Type for referring to the manufacturer specific attribute changed callback function.
This function is called just after a manufacturer specific attribute changes.
1400
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)
Type for referring to the pre-attribute changed callback function.
This function is called before an attribute changes.
1409
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)
Type for referring 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.
1421
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)
Type for referring to the message sent callback function.
This function is called when a message is sent.
1430
of file ./app/framework/include/af-types.h
EmberAfRemoteClusterType#
typedef uint16_t EmberAfRemoteClusterType
Zigbee Internet Client/Server Remote Cluster Types.
1791
of file ./app/framework/include/af-types.h