Application Framework Types
Data Structures |
|
union | EmberAfDefaultAttributeValue |
Type for default values.
|
|
struct | EmberAfAttributeMinMaxValue |
Type describing the attribute default, min and max values.
|
|
union | EmberAfDefaultOrMinMaxAttributeValue |
Union describing the attribute default/min/max values.
|
|
struct | EmberAfAttributeMetadata |
Each attribute has it's metadata stored in such struct.
|
|
struct | EmberAfCluster |
Struct describing cluster.
|
|
struct | EmberAfAttributeSearchRecord |
Struct used to find an attribute in storage. Together the elements in this search record constitute the "primary key" used to identify a unique attribute value in attribute storage.
|
|
struct | EmberAfManufacturerCodeEntry |
struct | EmberAfIncomingMessage |
a struct containing the superset of values passed to both emberIncomingMessageHandler on the SOC and ezspIncomingMessageHandler on the host.
|
|
struct | EmberAfInterpanHeader |
Interpan header used for sending and receiving interpan messages.
|
|
struct | EmberAfAllowedInterPanMessage |
This structure is used define an interpan message that will be accepted by the interpan filters.
|
|
struct | EmberAfClusterCommand |
The EmberAFClusterCommand is a struct wrapper for all the data pertaining to a command which comes in over the air. This enables struct is used to encapsulate a command in a single place on the stack and pass a pointer to that location around during command processing.
|
|
struct | EmberAfEndpointType |
Endpoint type struct describes clusters that are on the endpoint.
|
|
struct | EmberAfSecurityProfileData |
struct | EmberAfDefinedEndpoint |
Struct that maps actual endpoint type, onto a specific endpoint.
|
|
struct | EmberAfLoadControlEvent |
Struct that describes a load control event.
|
|
struct | EmberAfServiceDiscoveryResult |
A structure containing general information about the service discovery.
|
|
struct | EmberAfEndpointList |
A list of endpoints received during a service discovery attempt. This will be returned for a match descriptor request and a active endpoint request.
|
|
struct | EmberAfClusterList |
A list of clusters received during a service discovery attempt. This will be returned for a simple descriptor request.
|
|
struct | EmberAfEventContext |
a structure used to keep track of cluster related events and their sleep control values. The cluster code will not know at runtime all of the events that it has access to in the event table This structure is stored by the application framework in an event context table which along with helper functions allows the cluster code to schedule and deactivate its associated events.
|
|
struct | EmberAfSceneTableEntry |
A structure used to store scene table entries in RAM or in tokens, depending on a plugin setting. If endpoint field is
EMBER_AF_SCENE_TABLE_UNUSED_ENDPOINT_ID
, the entry is unused.
|
|
struct | EmberAfPluginMessagingClientMessage |
struct | EmberAfPluginPriceClientPrice |
struct | EmberAfPluginReportingEntry |
A structure used to store reporting configurations. If endpoint field is
EMBER_AF_PLUGIN_REPORTING_UNUSED_ENDPOINT_ID
, the entry is unused.
|
|
struct | EmberAfOtaImageId |
This is a unique identifier for referencing zigbee Over-the-air upgrade images. It is used by the OTA plugins when passing around information about an upgrade file.
|
|
struct | EmberAfImageBlockRequestCallbackStruct |
This is the data structure that is passed to the emberAfImageBlockRequestCallback() to let the application decide what to do.
|
|
struct | EmberAfOtaHeader |
This structure is an in-memory representation of the Over-the-air header data that resides on disk. It is not a byte-for-byte copy.
|
|
struct | EmberAfTagData |
This structure contains information about a tag that resides within an Over-the-air bootload file.
|
|
struct | EmberAfMessageStruct |
The
EmberAfMessageStruct
is a struct wrapper that contains all the data about a low-level message to be sent (it may be ZCL or may be some other protocol).
|
|
struct | EmberAfLinkKeyBackupData |
A data struct for a link key backup.
|
|
struct | EmberAfTrustCenterBackupData |
A data struct for all the trust center backup data.
|
|
struct | EmberAfStandaloneBootloaderQueryResponseData |
A data struct for the information retrieved during a response to an Ember Bootloader over-the-air query.
|
|
struct | EmberAfCommandMetadata |
A data struct used to keep track of incoming and outgoing commands for command discovery.
|
|
struct | EmberAfTimeStruct |
A data structure used to describe the time in a human understandable format (as opposed to 32-bit UTC)
|
|
struct | EmberAfDate |
A data structure used to describe the ZCL Date data type.
|
|
struct | EmberAfDeviceManagementTenancy |
struct | EmberAfDeviceManagementSupplier |
struct | EmberAfDeviceManagementSupply |
struct | EmberAfDeviceManagementSiteId |
struct | EmberAfDeviceManagementCIN |
struct | EmberAfDeviceManagementSupplyStatusFlags |
struct | EmberAfDeviceManagementUncontrolledFlowThreshold |
struct | EmberAfDeviceManagementSupplyStatus |
struct | EmberAfDeviceManagementPassword |
struct | EmberAfDeviceManagementInfo |
struct | EmberAfDeviceManagementAttributeRange |
struct | EmberAfDeviceManagementAttributeTable |
struct | EmberAfGbzMessageData |
struct | EmberAfGpfMessage |
struct | EmberAfRemoteClusterStruct |
Zigbee Internet Client/Server remote cluster struct.
|
|
struct | EmberAfRemoteBindingStruct |
Zigbee Internet Client/Server Remote Binding struct.
|
|
struct | EmberAfClusterInfo |
struct | EmberAfEndpointInfoStruct |
A struct containing basic information about an endpoint.
|
|
struct | EmberAfDeviceInfo |
A struct containing endpoint information about a device.
|
|
struct | EmberAfDeviceDatabaseIterator |
struct | EmberAfJoiningDevice |
Typedefs |
|
typedef uint16_t | EmberAfProfileId |
Type for referring to zigbee application profile id.
|
|
typedef uint16_t | EmberAfAttributeId |
Type for referring to ZCL attribute id.
|
|
typedef uint16_t | EmberAfClusterId |
Type for referring to ZCL cluster id.
|
|
typedef uint8_t | EmberAfAttributeType |
Type for referring to ZCL attribute type.
|
|
typedef uint8_t | EmberAfClusterMask |
Type for the cluster mask.
|
|
typedef uint8_t | EmberAfAttributeMask |
Type for the attribute mask.
|
|
typedef void(* | EmberAfGenericClusterFunction ) (void) |
Generic function type, used for either of the cluster function.
|
|
typedef uint32_t | EmberAfDifferenceType |
typedef uint8_t | EmberAfInterpanMessageType |
Interpan Message type: unicast, broadcast, or multicast.
|
|
typedef uint16_t | EmberAfInterpanOptions |
The options for sending/receiving interpan messages.
|
|
typedef uint8_t | EmberAfAllowedInterpanOptions |
The options for what interpan messages are allowed.
|
|
typedef EmberTcLinkKeyRequestPolicy | EmberAfTcLinkKeyRequestPolicy |
typedef EmberAppLinkKeyRequestPolicy | EmberAfAppLinkKeyRequestPolicy |
typedef uint8_t | EmberAfPluginEsiManagementBitmask |
Bitmask data type for storing one bit of information for each ESI in the ESI table.
|
|
typedef void( | EmberAfServiceDiscoveryCallback ) (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_SERVICE_DISCOVERY_RESPONSE_RECEIVED. After a couple seconds the callback will then be fired with ::EMBER_AF_SERVICE_DISCOVERY_COMPLETE as the result.
|
|
typedef void( | EmberAfPartnerLinkKeyExchangeCallback ) (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.
|
|
typedef void(* | EmberAfNetworkEventHandler ) (void) |
Type for referring to the handler for network events.
|
|
typedef void(* | EmberAfEndpointEventHandler ) (uint8_t endpoint) |
Type for referring to the handler for endpoint events.
|
|
typedef uint8_t | EmberAfImageBlockRequestOptions |
typedef uint8_t | EmberAfOtaDownloadResult |
typedef void(* | EmberAfTickFunction ) (uint8_t endpoint) |
Type for referring to the tick callback for cluster.
|
|
typedef void(* | EmberAfInitFunction ) (uint8_t endpoint) |
Type for referring to the init callback for cluster.
|
|
typedef void(* | EmberAfClusterAttributeChangedCallback ) (uint8_t endpoint, EmberAfAttributeId attributeId) |
Type for referring to the attribute changed callback function.
|
|
typedef void(* | EmberAfManufacturerSpecificClusterAttributeChangedCallback ) (uint8_t endpoint, EmberAfAttributeId attributeId, uint16_t manufacturerCode) |
Type for referring to the manufacturer specific attribute changed callback function.
|
|
typedef EmberAfStatus (* | EmberAfClusterPreAttributeChangedCallback ) (uint8_t endpoint, EmberAfAttributeId attributeId, EmberAfAttributeType attributeType, uint8_t size, uint8_t *value) |
Type for referring to the pre-attribute changed callback function.
|
|
typedef void(* | EmberAfDefaultResponseFunction ) (uint8_t endpoint, uint8_t commandId, EmberAfStatus status) |
Type for referring to the default response callback function.
|
|
typedef void(* | EmberAfMessageSentFunction ) ( EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame *apsFrame, uint16_t msgLen, uint8_t *message, EmberStatus status) |
Type for referring to the message sent callback function.
|
|
typedef uint16_t | EmberAfRemoteClusterType |
Zigbee Internet Client/Server Remote Cluster Types.
|
Detailed Description
This documentation describes the types used by the Zigbee Application Framework.
Macro Definition Documentation
#define APP_NOTIFY_ERROR_CODE_START NO_LOCAL_RESOURCES |
#define APP_NOTIFY_MESSAGE_TEXT |
#define EM_AF_DISCOVERY_RESPONSE_MASK (0x05) |
#define EMBER_AF_ALLOW_APP_KEY_REQUESTS EMBER_ALLOW_APP_LINK_KEY_REQUEST |
#define EMBER_AF_ALLOW_TC_KEY_REQUESTS EMBER_ALLOW_TC_LINK_KEY_REQUEST_AND_SEND_CURRENT_KEY |
#define EMBER_AF_DENY_APP_KEY_REQUESTS EMBER_DENY_APP_LINK_KEY_REQUESTS |
#define EMBER_AF_DENY_TC_KEY_REQUESTS EMBER_DENY_TC_LINK_KEY_REQUESTS |
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_CIN_LENGTH (24) |
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PASSWORD_LENGTH (10) |
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_CONTACT_DETAILS_LENGTH (18) |
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_NAME_LENGTH (16) |
Device Management plugin types.
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_SITE_ID_LENGTH (32) |
#define EMBER_AF_INTER_PAN_BROADCAST 0x08 |
#define EMBER_AF_INTER_PAN_MULTICAST 0x0C |
#define EMBER_AF_INTER_PAN_UNICAST 0x00 |
#define EMBER_AF_INTERPAN_DIRECTION_BOTH 0x03 |
#define EMBER_AF_INTERPAN_DIRECTION_CLIENT_TO_SERVER 0x01 |
#define EMBER_AF_INTERPAN_DIRECTION_SERVER_TO_CLIENT 0x02 |
#define EMBER_AF_INTERPAN_GLOBAL_COMMAND 0x04 |
#define EMBER_AF_INTERPAN_MANUFACTURER_SPECIFIC 0x08 |
#define EMBER_AF_INTERPAN_OPTION_APS_ENCRYPT 0x0001 |
#define EMBER_AF_INTERPAN_OPTION_MAC_HAS_LONG_ADDRESS 0x0002 |
Referenced by
interpanLongCommand()
.
#define EMBER_AF_INTERPAN_OPTION_NONE 0x0000 |
#define EMBER_AF_INVALID_CLUSTER_ID 0xFFFF |
#define EMBER_AF_INVALID_ENDPOINT 0xFF |
#define EMBER_AF_INVALID_PAN_ID 0xFFFF |
#define EMBER_AF_INVALID_PROFILE_ID 0xFFFF |
An invalid profile ID This is a reserved profileId.
#define EMBER_AF_MAX_CLUSTERS_PER_ENDPOINT 3 |
#define EMBER_AF_MAX_ENDPOINTS_PER_DEVICE 1 |
#define EMBER_AF_METERING_FNF_CANCEL_ALL_MESSAGES 0x00020000 |
#define EMBER_AF_METERING_FNF_CBKE_UPDATE_REQUEST 0x00000002 |
#define EMBER_AF_METERING_FNF_CHANGE_SUPPLY 0x00040000 |
#define EMBER_AF_METERING_FNF_CHANNEL_CHANGE_PENDING 0x04000000 |
#define EMBER_AF_METERING_FNF_DISPLAY_MESSAGE 0x00010000 |
#define EMBER_AF_METERING_FNF_ENERGY_SCAN_PENDING 0x02000000 |
#define EMBER_AF_METERING_FNF_GET_SAMPLED_DATA 0x00800000 |
#define EMBER_AF_METERING_FNF_GET_SNAPSHOT 0x00400000 |
#define EMBER_AF_METERING_FNF_LOCAL_CHANGE_SUPPLY 0x00080000 |
#define EMBER_AF_METERING_FNF_NETWORK_KEY_ACTIVE 0x00008000 |
#define EMBER_AF_METERING_FNF_NEW_OTA_FIRMWARE 0x00000001 |
#define EMBER_AF_METERING_FNF_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE 0x01000000 |
#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER 0x00001000 |
#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_METERING_CLUSTER 0x00002000 |
#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER 0x00004000 |
#define EMBER_AF_METERING_FNF_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET 0x000001C0 |
#define EMBER_AF_METERING_FNF_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET 0x00000E00 |
#define EMBER_AF_METERING_FNF_SET_UNCONTROLLED_FLOW_THRESHOLD 0x00100000 |
#define EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_HAN 0x00000010 |
#define EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_WAN 0x00000020 |
#define EMBER_AF_METERING_FNF_TIME_SYNC 0x00000004 |
#define EMBER_AF_METERING_FNF_TUNNEL_MESSAGE_PENDING 0x00200000 |
#define EMBER_AF_METERING_NF2_CANCEL_TARIFF 0x00008000 |
#define EMBER_AF_METERING_NF2_PUBLISH_BILLING_PERIOD 0x00000040 |
#define EMBER_AF_METERING_NF2_PUBLISH_BLOCK_PERIOD 0x00000002 |
#define EMBER_AF_METERING_NF2_PUBLISH_BLOCK_THRESHOLDS 0x00000200 |
#define EMBER_AF_METERING_NF2_PUBLISH_CALORIFIC_VALUE 0x00000010 |
#define EMBER_AF_METERING_NF2_PUBLISH_CO2_VALUE 0x00000020 |
#define EMBER_AF_METERING_NF2_PUBLISH_CONSOLIDATED_BILL 0x00000080 |
#define EMBER_AF_METERING_NF2_PUBLISH_CONVERSION_FACTOR 0x00000008 |
#define EMBER_AF_METERING_NF2_PUBLISH_CPP_EVENT 0x00002000 |
#define EMBER_AF_METERING_NF2_PUBLISH_CREDIT_PAYMENT_INFO 0x00001000 |
#define EMBER_AF_METERING_NF2_PUBLISH_CURRENCY_CONVERSION 0x00000400 |
#define EMBER_AF_METERING_NF2_PUBLISH_PRICE 0x00000001 |
#define EMBER_AF_METERING_NF2_PUBLISH_PRICE_MATRIX 0x00000100 |
#define EMBER_AF_METERING_NF2_PUBLISH_TARIFF_INFORMATION 0x00000004 |
#define EMBER_AF_METERING_NF2_PUBLISH_TIER_LABELS 0x00004000 |
#define EMBER_AF_METERING_NF3_CANCEL_CALENDAR 0x00000020 |
#define EMBER_AF_METERING_NF3_PUBLISH_CALENDAR 0x00000001 |
#define EMBER_AF_METERING_NF3_PUBLISH_DAY 0x00000010 |
#define EMBER_AF_METERING_NF3_PUBLISH_SEASONS 0x00000004 |
#define EMBER_AF_METERING_NF3_PUBLISH_SPECIAL_DAYS 0x00000002 |
#define EMBER_AF_METERING_NF3_PUBLISH_WEEK 0x00000008 |
#define EMBER_AF_METERING_NF4_CHANGE_DEBT 0x00000002 |
#define EMBER_AF_METERING_NF4_CHANGE_PAYMENT_MODE 0x00000020 |
#define EMBER_AF_METERING_NF4_CONSUMER_TOP_UP 0x00000008 |
#define EMBER_AF_METERING_NF4_CREDIT_ADJUSTMENT 0x00000010 |
#define EMBER_AF_METERING_NF4_EMERGENCY_CREDIT_SETUP 0x00000004 |
#define EMBER_AF_METERING_NF4_GET_DEBT_REPAYMENT_LOG 0x00000200 |
#define EMBER_AF_METERING_NF4_GET_PREPAY_SNAPSHOT 0x00000040 |
#define EMBER_AF_METERING_NF4_GET_TOP_UP_LOG 0x00000080 |
#define EMBER_AF_METERING_NF4_SELECT_AVAILABLE_EMERGENCY_CREDIT 0x00000001 |
#define EMBER_AF_METERING_NF4_SET_LOW_CREDIT_WARNING_LEVEL 0x00000100 |
#define EMBER_AF_METERING_NF4_SET_MAXIMUM_CREDIT_LIMIT 0x00000400 |
#define EMBER_AF_METERING_NF4_SET_OVERALL_DEBT_CAP 0x00000800 |
#define EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_SUPPLIER 0x00000002 |
#define EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_TENANCY 0x00000001 |
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_1_RESPONSE 0x00000004 |
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_2_RESPONSE 0x00000008 |
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_3_RESPONSE 0x00000010 |
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_4_RESPONSE 0x00000020 |
#define EMBER_AF_METERING_NF5_RESET_BATTERY_COUNTER 0x00000080 |
#define EMBER_AF_METERING_NF5_UPDATE_CIN 0x00000100 |
#define EMBER_AF_METERING_NF5_UPDATE_SITE_ID 0x00000040 |
#define EMBER_AF_NULL_MANUFACTURER_CODE 0x0000 |
A distinguished manufacturer code that is used to indicate the absence of a manufacturer-specific profile, cluster, command, or attribute.
Referenced by
emAfCliSendCommand()
, and
zclBufferSetup()
.
#define EMBER_AF_OTA_MAX_HEADER_STRING_LENGTH 32 |
The maximum size of the string that is present in the header of the zigbee Over-the-air file format.
#define EMBER_AF_PERMIT_JOIN_FOREVER 0xFF |
Permit join times.
#define EMBER_AF_PERMIT_JOIN_MAX_TIMEOUT 0xFE |
#define EMBER_AF_PLUGIN_MESSAGING_CLIENT_MESSAGE_SIZE 0 |
#define EMBER_AF_PLUGIN_REPORTING_UNUSED_ENDPOINT_ID 0x00 |
Value used when setting or getting the endpoint in a report table entry. It indicates that the entry is not in use.
#define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_ELECTRIC_METER 0 |
#define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_GAS_METER 1 |
#define EMBER_AF_REMOTE_CLUSTER_TYPE_CLIENT 0x0002 |
#define EMBER_AF_REMOTE_CLUSTER_TYPE_INVALID 0xFFFF |
#define EMBER_AF_REMOTE_CLUSTER_TYPE_NONE 0x0000 |
#define EMBER_AF_REMOTE_CLUSTER_TYPE_SERVER 0x0001 |
#define EMBER_AF_SCENE_TABLE_NULL_INDEX 0xFF |
Indicates the absence of a Scene table entry.
#define EMBER_AF_SCENE_TABLE_UNUSED_ENDPOINT_ID 0x00 |
Value used when setting or getting the endpoint in a Scene table entry. It indicates that the entry is not in use.
#define EMBER_AF_STANDALONE_BOOTLOADER_HARDWARE_TAG_LENGTH 16 |
The length of the hardware tag in the Ember Bootloader Query Response.
#define EMBER_AF_ZDO_RESPONSE_OVERHEAD 2 |
The overhead of the ZDO response. 1 byte for the sequence and 1 byte for the status code.
#define emberAfHaveDiscoveryResponseStatus | ( |
status
|
) | ((status) & EM_AF_DISCOVERY_RESPONSE_MASK ) |
A simple way to determine if the service discovery callback has a response.
Referenced by
emAfCliServiceDiscoveryCallback()
.
#define INTER_PAN_BROADCAST EMBER_AF_INTER_PAN_BROADCAST |
#define INTER_PAN_MULTICAST EMBER_AF_INTER_PAN_MULTICAST |
#define INTER_PAN_UNICAST EMBER_AF_INTER_PAN_UNICAST |
#define InterPanHeader EmberAfInterpanHeader |
#define UID_SIZE 32 |
#define ZCL_PRICE_CLUSTER_MAXIMUM_RATE_LABEL_LENGTH 11 |
#define ZCL_SCENES_CLUSTER_MAXIMUM_NAME_LENGTH 16 |
Maximum length of Scene names, not including the length byte.
#define ZCL_SCENES_GLOBAL_SCENE_GROUP_ID 0x0000 |
The group identifier for the global scene.
#define ZCL_SCENES_GLOBAL_SCENE_SCENE_ID 0x00 |
The scene identifier for the global scene.
Typedef Documentation
typedef uint8_t EmberAfAllowedInterpanOptions |
The options for what interpan messages are allowed.
typedef uint16_t EmberAfAttributeId |
Type for referring to ZCL attribute id.
typedef uint8_t EmberAfAttributeMask |
Type for the attribute mask.
typedef uint8_t EmberAfAttributeType |
Type for referring to ZCL attribute type.
typedef void(* EmberAfClusterAttributeChangedCallback) (uint8_t endpoint, EmberAfAttributeId attributeId) |
Type for referring to the attribute changed callback function.
This function is called just after an attribute changes.
typedef uint16_t EmberAfClusterId |
Type for referring to ZCL cluster id.
typedef uint8_t EmberAfClusterMask |
Type for the cluster mask.
typedef EmberAfStatus (* EmberAfClusterPreAttributeChangedCallback) (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.
typedef void(* EmberAfDefaultResponseFunction) (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.
typedef uint32_t EmberAfDifferenceType |
This type is used to compare two ZCL attribute values. The size of this data type depends on the platform.
typedef void(* EmberAfEndpointEventHandler) (uint8_t endpoint) |
Type for referring to the handler for endpoint events.
typedef void(* EmberAfGenericClusterFunction) (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.
typedef uint8_t EmberAfImageBlockRequestOptions |
typedef void(* EmberAfInitFunction) (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.
typedef uint8_t EmberAfInterpanMessageType |
Interpan Message type: unicast, broadcast, or multicast.
typedef uint16_t EmberAfInterpanOptions |
The options for sending/receiving interpan messages.
typedef void(* EmberAfManufacturerSpecificClusterAttributeChangedCallback) (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.
typedef void(* EmberAfMessageSentFunction) ( 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.
typedef void(* EmberAfNetworkEventHandler) (void) |
Type for referring to the handler for network events.
typedef uint8_t EmberAfOtaDownloadResult |
typedef void( EmberAfPartnerLinkKeyExchangeCallback) (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.
typedef uint8_t EmberAfPluginEsiManagementBitmask |
Bitmask data type for storing one bit of information for each ESI in the ESI table.
typedef uint16_t EmberAfProfileId |
Type for referring to zigbee application profile id.
typedef uint16_t EmberAfRemoteClusterType |
Zigbee Internet Client/Server Remote Cluster Types.
typedef void( EmberAfServiceDiscoveryCallback) (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_SERVICE_DISCOVERY_RESPONSE_RECEIVED. After a couple seconds the callback will then be fired with ::EMBER_AF_SERVICE_DISCOVERY_COMPLETE as the result.
typedef void(* EmberAfTickFunction) (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.
Enumeration Type Documentation
anonymous enum |
The list of options possible for the image block request/response.
anonymous enum |
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
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 |
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 | |
EMBER_AF_OK_TO_NAP | |
EMBER_AF_STAY_AWAKE |
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.