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


sl_status_t sl_zigbee_match_descriptors_request(sl_802154_short_addr_t target,
                                                uint16_t profile,
                                                uint8_t inCount,
                                                uint16_t* inClusters,
                                                uint8_t outCount,
                                                uint16_t* outClusters,
                                                sl_zigbee_aps_option_t options);
#endif // SILABS_ZIGBEE_DEVICE_LIBRARY_H

Service Discovery Functions#

sl_status_t
sl_zigbee_match_descriptors_request(sl_802154_short_addr_t target, uint16_t profile, uint8_t inCount, uint16_t *inClusters, uint8_t outCount, uint16_t *outClusters, sl_zigbee_aps_option_t options)

Service Discovery Functions Documentation#

sl_zigbee_match_descriptors_request#

sl_status_t sl_zigbee_match_descriptors_request (sl_802154_short_addr_t target, uint16_t profile, uint8_t inCount, uint16_t * inClusters, uint8_t outCount, uint16_t * outClusters, sl_zigbee_aps_option_t 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/AinCount

Number of clusters in the input list.

N/AinClusters

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

N/AoutCount

Number of clusters in the output list.

N/AoutClusters

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

N/Aoptions

The options to use when sending the unicast request. See sl_zigbee_send_unicast() 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

  • An sl_status_t value. ::SL_STATUS_OK, ::SL_STATUS_ALLOCATION_FAILED, ::SL_STATUS_NETWORK_DOWN or ::SL_STATUS_BUSY.


Definition at line 117 of file app/util/zigbee-framework/zigbee-device-library.h