ZigBee Device Object (ZDO) functions not provided by the stack. See ZigBee Device Object (ZDO) Information for documentation.

License#

Copyright 2018 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

/***************************************************************************/
#ifndef SILABS_ZIGBEE_DEVICE_LIBRARY_H
#define SILABS_ZIGBEE_DEVICE_LIBRARY_H


EmberStatus emberMatchDescriptorsRequest(EmberNodeId target,
                                         uint16_t profile,
                                         EmberMessageBuffer inClusters,
                                         EmberMessageBuffer outClusters,
                                         EmberApsOption options);
EmberStatus emberEndDeviceBindRequest(uint8_t endpoint,
                                      EmberApsOption options);
EmberNodeId emberDecodeAddressResponse(EmberMessageBuffer response,
                                       EmberEUI64 eui64Return);

#endif // SILABS_ZIGBEE_DEVICE_LIBRARY_H

Service Discovery Functions#

emberMatchDescriptorsRequest(EmberNodeId target, uint16_t profile, EmberMessageBuffer inClusters, EmberMessageBuffer outClusters, EmberApsOption options)

Binding Manager Functions#

emberEndDeviceBindRequest(uint8_t endpoint, EmberApsOption options)

Function to Decode Address Response Messages#

EmberNodeId
emberDecodeAddressResponse(EmberMessageBuffer response, EmberEUI64 eui64Return)

Service Discovery Functions Documentation#

emberMatchDescriptorsRequest#

EmberStatus emberMatchDescriptorsRequest (EmberNodeId target, uint16_t profile, EmberMessageBuffer inClusters, EmberMessageBuffer outClusters, EmberApsOption options)
Parameters
N/Atarget

The node whose matching endpoints are desired. The request can be sent unicast or broadcast ONLY to the "RX-on-when-idle-address" (0xFFFD) If sent as a broadcast, any node that has matching endpoints will send a response.

N/Aprofile

The application profile to match.

N/AinClusters

The list of input clusters. To not match any input clusters, use ::EMBER_NULL_MESSAGE_BUFFER.

N/AoutClusters

The list of output clusters. To not match any output clusters, use ::EMBER_NULL_MESSAGE_BUFFER.

N/Aoptions

The options to use when sending the unicast request. See emberSendUnicast() for a description. This parameter is ignored if the target is a broadcast address.

Request the specified node to send a list of its endpoints that match the specified application profile and, optionally, lists of input and/or output clusters.

Returns


Definition at line 113 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/util/zigbee-framework/zigbee-device-library.h

Binding Manager Functions Documentation#

emberEndDeviceBindRequest#

EmberStatus emberEndDeviceBindRequest (uint8_t endpoint, EmberApsOption options)
Parameters
N/Aendpoint

The endpoint on the local device whose simple descriptor will be used to create the request.

N/Aoptions

The options to use when sending the request. See emberSendUnicast() for a description.

An end device bind request to the coordinator. The simple descriptor of the specified endpoint is used to construct the request. If the coordinator receives a second end device bind request then a binding is created for every matching cluster.

Returns


Definition at line 137 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/util/zigbee-framework/zigbee-device-library.h

Function to Decode Address Response Messages Documentation#

emberDecodeAddressResponse#

EmberNodeId emberDecodeAddressResponse (EmberMessageBuffer response, EmberEUI64 eui64Return)
Parameters
N/Aresponse

The received ZDO message with cluster ID NETWORK_ADDRESS_RESPONSE or IEEE_ADDRESS_RESPONSE.

N/Aeui64Return

The EUI64 from the response is copied here.

Extracts the EUI64 and the node ID from an address response message.

Returns


Definition at line 155 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/util/zigbee-framework/zigbee-device-library.h