Application Framework Types Reference
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_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.
|
|
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
◆ APP_NOTIFY_ERROR_CODE_START
#define APP_NOTIFY_ERROR_CODE_START NO_LOCAL_RESOURCES |
◆ APP_NOTIFY_MESSAGE_TEXT
#define APP_NOTIFY_MESSAGE_TEXT |
◆ EM_AF_DISCOVERY_RESPONSE_MASK
#define EM_AF_DISCOVERY_RESPONSE_MASK (0x05) |
◆ EMBER_AF_ALLOW_APP_KEY_REQUESTS
#define EMBER_AF_ALLOW_APP_KEY_REQUESTS EMBER_ALLOW_APP_LINK_KEY_REQUEST |
◆ EMBER_AF_ALLOW_TC_KEY_REQUESTS
#define EMBER_AF_ALLOW_TC_KEY_REQUESTS EMBER_ALLOW_TC_LINK_KEY_REQUEST_AND_SEND_CURRENT_KEY |
◆ EMBER_AF_DENY_APP_KEY_REQUESTS
#define EMBER_AF_DENY_APP_KEY_REQUESTS EMBER_DENY_APP_LINK_KEY_REQUESTS |
◆ EMBER_AF_DENY_TC_KEY_REQUESTS
#define EMBER_AF_DENY_TC_KEY_REQUESTS EMBER_DENY_TC_LINK_KEY_REQUESTS |
◆ EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_CIN_LENGTH
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_CIN_LENGTH (24) |
◆ EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PASSWORD_LENGTH
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PASSWORD_LENGTH (10) |
◆ EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_CONTACT_DETAILS_LENGTH
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_CONTACT_DETAILS_LENGTH (18) |
◆ EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_NAME_LENGTH
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_PROPOSED_PROVIDER_NAME_LENGTH (16) |
Device Management plugin types.
◆ EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_SITE_ID_LENGTH
#define EMBER_AF_DEVICE_MANAGEMENT_MAXIMUM_SITE_ID_LENGTH (32) |
◆ EMBER_AF_INTER_PAN_BROADCAST
#define EMBER_AF_INTER_PAN_BROADCAST 0x08 |
◆ EMBER_AF_INTER_PAN_MULTICAST
#define EMBER_AF_INTER_PAN_MULTICAST 0x0C |
◆ EMBER_AF_INTER_PAN_UNICAST
#define EMBER_AF_INTER_PAN_UNICAST 0x00 |
◆ EMBER_AF_INTERPAN_DIRECTION_BOTH
#define EMBER_AF_INTERPAN_DIRECTION_BOTH 0x03 |
◆ EMBER_AF_INTERPAN_DIRECTION_CLIENT_TO_SERVER
#define EMBER_AF_INTERPAN_DIRECTION_CLIENT_TO_SERVER 0x01 |
◆ EMBER_AF_INTERPAN_DIRECTION_SERVER_TO_CLIENT
#define EMBER_AF_INTERPAN_DIRECTION_SERVER_TO_CLIENT 0x02 |
◆ EMBER_AF_INTERPAN_GLOBAL_COMMAND
#define EMBER_AF_INTERPAN_GLOBAL_COMMAND 0x04 |
◆ EMBER_AF_INTERPAN_MANUFACTURER_SPECIFIC
#define EMBER_AF_INTERPAN_MANUFACTURER_SPECIFIC 0x08 |
◆ EMBER_AF_INTERPAN_OPTION_APS_ENCRYPT
#define EMBER_AF_INTERPAN_OPTION_APS_ENCRYPT 0x0001 |
◆ EMBER_AF_INTERPAN_OPTION_MAC_HAS_LONG_ADDRESS
#define EMBER_AF_INTERPAN_OPTION_MAC_HAS_LONG_ADDRESS 0x0002 |
Referenced by
interpanLongCommand()
.
◆ EMBER_AF_INTERPAN_OPTION_NONE
#define EMBER_AF_INTERPAN_OPTION_NONE 0x0000 |
◆ EMBER_AF_INVALID_CLUSTER_ID
#define EMBER_AF_INVALID_CLUSTER_ID 0xFFFF |
◆ EMBER_AF_INVALID_ENDPOINT
#define EMBER_AF_INVALID_ENDPOINT 0xFF |
◆ EMBER_AF_INVALID_PAN_ID
#define EMBER_AF_INVALID_PAN_ID 0xFFFF |
◆ EMBER_AF_INVALID_PROFILE_ID
#define EMBER_AF_INVALID_PROFILE_ID 0xFFFF |
An invalid profile ID This is a reserved profileId.
◆ EMBER_AF_MAX_CLUSTERS_PER_ENDPOINT
#define EMBER_AF_MAX_CLUSTERS_PER_ENDPOINT 3 |
◆ EMBER_AF_MAX_ENDPOINTS_PER_DEVICE
#define EMBER_AF_MAX_ENDPOINTS_PER_DEVICE 1 |
◆ EMBER_AF_METERING_FNF_CANCEL_ALL_MESSAGES
#define EMBER_AF_METERING_FNF_CANCEL_ALL_MESSAGES 0x00020000 |
◆ EMBER_AF_METERING_FNF_CBKE_UPDATE_REQUEST
#define EMBER_AF_METERING_FNF_CBKE_UPDATE_REQUEST 0x00000002 |
◆ EMBER_AF_METERING_FNF_CHANGE_SUPPLY
#define EMBER_AF_METERING_FNF_CHANGE_SUPPLY 0x00040000 |
◆ EMBER_AF_METERING_FNF_CHANNEL_CHANGE_PENDING
#define EMBER_AF_METERING_FNF_CHANNEL_CHANGE_PENDING 0x04000000 |
◆ EMBER_AF_METERING_FNF_DISPLAY_MESSAGE
#define EMBER_AF_METERING_FNF_DISPLAY_MESSAGE 0x00010000 |
◆ EMBER_AF_METERING_FNF_ENERGY_SCAN_PENDING
#define EMBER_AF_METERING_FNF_ENERGY_SCAN_PENDING 0x02000000 |
◆ EMBER_AF_METERING_FNF_GET_SAMPLED_DATA
#define EMBER_AF_METERING_FNF_GET_SAMPLED_DATA 0x00800000 |
◆ EMBER_AF_METERING_FNF_GET_SNAPSHOT
#define EMBER_AF_METERING_FNF_GET_SNAPSHOT 0x00400000 |
◆ EMBER_AF_METERING_FNF_LOCAL_CHANGE_SUPPLY
#define EMBER_AF_METERING_FNF_LOCAL_CHANGE_SUPPLY 0x00080000 |
◆ EMBER_AF_METERING_FNF_NETWORK_KEY_ACTIVE
#define EMBER_AF_METERING_FNF_NETWORK_KEY_ACTIVE 0x00008000 |
◆ EMBER_AF_METERING_FNF_NEW_OTA_FIRMWARE
#define EMBER_AF_METERING_FNF_NEW_OTA_FIRMWARE 0x00000001 |
◆ EMBER_AF_METERING_FNF_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE
#define EMBER_AF_METERING_FNF_NEW_SUB_GHZ_CHANNEL_MASKS_AVAILABLE 0x01000000 |
◆ EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER
#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_BASIC_CLUSTER 0x00001000 |
◆ EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_METERING_CLUSTER
#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_METERING_CLUSTER 0x00002000 |
◆ EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER
#define EMBER_AF_METERING_FNF_PUSH_ALL_STATIC_DATA_PREPAYMENT_CLUSTER 0x00004000 |
◆ EMBER_AF_METERING_FNF_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET
#define EMBER_AF_METERING_FNF_PUSH_HISTORICAL_METERING_DATA_ATTRIBUTE_SET 0x000001C0 |
◆ EMBER_AF_METERING_FNF_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET
#define EMBER_AF_METERING_FNF_PUSH_HISTORICAL_PREPAYMENT_DATA_ATTRIBUTE_SET 0x00000E00 |
◆ EMBER_AF_METERING_FNF_SET_UNCONTROLLED_FLOW_THRESHOLD
#define EMBER_AF_METERING_FNF_SET_UNCONTROLLED_FLOW_THRESHOLD 0x00100000 |
◆ EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_HAN
#define EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_HAN 0x00000010 |
◆ EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_WAN
#define EMBER_AF_METERING_FNF_STAY_AWAKE_REQUEST_WAN 0x00000020 |
◆ EMBER_AF_METERING_FNF_TIME_SYNC
#define EMBER_AF_METERING_FNF_TIME_SYNC 0x00000004 |
◆ EMBER_AF_METERING_FNF_TUNNEL_MESSAGE_PENDING
#define EMBER_AF_METERING_FNF_TUNNEL_MESSAGE_PENDING 0x00200000 |
◆ EMBER_AF_METERING_NF2_CANCEL_TARIFF
#define EMBER_AF_METERING_NF2_CANCEL_TARIFF 0x00008000 |
◆ EMBER_AF_METERING_NF2_PUBLISH_BILLING_PERIOD
#define EMBER_AF_METERING_NF2_PUBLISH_BILLING_PERIOD 0x00000040 |
◆ EMBER_AF_METERING_NF2_PUBLISH_BLOCK_PERIOD
#define EMBER_AF_METERING_NF2_PUBLISH_BLOCK_PERIOD 0x00000002 |
◆ EMBER_AF_METERING_NF2_PUBLISH_BLOCK_THRESHOLDS
#define EMBER_AF_METERING_NF2_PUBLISH_BLOCK_THRESHOLDS 0x00000200 |
◆ EMBER_AF_METERING_NF2_PUBLISH_CALORIFIC_VALUE
#define EMBER_AF_METERING_NF2_PUBLISH_CALORIFIC_VALUE 0x00000010 |
◆ EMBER_AF_METERING_NF2_PUBLISH_CO2_VALUE
#define EMBER_AF_METERING_NF2_PUBLISH_CO2_VALUE 0x00000020 |
◆ EMBER_AF_METERING_NF2_PUBLISH_CONSOLIDATED_BILL
#define EMBER_AF_METERING_NF2_PUBLISH_CONSOLIDATED_BILL 0x00000080 |
◆ EMBER_AF_METERING_NF2_PUBLISH_CONVERSION_FACTOR
#define EMBER_AF_METERING_NF2_PUBLISH_CONVERSION_FACTOR 0x00000008 |
◆ EMBER_AF_METERING_NF2_PUBLISH_CPP_EVENT
#define EMBER_AF_METERING_NF2_PUBLISH_CPP_EVENT 0x00002000 |
◆ EMBER_AF_METERING_NF2_PUBLISH_CREDIT_PAYMENT_INFO
#define EMBER_AF_METERING_NF2_PUBLISH_CREDIT_PAYMENT_INFO 0x00001000 |
◆ EMBER_AF_METERING_NF2_PUBLISH_CURRENCY_CONVERSION
#define EMBER_AF_METERING_NF2_PUBLISH_CURRENCY_CONVERSION 0x00000400 |
◆ EMBER_AF_METERING_NF2_PUBLISH_PRICE
#define EMBER_AF_METERING_NF2_PUBLISH_PRICE 0x00000001 |
◆ EMBER_AF_METERING_NF2_PUBLISH_PRICE_MATRIX
#define EMBER_AF_METERING_NF2_PUBLISH_PRICE_MATRIX 0x00000100 |
◆ EMBER_AF_METERING_NF2_PUBLISH_TARIFF_INFORMATION
#define EMBER_AF_METERING_NF2_PUBLISH_TARIFF_INFORMATION 0x00000004 |
◆ EMBER_AF_METERING_NF2_PUBLISH_TIER_LABELS
#define EMBER_AF_METERING_NF2_PUBLISH_TIER_LABELS 0x00004000 |
◆ EMBER_AF_METERING_NF3_CANCEL_CALENDAR
#define EMBER_AF_METERING_NF3_CANCEL_CALENDAR 0x00000020 |
◆ EMBER_AF_METERING_NF3_PUBLISH_CALENDAR
#define EMBER_AF_METERING_NF3_PUBLISH_CALENDAR 0x00000001 |
◆ EMBER_AF_METERING_NF3_PUBLISH_DAY
#define EMBER_AF_METERING_NF3_PUBLISH_DAY 0x00000010 |
◆ EMBER_AF_METERING_NF3_PUBLISH_SEASONS
#define EMBER_AF_METERING_NF3_PUBLISH_SEASONS 0x00000004 |
◆ EMBER_AF_METERING_NF3_PUBLISH_SPECIAL_DAYS
#define EMBER_AF_METERING_NF3_PUBLISH_SPECIAL_DAYS 0x00000002 |
◆ EMBER_AF_METERING_NF3_PUBLISH_WEEK
#define EMBER_AF_METERING_NF3_PUBLISH_WEEK 0x00000008 |
◆ EMBER_AF_METERING_NF4_CHANGE_DEBT
#define EMBER_AF_METERING_NF4_CHANGE_DEBT 0x00000002 |
◆ EMBER_AF_METERING_NF4_CHANGE_PAYMENT_MODE
#define EMBER_AF_METERING_NF4_CHANGE_PAYMENT_MODE 0x00000020 |
◆ EMBER_AF_METERING_NF4_CONSUMER_TOP_UP
#define EMBER_AF_METERING_NF4_CONSUMER_TOP_UP 0x00000008 |
◆ EMBER_AF_METERING_NF4_CREDIT_ADJUSTMENT
#define EMBER_AF_METERING_NF4_CREDIT_ADJUSTMENT 0x00000010 |
◆ EMBER_AF_METERING_NF4_EMERGENCY_CREDIT_SETUP
#define EMBER_AF_METERING_NF4_EMERGENCY_CREDIT_SETUP 0x00000004 |
◆ EMBER_AF_METERING_NF4_GET_DEBT_REPAYMENT_LOG
#define EMBER_AF_METERING_NF4_GET_DEBT_REPAYMENT_LOG 0x00000200 |
◆ EMBER_AF_METERING_NF4_GET_PREPAY_SNAPSHOT
#define EMBER_AF_METERING_NF4_GET_PREPAY_SNAPSHOT 0x00000040 |
◆ EMBER_AF_METERING_NF4_GET_TOP_UP_LOG
#define EMBER_AF_METERING_NF4_GET_TOP_UP_LOG 0x00000080 |
◆ EMBER_AF_METERING_NF4_SELECT_AVAILABLE_EMERGENCY_CREDIT
#define EMBER_AF_METERING_NF4_SELECT_AVAILABLE_EMERGENCY_CREDIT 0x00000001 |
◆ EMBER_AF_METERING_NF4_SET_LOW_CREDIT_WARNING_LEVEL
#define EMBER_AF_METERING_NF4_SET_LOW_CREDIT_WARNING_LEVEL 0x00000100 |
◆ EMBER_AF_METERING_NF4_SET_MAXIMUM_CREDIT_LIMIT
#define EMBER_AF_METERING_NF4_SET_MAXIMUM_CREDIT_LIMIT 0x00000400 |
◆ EMBER_AF_METERING_NF4_SET_OVERALL_DEBT_CAP
#define EMBER_AF_METERING_NF4_SET_OVERALL_DEBT_CAP 0x00000800 |
◆ EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_SUPPLIER
#define EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_SUPPLIER 0x00000002 |
◆ EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_TENANCY
#define EMBER_AF_METERING_NF5_PUBLISH_CHANGE_OF_TENANCY 0x00000001 |
◆ EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_1_RESPONSE
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_1_RESPONSE 0x00000004 |
◆ EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_2_RESPONSE
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_2_RESPONSE 0x00000008 |
◆ EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_3_RESPONSE
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_3_RESPONSE 0x00000010 |
◆ EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_4_RESPONSE
#define EMBER_AF_METERING_NF5_REQUEST_NEW_PASSWORD_4_RESPONSE 0x00000020 |
◆ EMBER_AF_METERING_NF5_RESET_BATTERY_COUNTER
#define EMBER_AF_METERING_NF5_RESET_BATTERY_COUNTER 0x00000080 |
◆ EMBER_AF_METERING_NF5_UPDATE_CIN
#define EMBER_AF_METERING_NF5_UPDATE_CIN 0x00000100 |
◆ EMBER_AF_METERING_NF5_UPDATE_SITE_ID
#define EMBER_AF_METERING_NF5_UPDATE_SITE_ID 0x00000040 |
◆ EMBER_AF_NULL_MANUFACTURER_CODE
#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()
.
◆ EMBER_AF_OTA_MAX_HEADER_STRING_LENGTH
#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.
◆ EMBER_AF_PERMIT_JOIN_FOREVER
#define EMBER_AF_PERMIT_JOIN_FOREVER 0xFF |
Permit join times.
◆ EMBER_AF_PERMIT_JOIN_MAX_TIMEOUT
#define EMBER_AF_PERMIT_JOIN_MAX_TIMEOUT 0xFE |
◆ EMBER_AF_PLUGIN_MESSAGING_CLIENT_MESSAGE_SIZE
#define EMBER_AF_PLUGIN_MESSAGING_CLIENT_MESSAGE_SIZE 0 |
◆ EMBER_AF_PLUGIN_REPORTING_UNUSED_ENDPOINT_ID
#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.
◆ EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_ELECTRIC_METER
#define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_ELECTRIC_METER 0 |
◆ EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_GAS_METER
#define EMBER_AF_PLUGIN_SIMPLE_METERING_SERVER_GAS_METER 1 |
◆ EMBER_AF_REMOTE_CLUSTER_TYPE_CLIENT
#define EMBER_AF_REMOTE_CLUSTER_TYPE_CLIENT 0x0002 |
◆ EMBER_AF_REMOTE_CLUSTER_TYPE_INVALID
#define EMBER_AF_REMOTE_CLUSTER_TYPE_INVALID 0xFFFF |
◆ EMBER_AF_REMOTE_CLUSTER_TYPE_NONE
#define EMBER_AF_REMOTE_CLUSTER_TYPE_NONE 0x0000 |
◆ EMBER_AF_REMOTE_CLUSTER_TYPE_SERVER
#define EMBER_AF_REMOTE_CLUSTER_TYPE_SERVER 0x0001 |
◆ EMBER_AF_SCENE_TABLE_NULL_INDEX
#define EMBER_AF_SCENE_TABLE_NULL_INDEX 0xFF |
Indicates the absence of a Scene table entry.
◆ EMBER_AF_SCENE_TABLE_UNUSED_ENDPOINT_ID
#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.
◆ EMBER_AF_STANDALONE_BOOTLOADER_HARDWARE_TAG_LENGTH
#define EMBER_AF_STANDALONE_BOOTLOADER_HARDWARE_TAG_LENGTH 16 |
The length of the hardware tag in the Ember Bootloader Query Response.
◆ EMBER_AF_ZDO_RESPONSE_OVERHEAD
#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.
◆ emberAfHaveDiscoveryResponseStatus
#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()
.
◆ INTER_PAN_BROADCAST
#define INTER_PAN_BROADCAST EMBER_AF_INTER_PAN_BROADCAST |
◆ INTER_PAN_MULTICAST
#define INTER_PAN_MULTICAST EMBER_AF_INTER_PAN_MULTICAST |
◆ INTER_PAN_UNICAST
#define INTER_PAN_UNICAST EMBER_AF_INTER_PAN_UNICAST |
◆ InterPanHeader
#define InterPanHeader EmberAfInterpanHeader |
◆ UID_SIZE
#define UID_SIZE 32 |
◆ ZCL_PRICE_CLUSTER_MAXIMUM_RATE_LABEL_LENGTH
#define ZCL_PRICE_CLUSTER_MAXIMUM_RATE_LABEL_LENGTH 11 |
◆ ZCL_SCENES_CLUSTER_MAXIMUM_NAME_LENGTH
#define ZCL_SCENES_CLUSTER_MAXIMUM_NAME_LENGTH 16 |
Maximum length of Scene names, not including the length byte.
◆ ZCL_SCENES_GLOBAL_SCENE_GROUP_ID
#define ZCL_SCENES_GLOBAL_SCENE_GROUP_ID 0x0000 |
The group identifier for the global scene.
◆ ZCL_SCENES_GLOBAL_SCENE_SCENE_ID
#define ZCL_SCENES_GLOBAL_SCENE_SCENE_ID 0x00 |
The scene identifier for the global scene.
Typedef Documentation
◆ EmberAfAllowedInterpanOptions
typedef uint8_t EmberAfAllowedInterpanOptions |
The options for what interpan messages are allowed.
◆ EmberAfAppLinkKeyRequestPolicy
◆ EmberAfAttributeId
typedef uint16_t EmberAfAttributeId |
Type for referring to ZCL attribute id.
◆ EmberAfAttributeMask
typedef uint8_t EmberAfAttributeMask |
Type for the attribute mask.
◆ EmberAfAttributeType
typedef uint8_t EmberAfAttributeType |
Type for referring to ZCL attribute type.
◆ EmberAfClusterAttributeChangedCallback
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.
◆ EmberAfClusterId
typedef uint16_t EmberAfClusterId |
Type for referring to ZCL cluster id.
◆ EmberAfClusterMask
typedef uint8_t EmberAfClusterMask |
Type for the cluster mask.
◆ EmberAfClusterPreAttributeChangedCallback
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.
◆ EmberAfDefaultResponseFunction
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.
◆ 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.
◆ EmberAfEndpointEventHandler
typedef void(* EmberAfEndpointEventHandler) (uint8_t endpoint) |
Type for referring to the handler for endpoint events.
◆ EmberAfGenericClusterFunction
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.
◆ EmberAfImageBlockRequestOptions
typedef uint8_t EmberAfImageBlockRequestOptions |
◆ EmberAfInitFunction
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.
◆ EmberAfInterpanMessageType
typedef uint8_t EmberAfInterpanMessageType |
Interpan Message type: unicast, broadcast, or multicast.
◆ EmberAfInterpanOptions
typedef uint16_t EmberAfInterpanOptions |
The options for sending/receiving interpan messages.
◆ EmberAfManufacturerSpecificClusterAttributeChangedCallback
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.
◆ EmberAfMessageSentFunction
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.
◆ EmberAfNetworkEventHandler
typedef void(* EmberAfNetworkEventHandler) (void) |
Type for referring to the handler for network events.
◆ EmberAfOtaDownloadResult
typedef uint8_t EmberAfOtaDownloadResult |
◆ EmberAfPartnerLinkKeyExchangeCallback
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.
◆ EmberAfPluginEsiManagementBitmask
typedef uint8_t EmberAfPluginEsiManagementBitmask |
Bitmask data type for storing one bit of information for each ESI in the ESI table.
◆ EmberAfProfileId
typedef uint16_t EmberAfProfileId |
Type for referring to zigbee application profile id.
◆ EmberAfRemoteClusterType
typedef uint16_t EmberAfRemoteClusterType |
Zigbee Internet Client/Server Remote Cluster Types.
◆ EmberAfServiceDiscoveryCallback
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_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.
◆ EmberAfTcLinkKeyRequestPolicy
◆ EmberAfTickFunction
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
anonymous enum |
The list of options possible for the image block request/response.
◆ anonymous enum
anonymous enum |
◆ 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
◆ EmberAfCbkeKeyEstablishmentSuite
◆ EmberAfDeviceDiscoveryStatus
◆ EmberAfDeviceManagementChangePendingFlags
◆ EmberAfDeviceManagementPasswordType
◆ 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 |
◆ EmberAfEventSleepControl
enum
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 | |
EMBER_AF_OK_TO_NAP | |
EMBER_AF_STAY_AWAKE | |
EMBER_AF_OK_TO_SLEEP | |
EMBER_AF_OK_TO_HIBERNATE | |
EMBER_AF_OK_TO_NAP | |
EMBER_AF_STAY_AWAKE |
◆ EmberAfImageVerifyStatus
◆ EmberAfKeyEstablishmentNotifyMessage
◆ EmberAfOtaStorageStatus
◆ EmberAfPluginPriceCppAuth
◆ EmberAfPluginTunnelingClientStatus
◆ EmberAfSecurityProfile
◆ 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.