/**
* @brief Returns readable Zigbee profile id.
* @since_tizen 5.0
- * @param[in] profileid ZigBee profile id
+ * @param[in] profileid Zigbee profile id
* @return pointer of profile id string
*/
const char* zb_end_dev_get_profile_id_str(zb_profile_id profileid);
/**
* @brief Returns readable Zigbee device id.
* @since_tizen 5.0
- * @param[in] deviceid ZigBee device id
+ * @param[in] deviceid Zigbee device id
* @return pointer of device id string
*/
const char* zb_end_dev_get_device_id_str(zb_device_id deviceid);
/**
* @brief Returns readable Zigbee Cluster Library error code for human.
* @since_tizen 5.0
- * @param[in] id ZigBee Cluster Library Status code
+ * @param[in] id Zigbee Cluster Library Status code
* @return pointer of status code string
*/
const char* zb_zcl_get_status_str(int id);
/**
* @brief Returns readable cluster name for human.
* @since_tizen 5.0
- * @param[in] id ZigBee Cluster ID
+ * @param[in] id Zigbee Cluster ID
* @return pointer of cluster name string
*/
const char* zb_zcl_get_cluster_id_str(int id);
/**
* @ingroup CAPI_NETWORK_FRAMEWORK
- * @defgroup CAPI_NETWORK_ZIGBEE_MODULE ZigBee
+ * @defgroup CAPI_NETWORK_ZIGBEE_MODULE Zigbee
*
* @brief The Zigbee API provides functions for IoT connectivity.
*
* \#include <zigbee.h>
*
* @section CAPI_NETWORK_ZIGBEE_ZDO_MODULE_OVERVIEW Overview
- * The ZigBee Device Object (ZDO) is simply the application running
- * on endpoint 0 in every ZigBee device. (Remember, application endpoints are numbered
+ * The Zigbee Device Object (ZDO) is simply the application running
+ * on endpoint 0 in every Zigbee device. (Remember, application endpoints are numbered
* 1 through 240.)
*
- * This application, ZDO, keeps track of the state of the ZigBee device on and off the
- * network, and provides an interface to the ZigBee Device Profile (ZDP), a specialized
+ * This application, ZDO, keeps track of the state of the Zigbee device on and off the
+ * network, and provides an interface to the Zigbee Device Profile (ZDP), a specialized
* Application Profile (with profile ID 0x0000) for discovering, configuring, and
- * maintaining ZigBee devices and services on the network.
+ * maintaining Zigbee devices and services on the network.
*
* ZDO not only interacts with APS, but also interacts directly with the network layer.
* ZDO controls the network layer, telling it when to form or join a network,
* to join a network until it is successful, or until a user-specified number-of-retries has
* occurred before giving up, and informing the application of the join failure.
*
- * The over-the-air Application Profile supported by ZDO, called the ZigBee Device Profile
+ * The over-the-air Application Profile supported by ZDO, called the Zigbee Device Profile
* (ZDP), is no different than any other, and in most stacks is handled just like any other
* application object on an endpoint. ZDP services are separated into client and server.
- * Client side services (also called requests), are always optional in ZigBee, but many of the
+ * Client side services (also called requests), are always optional in Zigbee, but many of the
* server side ZDP services (also called responses), are mandatory.
* Nearly every service follows the same pattern when used. A client device (the node which
* is doing the asking) first makes a request. The server device then sends the response back
*
* More details on using features in your application can be found in the <a href="https://developer.tizen.org/development/getting-started/native-application/understanding-tizen-programming/application-filtering"><b>Feature List</b>.</a>
*
- * @since_tizen 5.0
- *
*/
/**
* \#include <zigbee.h>
*
* @section CAPI_NETWORK_ZIGBEE_ZDO_DEVICE_DISCOVERY_OVERVIEW Overview
- * The ZigBee Device Profile (ZDP) contains a set of commands for discovering various
- * aspects about nodes in the network. The ZigBee specification calls these "device
+ * The Zigbee Device Profile (ZDP) contains a set of commands for discovering various
+ * aspects about nodes in the network. The Zigbee specification calls these "device
* discovery services," which can be confusing because endpoints contain device IDs which
- * really describe individual ZigBee applications running in that node. So, when you see
+ * really describe individual Zigbee applications running in that node. So, when you see
* ZDP Device Discovery, think node-wide (not application/endpoint specific) services.
*
* Device discovery services have a few things in common:
*
* - They provide additional information about a node.
* - They are all optional from the client side, but some server side processing is
- * mandatory (a common subset among all ZigBee devices).
+ * mandatory (a common subset among all Zigbee devices).
* - They are node-wide, and do not represent any particular application, or
* Application Profile residing on an endpoint in the node.
*
* The ZDP device discovery services are listed below in the section. Notice that all the
- * ZDP services on the client side are optional. ZigBee does not require that a node be able
+ * ZDP services on the client side are optional. Zigbee does not require that a node be able
* to send NWK_addr_req , for example. But on the server side of this equation (a node
* receiving a NWK_addr_req and responding to it), the ZDP service is mandatory.
*
- * @since_tizen 5.0
- *
*/
/**
* an application. The simple descriptor contains many of the fields: an endpoint ID, a
* profile ID, cluster IDs and a device ID.
*
- * @since_tizen 5.0
- *
*/
/**
* \#include <zigbee.h>
*
* @section CAPI_NETWORK_ZIGBEE_ZCL_MODULE_OVERVIEW Overview
- * The ZigBee Cluster Library (ZCL) is intended to act as a repository for cluster
- * functionality that is developed by ZigBee and, as a consequence, it will be a
+ * The Zigbee Cluster Library (ZCL) is intended to act as a repository for cluster
+ * functionality that is developed by Zigbee and, as a consequence, it will be a
* working library with regular updates as new functionality is added. A developer
* constructing a new application profile should use the ZCL to find relevant cluster
* functionality that can be incorporated into the new profile so as not to "re-invent
- * the wheel". This also allows ZigBee profiles to be developed with more of an
+ * the wheel". This also allows Zigbee profiles to be developed with more of an
* object oriented style approach.
*
* @subsection CAPI_NETWORK_ZIGBEE_ZCL_MODULE_CLIENT_SERVER_MODEL Client/Server Model
*
* More details on using features in your application can be found in the <a href="https://developer.tizen.org/development/getting-started/native-application/understanding-tizen-programming/application-filtering"><b>Feature List</b>.</a>
*
- * @since_tizen 5.0
- *
*/
/**
*
* Generation of these commands is application dependent
*
- * @since_tizen 5.0
- *
*/
/**
* original read attributes or read attributes structured command. The status field
* shall contain a suitable status code.
*
- * @since_tizen 5.0
- *
*/
/**
* The write attributes response status record is generated in response to a write
* attributes command.
*
- * @since_tizen 5.0
- *
*/
/**
* record shall contain the identifier and the actual value of the attribute to be
* written.
*
- * @since_tizen 5.0
- *
*/
/**
* Note that attributes with data types of array, structure, set or bag cannot be
* reported.
*
- * @since_tizen 5.0
- *
*/
/**
* Note that attributes with data types of array, structure, set or bag cannot be
* reported.
*
- * @since_tizen 5.0
- *
*/
/**
* The Read Reporting Configuration Record is used to read the configuration
* details of the reporting mechanism for one or more of the attributes of a cluster
*
- * @since_tizen 5.0
- *
*/
* zone device. IAS Zone supports up to two alarm types per zone, low battery
* reports and supervision of the IAS network.
*
- * @since_tizen 5.0
- *
*/
/**
* @section CAPI_NETWORK_ZIGBEE_ZCL_ON_OFF_CLUSTER_MODULE_OVERVIEW Overview
* Attributes and commands for switching devices between 'On' and 'Off' states.
*
- * @since_tizen 5.0
- *
*/
/**
* @ingroup CAPI_NETWORK_ZIGBEE_ZCL_IAS_ZONE_CLUSTER_MODULE
- * @brief Values of the ZoneType Attribute.
+ * @brief Values of the Zone type attribute.
*
* @since_tizen 5.0
*/
typedef enum {
ZB_ZCL_IAS_ZONE_TYPE_STANDARD_CIE = 0x0000, /**< Zone type = Standard CIE, Alarm1 = System Alarm, Alarm2 = N/A */
- ZB_ZCL_IAS_ZONE_TYPE_MOTION_SENSOR = 0x000d, /**< Zone type = Motion Sensor, Alarm1 = Intrusion indication, Alarm2 = Presence indication */
+ ZB_ZCL_IAS_ZONE_TYPE_MOTION_SENSOR = 0x000d, /**< Zone type = Motion sensor, Alarm1 = Intrusion indication, Alarm2 = Presence indication */
ZB_ZCL_IAS_ZONE_TYPE_CONTACT_SWITCH = 0x0015, /**< Zone type = Contact switch, Alarm1 = 1st portal Open-Close, Alarm2 = 2nd portal Open-Close */
ZB_ZCL_IAS_ZONE_TYPE_FIRE_SENSOR = 0x0028, /**< Zone type = Fire sensor, Alarm1 = Fire indication, Alarm2 : N/A */
ZB_ZCL_IAS_ZONE_TYPE_WATER_SENSOR = 0x002a, /**< Zone type = Water sensor, Alarm1 = Water overflow indication, Alarm2 = N/A */
- ZB_ZCL_IAS_ZONE_TYPE_GAS_SENSOR = 0x002b, /**< Zone type : Gas Sensor, Alarm1 = CO indication, Alarm2 = Cooking indication */
+ ZB_ZCL_IAS_ZONE_TYPE_GAS_SENSOR = 0x002b, /**< Zone type : Gas sensor, Alarm1 = CO indication, Alarm2 = Cooking indication */
ZB_ZCL_IAS_ZONE_TYPE_PERSONAL_EMERGENCY_SENSOR = 0x002c, /**< Zone type = Personal emergency Sensor, Alarm1 = Fall / Concussion, Alarm2 = Emergency button */
- ZB_ZCL_IAS_ZONE_TYPE_MOVEMENT_SENSOR = 0x002d, /**< Zone type = Vibration or Movement Sensor, Alarm1 = Movement indication, Alarm2 = Vibration */
+ ZB_ZCL_IAS_ZONE_TYPE_MOVEMENT_SENSOR = 0x002d, /**< Zone type = Vibration or Movement sensor, Alarm1 = Movement indication, Alarm2 = Vibration */
ZB_ZCL_IAS_ZONE_TYPE_REMOTE_CONTROL = 0x010f, /**< Zone type = Remote control, Alarm1 = Panic, Alarm2 = Emergency */
ZB_ZCL_IAS_ZONE_TYPE_KEY_FOB = 0x0115, /**< Zone type : Key fob, Alarm1 = Panic, Alarm2 = Emergency */
ZB_ZCL_IAS_ZONE_TYPE_KEYPAD = 0x021d, /**< Zone type : Keypad, Alarm1 = Panic, Alarm2 = Emergency */
ZB_ZCL_IAS_ZONE_TYPE_STANDARD_WARNING_DEVICE = 0x0225, /**< Zone type = Standard Warning Device (e.g., Intruder Alarm Systems), Alarm1 = N/A, Alarm2 = N/A */
- ZB_ZCL_IAS_ZONE_TYPE_INVALID = 0xffff, /**< Zone type : Invalid Zone Type, Alarm1 = N/A, Alarm2 = N/A */
+ ZB_ZCL_IAS_ZONE_TYPE_INVALID = 0xffff, /**< Zone type : Invalid zone type, Alarm1 = N/A, Alarm2 = N/A */
} zb_zcl_ias_zone_type_e;
/**
/**
* @ingroup CAPI_NETWORK_ZIGBEE_ZCL_GLOBAL_COMMAND_MODULE
* @brief ZCL attribute types (See #zb_zcl_data_type_e).
- * @details ZigBee devices, such as thermostats, lamps, etc., are defined in terms of the
+ * @details Zigbee devices, such as thermostats, lamps, etc., are defined in terms of the
* attributes they contain, which can be written, read or reported using the
* commands defined in #zb_zcl_data_type_e details the data types and formats that
* can be used for these attributes. Note that individual clusters, which may use
ZB_ZCL_ATTR_DST_SHIFT = 0x0005, /**< Time shift. This represents a signed offset in seconds from the standard time, to be applied between the times #ZB_ZCL_ATTR_DST_START and ZB_ZCL_ATTR_DST_END to calculate the Local Time */
ZB_ZCL_ATTR_STANDARD_TIME = 0x0006, /**< Standard time. The value 0xffffffff indicates an invalid Standard Time. */
ZB_ZCL_ATTR_LOCAL_TIME = 0x0007, /**< Local time. The value 0xffffffff indicates an invalid Local Time. */
- ZB_ZCL_ATTR_LAST_SET_TIME = 0x0008, /**< The most recent time that the Time attribute was set, either internally or over the ZigBee network. The value 0xffffffff indicates an invalid lst set Time*/
+ ZB_ZCL_ATTR_LAST_SET_TIME = 0x0008, /**< The most recent time that the Time attribute was set, either internally or over the Zigbee network. The value 0xffffffff indicates an invalid lst set Time*/
ZB_ZCL_ATTR_VALID_UNTIL_TIME = 0x0009, /**< Valid until time indicates a time, later than LastSetTime, up to which the Time attribute may be trusted. 'Trusted' means that the difference between the Time attribute and the true UTC time is less than an acceptable error. */
} zb_zcl_attr_time_e;
/**
* @ingroup CAPI_NETWORK_ZIGBEE_ZCL_MODULE
- * @brief CLient to server command types for cluster: IAS Zone.
+ * @brief Client to server command types for cluster: IAS Zone.
* @details Cluster specification level: zcl-1.0-07-5123-03
* @since_tizen 5.0
* @remarks Direction : Client to Server
* @{
*/
-/* Generated Command IDs for the Alarms Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Alarm | M |
- * | 0x01 | Get alarm response | O |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Called after 'get alarm' command.
* @details The get alarm response command returns the results of a request to retrieve
unsigned int time_stamp,
void *user_data);
-/* Received Command IDs for the Alarms Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Reset Alarm | M |
- * | 0x01 | Reset all alarms | M |
- * | 0x02 | Get Alarm | O |
- * | 0x03 | Reset alarm log | O |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Sends 'reset alarm' command.
* @details This command resets a specific alarm. This is needed for some alarms that do
* Attributes and commands for determining basic information about a device,
* setting user device information such as location, enabling a device and resetting it
* to factory defaults.
- * Note: Where a physical ZigBee node supports multiple endpoints it will often be
+ * Note: Where a physical Zigbee node supports multiple endpoints it will often be
* the case that many of these settings will apply to the whole node, that is they are
* the same for every endpoint on the device. In such cases they can be implemented
* once for the node, and mapped to each endpoint.
* @retval #ZIGBEE_ERROR_PERMISSION_DENIED Permission denied
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
*/
int zb_zcl_basic_reset_factory_default(
zb_zigbee_h handle,
* @{
*/
-/* Command IDs for the Color Control Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Move to Hue | O |
- * | 0x01 | Move Hue | O |
- * | 0x02 | Step Hue | O |
- * | 0x03 | Move to Saturation | O |
- * | 0x04 | Move Saturation | O |
- * | 0x05 | Step Saturation | O |
- * | 0x06 | Move to Hue and Saturation | O |
- * | 0x07 | Move to Color | M |
- * | 0x08 | Move Color | M |
- * | 0x09 | Step Color | M |
- * | 0x0a | Move to Color Temperature | O |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Sends 'move to hue' command.
* @details On receipt of this command, a device shall also set the ColorMode attribute to the
* \#include <zigbee.h>
*
* @section CAPI_NETWORK_ZIGBEE_ZCL_GROUP_CLUSTER_MODULE_OVERVIEW Overview
- * The ZigBee specification provides the capability for group addressing. That is,
+ * The Zigbee specification provides the capability for group addressing. That is,
* any endpoint on any device may be assigned to one or more groups, each labeled
* with a 16-bit identifier (0x0001 . 0xfff7), which acts for all intents and purposes
* like a network address. Once a group is established, frames, sent having a DstAddrMode
* @{
*/
-/* Generated Command IDs for the Groups Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Add group response | M |
- * | 0x01 | View group response | M |
- * | 0x02 | Get group membership response | M |
- * | 0x03 | Remove group response | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Called after 'add group' command.
* @details The add group response is sent by the groups cluster server in response to an
unsigned short group_id,
void *user_data);
-/* Received Command IDs for the Groups Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Add group | M |
- * | 0x01 | View group | M |
- * | 0x02 | Get group membership | M |
- * | 0x03 | Remove group | M |
- * | 0x04 | Remove all group | M |
- * | 0x05 | Add group if identifying | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Sends 'add groups' command.
* @details The add group command allows the sending device to add group membership in a
* @retval #ZIGBEE_ERROR_PERMISSION_DENIED Permission denied
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
*/
int zb_zcl_identify_query(
zb_zigbee_h handle,
* @{
*/
-/* Command IDs for the Level Control Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Move to Level | M |
- * | 0x01 | Move | M |
- * | 0x02 | Step | M |
- * | 0x03 | Stop | M |
- * | 0x04 | Move to Level (with On/Off) | M |
- * | 0x05 | Move (with On/Off) | M |
- * | 0x06 | Step (with On/Off) | M |
- * | 0x07 | Stop | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Sends 'move to level' command.
* @details On receipt of this command, a device shall move from its current level to the
* @{
*/
-
-/* Commands Generated by the Poll Control Server
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Check-in | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Called after receiving 'check-in' event.
* @details The Poll Control Cluster server sends out a Check-in command to the devices to
zb_end_point ep,
void *user_data);
-/* Commands Generated by the Poll Control Client in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Check-in Response | M |
- * | 0x00 | Fast Poll Stop | M |
- * | 0x00 | Set Long Poll Interval | O |
- * | 0x00 | Set Short Poll Interval | O |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Sends 'check-in response'.
* @details The Check-in Response is sent in response to the receipt of a Check-in command.
* @{
*/
-/* Generated Command IDs for the Scenes Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Add scene response | M |
- * | 0x01 | View scene response | M |
- * | 0x02 | Remove scene response | M |
- * | 0x03 | Remove all scene response | M |
- * | 0x04 | Store scene response | M |
- * | 0x05 | Reserved | - |
- * | 0x06 | Get scene membership response | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Called after 'add scene' command.
* @details This command is generated in response to a received Add Scene command.
unsigned char *scene_list,
void *user_data);
-/* Received Command IDs for the Scenes Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Add scene | M |
- * | 0x01 | View scene | M |
- * | 0x02 | Remove scene | M |
- * | 0x03 | Remove all scene | M |
- * | 0x04 | Store scene | M |
- * | 0x05 | Recall scene | M |
- * | 0x06 | Get scene membership | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
-/* Reference : Extension field sets =
- * {{ClusterID 1, length 1, {extension field set 1}}, {ClusterID 2, length 2,
- * {extension field set 2}}, ... }.
- */
-
/**
* @brief Sends 'add scenes' command.
* @details The Add Scene command shall be addressed to a single device (not a group)
* @{
*/
-/* Command IDs for the Thermostat Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Setpoint Raise/Lower | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Sends 'setpoint raise/lower' command.
* @details The attributes for the indicated setpoint(s) shall be increased by the amount
void *user_data);
/**
+ * @internal
* @brief Creates reporting configuration response record.
* @details Allocate memory for reporting configuration response record
*
zb_zcl_report_config_response_record_h *handle);
/**
+ * @internal
* @brief Sets status to reporting configuration response record.
* @details If the attribute is not implemented on the sender or receiver of the command,
* whichever is relevant (depending on direction), this field shall be set to
zb_zcl_status_e status);
/**
+ * @internal
* @ingroup CAPI_NETWORK_ZIGBEE_ZCL_REPORTING_CONFIG_RESPONSE_RECORD_MODULE
* @brief Sets the attribute identifier to a reporting configuration response record.
* @details The attribute identifier field is 16 bits in length and shall contain the
zb_attribute_id id);
/**
+ * @internal
* @brief Sets direction to reporting configuration response record.
* @details The direction field specifies whether values of the attribute are reported
* (0x00), or whether reports of the attribute are received (0x01).
zb_zcl_fc_direction_e dir);
/**
+ * @internal
* @brief Gets direction from read reporting configuration record.
* @details The direction field specifies whether values of the attribute are reported
* (0x00), or whether reports of the attribute are received (0x01).
zb_zcl_fc_direction_e *dir);
/**
+ * @internal
* @brief Gets attribute identifier from read reporting configuration record.
* @details The attribute identifier field shall contain the identifier of the attribute
* whose reporting configuration details are to be read.
unsigned short *id);
/**
+ * @internal
* @brief Called after zb_zcl_global_discover_commands_received() and
* zb_zcl_global_discover_cmds_generated().
* @details The ZCL provides the facility to discover the commands that a cluster
void *user_data);
/**
+ * @internal
* @brief Sends 'discover command recevied' command.
* @details This function to know remote cluster on remote device can handle specific commands.
* The ZCL provides the facility to discover the commands that a cluster
void *user_data);
/**
+ * @internal
* @brief Sends 'discover command generated' command.
* @details The ZCL provides the facility to discover the commands that a cluster
* instance on a remote device can receive and generate. This is useful since an
void *user_data);
/**
+ * @internal
* @brief Called after zb_zcl_global_attr_extended_discover().
* @details The ZCL provides the facility to discover the commands that a cluster
* instance on a remote device can receive and generate. This is useful since an
void *user_data);
/**
+ * @internal
* @brief Sends 'discover attributes extended' command.
* @details This function to know remote cluster on remote device has extended commands.
* The ZCL provides the facility to discover the commands that a cluster
/**
* @ingroup CAPI_NETWORK_ZIGBEE_ZDO_MODULE
- * @brief RequestType Enumeration.
+ * @brief Request type Enumeration.
* @since_tizen 5.0
*/
typedef enum {
*
* The binding table is smart, and keeps track of both the short (16-bit NwkAddr) and long
* (IEEE) address of a node. If a destination device has changed its short address (either
- * due to a ZigBee End-Device moving from one parent to another in ZigBee stack profile
- * 0x01, or due to a address conflict in ZigBee Pro), the binding table entry is updated
+ * due to a Zigbee End-Device moving from one parent to another in Zigbee stack profile
+ * 0x01, or due to a address conflict in Zigbee Pro), the binding table entry is updated
* automatically to point to that new address.
*
*/
* The destination addressing on this command shall be unicast only, and the destination
* address shall be that of a Primary binding table cache or to the SrcAddress itself.
* The Binding Manager is optionally supported on the source device (unless that
- * device is also the ZigBee Coordinator) so that device shall issue a
+ * device is also the Zigbee Coordinator) so that device shall issue a
* #ZB_ZDP_STATUS_NOT_SUPPORTED status to the Bind_req if not supported.
*
* @since_tizen 5.0
* @details The Unbind_cb is generated in response to an Unbind_req. If the Unbind_req is
* processed and the corresponding Binding Table entry is removed from the Remote
* Device, a Status of #ZB_ZDP_STATUS_NOT_SUPPORTED is returned. If the Remote Device is not
- * the ZigBee Coordinator or the SrcAddress, a Status of #ZB_ZDP_STATUS_NOT_SUPPORTED is
+ * the Zigbee Coordinator or the SrcAddress, a Status of #ZB_ZDP_STATUS_NOT_SUPPORTED is
* returned.
*
* The supplied endpoint shall be checked to determine whether it falls within the
* specified range. If it does not, a Status of #ZB_ZDP_STATUS_INVALID_EP shall be returned.
- * If the Remote Device is the ZigBee Coordinator or SrcAddress but does not have a
+ * If the Remote Device is the Zigbee Coordinator or SrcAddress but does not have a
* Binding Table entry corresponding to the parameters received in the request, a
* Status of #ZB_ZDP_STATUS_NO_ENTRY is returned.
*
/**
* @internal
* @brief Sends 'device announce request' command.
- * @details The Device_annce is provided to enable ZigBee devices on the network to notify
- * other ZigBee devices that the device has joined or re-joined the network,
+ * @details The Device_annce is provided to enable Zigbee devices on the network to notify
+ * other Zigbee devices that the device has joined or re-joined the network,
* identifying the device's 64-bit IEEE address and new 16-bit NWK address, and
- * informing the Remote Devices of the capability of the ZigBee device.
+ * informing the Remote Devices of the capability of the Zigbee device.
*
- * This command shall be invoked for all ZigBee end devices upon join or rejoin. This
- * command may also be invoked by ZigBee routers upon join or rejoin as part of
+ * This command shall be invoked for all Zigbee end devices upon join or rejoin. This
+ * command may also be invoked by Zigbee routers upon join or rejoin as part of
* NWK address conflict resolution.
*
* The destination addressing on this primitive is
* @internal
* @brief Gets logical type from node descriptor.
* @details The logical type field of the node descriptor is three bits in length and
- * specifies the device type of the ZigBee node.
+ * specifies the device type of the Zigbee node.
*
* The logical type field shall be set to one of the non-reserved values.
*
* @since_tizen 5.0
*
* @param[in] handle The handle of node descriptor
- * @param[out] logical_type 0b000 : ZigBee coordinator \n
- * 0b001 : ZigBee router \n
- * 0b010 : ZigBee end device \n
+ * @param[out] logical_type 0b000 : Zigbee coordinator \n
+ * 0b001 : Zigbee router \n
+ * 0b010 : Zigbee end device \n
*
* @return 0 on success, otherwise a negative error value.
* @retval #ZIGBEE_ERROR_NONE Successful
* @internal
* @brief Sets logical type from to descriptor.
* @details The logical type field of the node descriptor is three bits in length and
- * specifies the device type of the ZigBee node.
+ * specifies the device type of the Zigbee node.
*
* The logical type field shall be set to one of the non-reserved values.
*
* @since_tizen 5.0
*
* @param[in] handle The handle of node descriptor
- * @param[in] logical_type 0b000 : ZigBee coordinator \n
- * 0b001 : ZigBee router \n
- * 0b010 : ZigBee end device \n
+ * @param[in] logical_type 0b000 : Zigbee coordinator \n
+ * 0b001 : Zigbee router \n
+ * 0b010 : Zigbee end device \n
*
* @return 0 on success, otherwise a negative error value.
* @retval #ZIGBEE_ERROR_NONE Successful
* @internal
* @brief Gets manufacturer code from node descriptor.
* @details The manufacturer code field of the node descriptor is sixteen bits in length
- * and specifies a manufacturer code that is allocated by the ZigBee Alliance, relating
+ * and specifies a manufacturer code that is allocated by the Zigbee Alliance, relating
* the manufacturer to the device.
*
* @since_tizen 5.0
* @internal
* @brief Sets manufacturer code to node descriptor.
* @details The manufacturer code field of the node descriptor is sixteen bits in length
- * and specifies a manufacturer code that is allocated by the ZigBee Alliance, relating
+ * and specifies a manufacturer code that is allocated by the Zigbee Alliance, relating
* the manufacturer to the device.
*
* @since_tizen 5.0
*
* @section CAPI_NETWORK_ZIGBEE_ZDO_NETWORK_MANAGER_OVERVIEW Overview
* The Network Management services are really handy optional services used for reading the
- * various tables contained within ZigBee nodes, and to request certain common actions
+ * various tables contained within Zigbee nodes, and to request certain common actions
*
* @since_tizen 5.0
*
/**
* @internal
* @brief Sends 'find Node cache store request' command.
- * @details The Find_node_cache_req is provided to enable ZigBee devices on the network to
+ * @details The Find_node_cache_req is provided to enable Zigbee devices on the network to
* broadcast to all devices for which macRxOnWhenIdle = TRUE a request to find a
* device on the network that holds discovery information for the device of interest,
* as specified in the request parameters.
/**
* @internal
* @brief Sends 'discovery store request' command.
- * @details The Discovery_store_req is provided to enable ZigBee end devices on the
+ * @details The Discovery_store_req is provided to enable Zigbee end devices on the
* network to request storage of their discovery cache information on a Primary
* Discovery Cache device.
*
/**
* @internal
* @brief Sends 'node description store request' command.
- * @details The Node_Desc_store_req is provided to enable ZigBee end devices on the
+ * @details The Node_Desc_store_req is provided to enable Zigbee end devices on the
* network to request storage of their Node Descriptor on a Primary Discovery
* Cache device which has previously received a #ZB_ZDP_STATUS_SUCCESS status from a
* Discovery_store_req to the same Primary Discovery Cache device.
/**
* @internal
* @brief Sends 'power description store request' command.
- * @details The Power_Desc_store_req is provided to enable ZigBee end devices on the
+ * @details The Power_Desc_store_req is provided to enable Zigbee end devices on the
* network to request storage of their Power Descriptor on a Primary Discovery
* Cache device which has previously received a #ZB_ZDP_STATUS_SUCCESS status from a
* Discovery_store_req to the same Primary Discovery Cache device. Included in
/**
* @internal
* @brief Sends 'active end-point store request' command.
- * @details The Simple_desc_store_req is provided to enable ZigBee end devices on the
+ * @details The Simple_desc_store_req is provided to enable Zigbee end devices on the
* network to request storage of their list of Simple Descriptors on a Primary
* Discovery Cache device which has previously received a #ZB_ZDP_STATUS_SUCCESS status
* from a Discovery_store_req to the same Primary Discovery Cache device. Note that each
/**
* @internal
* @brief Sends 'simple description store request' command.
- * @details The Simple_desc_store_req is provided to enable ZigBee end devices on the
+ * @details The Simple_desc_store_req is provided to enable Zigbee end devices on the
* network to request storage of their list of Simple Descriptors on a Primary
* Discovery Cache device which has previously received a #ZB_ZDP_STATUS_SUCCESS status
* from a Discovery_store_req to the same Primary Discovery Cache device.
/**
* @internal
* @brief Sends 'remove node cache request' command.
- * @details The Remove_node_cache_req is provided to enable ZigBee devices on the
- * network to request removal of discovery cache information for a specified ZigBee
+ * @details The Remove_node_cache_req is provided to enable Zigbee devices on the
+ * network to request removal of discovery cache information for a specified Zigbee
* end device from a Primary Discovery Cache device.
*
* The effect of a successful
* Remove_node_cache_req is to undo a previously successful Discovery_store_req
* and additionally remove any cache information stored on behalf of the specified
- * ZigBee end device on the Primary Discovery Cache device.
+ * Zigbee end device on the Primary Discovery Cache device.
*
* @since_tizen 5.0
* @privilege %http://tizen.org/privilege/zigbee
*
* @section CAPI_NETWORK_ZIGBEE_ZDO_NETWORK_MANAGER_OVERVIEW Overview
* The Network Management services are really handy optional services used for reading the
- * various tables contained within ZigBee nodes, and to request certain common actions
+ * various tables contained within Zigbee nodes, and to request certain common actions
*
* @since_tizen 5.0
*
* @details The Mgmt_Lqi_req is generated from a Local Device wishing to obtain a
* neighbor list for the Remote Device along with associated LQI values to each
* neighbor. The destination addressing on this command shall be unicast only and
- * the destination address must be that of a ZigBee Coordinator or ZigBee Router.
+ * the destination address must be that of a Zigbee Coordinator or Zigbee Router.
*
* @since_tizen 5.0
* @privlevel public
* @details The Mgmt_Rtg_req is generated from a Local Device wishing to retrieve the
* contents of the Routing Table from the Remote Device. The destination
* addressing on this command shall be unicast only and the destination address
- * must be that of the ZigBee Router or ZigBee Coordinator.
+ * must be that of the Zigbee Router or Zigbee Coordinator.
*
* @since_tizen 5.0
* @privlevel public
* implement the following processing.
*
* Upon receipt of the Mgmt_Cache_req and after support for the Mgmt_Cache_req has been verified,
- * the Remote Device shall access an internally maintained list of registered ZigBee End Devices utilizing the
+ * the Remote Device shall access an internally maintained list of registered Zigbee End Devices utilizing the
* discovery cache on this Primary Discovery Cache device. The entries reported
* shall be those, starting with StartIndex and including whole DiscoveryCacheList
* records until the limit on MSDU size, i.e., aMaxMACFrameSize is reached.
/**
* @internal
* @brief Sends 'cache management request' command.
- * @details The Mgmt_Cache_req is provided to enable ZigBee devices on the network to
- * retrieve a list of ZigBee End Devices registered with a Primary Discovery Cache
+ * @details The Mgmt_Cache_req is provided to enable Zigbee devices on the network to
+ * retrieve a list of Zigbee End Devices registered with a Primary Discovery Cache
* device.
*
* The destination addressing on this primitive shall be unicast.
*
* @param[in] handle The handle of zigbee
* @param[in] addr16 destination network address
- * @param[in] permit_duration The length of time in seconds during which the ZigBee
+ * @param[in] permit_duration The length of time in seconds during which the Zigbee
* coordinator or router will allow associations. \n
* The value 0x00 and 0xff indicate that permission is
* disabled or enabled, respectively, without a specified time
/**
* @internal
* @brief Gets extended pan id from network list record.
- * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, Zigbee
* called Mgmt_NWK_Disc_rsp (ClusterID = 0x8030) ), it has a network_list_record.
*
* Therefore this function can help parsing parameter in network_list_record.
/**
* @internal
* @brief Gets logical channel number from network list record.
- * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, Zigbee
* called Mgmt_NWK_Disc_rsp (ClusterID = 0x8030) ), it has multiple network_list_record.
*
* Therefore this function can help parsing parameter in network_list_record.
/**
* @internal
- * @brief Gets ZigBee version from network list record.
- * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, ZigBee
+ * @brief Gets Zigbee version from network list record.
+ * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, Zigbee
* called Mgmt_NWK_Disc_rsp (ClusterID = 0x8030) ), it has a network_list_record.
*
* Therefore this function can help parsing parameter in network_list_record.
* @since_tizen 5.0
*
* @param[in] handle The handle of node descriptor
- * @param[out] zigbee_version 0x0~0xf : The version of the ZigBee protocol in use
+ * @param[out] zigbee_version 0x0~0xf : The version of the Zigbee protocol in use
* in the discovered network.
*
* @return 0 on success, otherwise a negative error value.
/**
* @internal
* @brief Gets stack profile from network list record.
- * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, Zigbee
* called Mgmt_NWK_Disc_rsp (ClusterID = 0x8030) ), it has a network_list_record.
*
* Therefore this function can help parsing parameter in network_list_record.
* @since_tizen 5.0
*
* @param[in] handle The handle of node descriptor
- * @param[out] stack_profile 0x0~0xf : A ZigBee stack profile identifier indicating
+ * @param[out] stack_profile 0x0~0xf : A Zigbee stack profile identifier indicating
* the stack profile in use in the discovered network.
*
* @return 0 on success, otherwise a negative error value.
/**
* @internal
* @brief Gets beacon order from network list record.
- * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, Zigbee
* called Mgmt_NWK_Disc_rsp (ClusterID = 0x8030) ), it has a network_list_record.
*
* Therefore this function can help parsing parameter in network_list_record.
/**
* @internal
* @brief Gets superframe order from network list record.
- * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, Zigbee
* called Mgmt_NWK_Disc_rsp (ClusterID = 0x8030) ), it has a network_list_record.
*
* Therefore this function can help parsing parameter in network_list_record.
/**
* @internal
* @brief Gets permit joining from network list record.
- * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_nwk_disc_cb() callback (originally, Zigbee
* called Mgmt_NWK_Disc_rsp (ClusterID = 0x8030) ), it has a network_list_record.
*
* Therefore this function can help parsing parameter in network_list_record.
*
* @param[in] handle The handle of node descriptor
* @param[out] permit_joining 0 or 1 : A value of TRUE indicates that at least one
- * ZigBee router on the network currently permits joining, i.e., its NWK has been
+ * Zigbee router on the network currently permits joining, i.e., its NWK has been
* issued an NLME-PERMIT-JOINING primitive and the time limit, if given, has
* not yet expired.
*
/**
* @internal
* @brief Gets extended pan id from neighbor table list record.
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
/**
* @internal
* @brief Gets IEEE address from neighbor table list record.
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
* Therefore this function can help parsing parameter in neigbor_table_list.
*
/**
* @internal
* @brief Gets network address from neighbor table list record..
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
/**
* @internal
* @brief Gets device type from neighbor table list record..
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
*
* @param[in] handle The handle of node descriptor
* @param[out] device_type The type of the neighbor device: \n
- * 0x0 = ZigBee coordinator \n
- * 0x1 = ZigBee router \n
- * 0x2 = ZigBee end device \n
+ * 0x0 = Zigbee coordinator \n
+ * 0x1 = Zigbee router \n
+ * 0x2 = Zigbee end device \n
* 0x3 = Unknown \n
*
* @return 0 on success, otherwise a negative error value.
/**
* @internal
* @brief Gets RxOnWhenIdle value from neighbor table list record..
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
/**
* @internal
* @brief Gets Relationship value from neighbor table list record.
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
/**
* @internal
* @brief Gets Permit joining value from neighbor table list record.
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
/**
* @internal
* @brief Gets Depth value from neighbor table list record.
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
* @param[in] handle The handle of node descriptor
* @param[out] depth The 0x00~nwkcMaxDepth (see. Zigbee Spec.) \n
* tree depth of the neighbor device. \n
- * A value of 0x00 indicates that the device is the ZigBee
+ * A value of 0x00 indicates that the device is the Zigbee
* coordinator for the network.
*
* @return 0 on success, otherwise a negative error value.
/**
* @internal
* @brief Gets LQI (Link-Quality Indicator) value from neighbor table list record.
- * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_lqi_cb() callback (originally, Zigbee
* called Mgmt_Lqi_rsp (ClusterID = 0x8031) ), it has multiple neigbor_table_list.
*
* Therefore this function can help parsing parameter in neigbor_table_list.
*
* @param[in] handle The handle of node descriptor
* @param[out] lqi The estimated link quality for RF transmissions from this device. \n
- * (see ZigBee specification for discussion of how this is calculated.)
+ * (see Zigbee specification for discussion of how this is calculated.)
*
* @return 0 on success, otherwise a negative error value.
* @retval #ZIGBEE_ERROR_NONE Successful
/**
* @internal
* @brief Gets source MAC address from binding table record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Bind_rsp (ClusterID = 0x8033) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in binding_table structure.
/**
* @internal
* @brief Gets SrcEndpoint from binding table record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Bind_rsp (ClusterID = 0x8033) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in binding_table structure.
/**
* @internal
* @brief Gets ClusterId from binding table record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Bind_rsp (ClusterID = 0x8033) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in binding_table structure.
/**
* @internal
* @brief Gets DstAddrMode from binding table record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Bind_rsp (ClusterID = 0x8033) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in binding_table structure.
/**
* @internal
* @brief Gets nwk DstAddr from binding table record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Bind_rsp (ClusterID = 0x8033) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in binding_table structure.
/**
* @internal
* @brief Gets ieee DstAddr from binding table record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Bind_rsp (ClusterID = 0x8033) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in binding_table structure.
/**
* @internal
* @brief Gets DstEndPoint from binding table record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Bind_rsp (ClusterID = 0x8033) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in binding_table structure.
/**
* @internal
* @brief Gets ExtendedAddress from discovery cache record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Cache_rsp (ClusterID = 0x8037) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in discovery cache list record.
/**
* @internal
* @brief Gets NetworkAddress from discovery cache record.
- * @details When received zb_zdo_mgmt_bind_cb() callback (originally, ZigBee
+ * @details When received zb_zdo_mgmt_bind_cb() callback (originally, Zigbee
* called Mgmt_Cache_rsp (ClusterID = 0x8037) ), it has multiple binding table.
*
* Therefore this function can help parsing parameter in discovery cache list record.
/**
* @ingroup CAPI_NETWORK_FRAMEWORK
- * @addtogroup CAPI_NETWORK_ZIGBEE_MODULE ZigBee
+ * @addtogroup CAPI_NETWORK_ZIGBEE_MODULE Zigbee
*
* @{
*/
int zb_set_event_cb(zb_zigbee_h handle, zb_event_cb event_handler);
/**
- * @brief Gets status code of enable commmand.
+ * @brief Gets status code of enable command.
* @since_tizen 5.0
*
* @param[in] ev Event data structure
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_list_free(zb_end_dev_info_h *list);
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_foreach_end_dev_info()
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_network_address(zb_end_dev_info_h handle,
zb_nwk_addr *addr16);
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_ieee_address(zb_end_dev_info_h handle, zb_ieee_addr addr64);
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_num_of_ep(zb_end_dev_info_h handle, unsigned char *count);
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
# @see zb_end_dev_info_get_num_of_ep()
*/
int zb_end_dev_info_get_ep_list(zb_end_dev_info_h handle, zb_end_point **ep_list);
* @retval #ZIGBEE_ERROR_IO_ERROR Unexpected d-bus error
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_mac_capability(zb_end_dev_info_h handle,
zb_zdp_mac_capability_field_e *capability);
* @retval #ZIGBEE_ERROR_IO_ERROR Unexpected d-bus error
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_alternative_pan_coordinator(
zb_end_dev_info_h handle, zb_zdp_do_pan_coordinator_e *can_do_it);
* @retval #ZIGBEE_ERROR_IO_ERROR Unexpected d-bus error
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_device_id(zb_end_dev_info_h handle, zb_end_point ep,
zb_device_id *deviceid);
* @retval #ZIGBEE_ERROR_IO_ERROR Unexpected d-bus error
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_profile_id(zb_end_dev_info_h handle, zb_end_point ep,
zb_profile_id *profileid);
* @retval #ZIGBEE_ERROR_IO_ERROR Unexpected d-bus error
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
int zb_end_dev_info_get_power_source(zb_end_dev_info_h handle,
zb_zdp_power_e *power_src);
* @retval #ZIGBEE_ERROR_IO_ERROR Unexpected d-bus error
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_get_end_dev_info_list()
+ * @see zb_end_dev_get_end_dev_info_list()
*/
-int zb_end_dev_info_get_security_capabilty(zb_end_dev_info_h handle,
+int zb_end_dev_info_get_security_capability(zb_end_dev_info_h handle,
zb_zdp_security_cap_e *sec_capability);
/**
* @param[out] start_idx Starting index into the list of associated devices for this
* report. If the RequestType in the request is Extended Response
* and there are no associated devices on the Remote Device,
- * this field shall not be included in the ZigBee data frame.
+ * this field shall not be included in the Zigbee data frame.
* If an error occurs or the RequestType in the request is
* for a Single Device Response, this field shall not
* be included.
* in the NumAssocDev field.
* If the RequestType in the request is Extended Response
* and there are no associated devices on the Remote Device,
- * this field shall not be included in the ZigBee data frame.
+ * this field shall not be included in the Zigbee data frame.
* If an error occurs or the RequestType in the request is
* for a Single Device Response, this field shall not
* be included.
* @retval #ZIGBEE_ERROR_PERMISSION_DENIED Permission denied
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zdo_nwk_addr_cb()
+ * @see zb_zdo_addr_cb()
*/
int zb_zdo_nwk_addr_req(zb_zigbee_h handle, zb_ieee_addr addr64,
zb_zdp_req_type_e request_type, unsigned char start_idx, zb_zdo_addr_cb cb,
* @retval #ZIGBEE_ERROR_PERMISSION_DENIED Permission denied
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zdo_ieee_addr_cb()
+ * @see zb_zdo_addr_cb()
*/
int zb_zdo_ieee_addr_req(zb_zigbee_h handle, zb_nwk_addr addr16, zb_zdo_addr_cb cb,
void *user_data);
* @retval #ZIGBEE_ERROR_IO_ERROR Unexpected d-bus error
* @retval #ZIGBEE_ERROR_PERMISSION_DENIED Permission denied
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
* @see zb_write_attr_status_clone()
* @see zb_write_attr_status_destroy()
* @see zb_write_attr_status_get_status()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
* @see zb_write_attr_status_create()
* @see zb_write_attr_status_destroy()
* @see zb_write_attr_status_get_status()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
* @see zb_write_attr_status_create()
* @see zb_write_attr_status_clone()
* @see zb_write_attr_status_get_status()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
* @see zb_write_attr_status_create()
* @see zb_write_attr_status_clone()
* @see zb_write_attr_status_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
* @see zb_write_attr_status_create()
* @see zb_write_attr_status_clone()
* @see zb_write_attr_status_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
* @see zb_write_attr_status_create()
* @see zb_write_attr_status_clone()
* @see zb_write_attr_status_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_write_attr_cb()
+ * @see zb_zcl_global_attr_write_cb()
* @see zb_write_attr_status_create()
* @see zb_write_attr_status_clone()
* @see zb_write_attr_status_destroy()
*
* @see zb_zcl_global_attr_write()
* @see zb_zcl_global_attr_write_undivided()
- * @see zb_zcl_global_write_attr_no_rep()
+ * @see zb_zcl_global_attr_write_no_rsp()
* @see zb_write_attr_record_destroy()
* @see zb_write_attr_record_set_id()
* @see zb_write_attr_record_set_value()
*
* @see zb_zcl_global_attr_write()
* @see zb_zcl_global_attr_write_undivided()
- * @see zb_zcl_global_write_attr_no_rep()
+ * @see zb_zcl_global_attr_write_no_rsp()
* @see zb_write_attr_record_create()
- * @see zb_write_attr_record_clone()
* @see zb_write_attr_record_set_id()
* @see zb_write_attr_record_set_value()
*/
*
* @see zb_zcl_global_attr_write()
* @see zb_zcl_global_attr_write_undivided()
- * @see zb_zcl_global_write_attr_no_rep()
+ * @see zb_zcl_global_attr_write_no_rsp()
* @see zb_write_attr_record_create()
* @see zb_write_attr_record_destroy()
* @see zb_write_attr_record_set_value()
*
* @see zb_zcl_global_attr_write()
* @see zb_zcl_global_attr_write_undivided()
- * @see zb_zcl_global_write_attr_no_rep()
+ * @see zb_zcl_global_attr_write_no_rsp()
* @see zb_write_attr_record_create()
* @see zb_write_attr_record_destroy()
* @see zb_write_attr_record_set_id()
*
* @see zb_zcl_global_attr_write()
* @see zb_zcl_global_attr_write_undivided()
- * @see zb_zcl_global_write_attr_no_rep()
+ * @see zb_zcl_global_attr_write_no_rsp()
* @see zb_write_attr_record_create()
* @see zb_write_attr_record_destroy()
* @see zb_write_attr_record_set_id()
* @retval #ZIGBEE_ERROR_PERMISSION_DENIED Permission denied
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @see zb_report_config_record_get_id()
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
* @retval #ZIGBEE_ERROR_NO_DATA No data
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_destroy()
* @see zb_report_config_record_get_id()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_get_id()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @retval #ZIGBEE_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ZIGBEE_ERROR_NOT_SUPPORTED Not supported
*
- * @see zb_zcl_global_read_report_config_cb()
+ * @see zb_zcl_global_config_report_read_cb()
* @see zb_report_config_record_create()
* @see zb_report_config_record_clone()
* @see zb_report_config_record_destroy()
* @{
*/
-/* Generated Command IDs for the IAS Zone Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Zone Status Change Notification | M |
- * | 0x01 | Zone Enroll Request | M |
- * | 0x11 | Zone Status Change Notification (Ext)| M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
-
-/* Received Command IDs for the IAS Zone Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Zone Enroll Response | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief Values of the Enroll Response Code in Zigbee Cluster Library.
*
* @{
*/
-/* Command IDs for the On/Off Cluster in Zigbee Cluster Library
- * +--------------------------------+--------------------------------------+------------+
- * |Command Identifier Field Value | Description | Mandatory/ |
- * | | | Optional |
- * +--------------------------------+--------------------------------------+------------+
- * | 0x00 | Off | M |
- * | 0x01 | On | M |
- * | 0x02 | Toggle | M |
- * +--------------------------------+--------------------------------------+------------+
- */
-
/**
* @brief On/Off/Toggle value.
*
/**
* @ingroup CAPI_NETWORK_FRAMEWORK
- * @addtogroup CAPI_NETWORK_ZIGBEE_MODULE ZigBee
+ * @addtogroup CAPI_NETWORK_ZIGBEE_MODULE Zigbee
*
* @{
*/
* @platform
* @internal
* @brief Sets start-up attribute set.
- * @details In order to ensure interoperability, all ZigBee HA devices should implement
+ * @details In order to ensure interoperability, all Zigbee HA devices should implement
* compatible Startup Attribute Sets (SAS). This does not mean that set must be
* modifiable through a commissioning cluster, but that the device must internally
* implement these stack settings to ensure compatibility and consistent user
list = NULL;
}
g_variant_iter_free(iter);
- if (NULL != mac_iter)
+ if (mac_iter) {
g_variant_iter_free(mac_iter);
- if (NULL != endpoint_iter)
+ mac_iter = NULL;
+ }
+ if (endpoint_iter) {
g_variant_iter_free(endpoint_iter);
+ endpoint_iter = NULL;
+ }
g_variant_unref(variant);
return ZIGBEE_ERROR_IO_ERROR;
}
DBG("Endpoint : %d", value_endpoint);
k++;
}
- g_variant_iter_free(endpoint_iter);
+ if (endpoint_iter) {
+ g_variant_iter_free(endpoint_iter);
+ endpoint_iter = NULL;
+ }
/* Get IEEE address */
while (g_variant_iter_loop(mac_iter, "y", &value)) {
node_mac_address[j] = value;
j++;
}
- g_variant_iter_free(mac_iter);
+ if (mac_iter) {
+ g_variant_iter_free(mac_iter);
+ mac_iter = NULL;
+ }
memcpy(list[i]->addr64, node_mac_address, sizeof(zb_ieee_addr));
DBG("Node MAC Addr : %02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X",
RETV_IF(NULL == ep_list, ZIGBEE_ERROR_INVALID_PARAMETER);
ret = zbl_get_endpoint_list(addr64, &cnt, eplist);
- *count = cnt;
- if (cnt > 0) {
- *ep_list = calloc(cnt + 1, sizeof(unsigned char));
- RETV_IF(NULL == *ep_list, ZIGBEE_ERROR_OUT_OF_MEMORY);
- memcpy(*ep_list, eplist, cnt);
+ if (ZIGBEE_ERROR_NONE == ret) {
+ if (cnt > 0) {
+ *ep_list = calloc(cnt + 1, sizeof(unsigned char));
+ if (NULL == *ep_list) {
+ *count = 0;
+ return ZIGBEE_ERROR_OUT_OF_MEMORY;
+ }
+ memcpy(*ep_list, eplist, cnt);
+ *count = cnt;
+ }
}
return ret;
}
ret = zbl_get_cluster_list(addr64, ep, &in_cnt, in_clusters,
&out_cnt, out_clusters);
- *in_cluster_count = in_cnt;
- if (in_cnt > 0) {
- *in_cluster_list = calloc(in_cnt + 1, sizeof(unsigned short));
- RETV_IF(NULL == *in_cluster_list, ZIGBEE_ERROR_OUT_OF_MEMORY);
- memcpy(*in_cluster_list, in_clusters, in_cnt * sizeof(unsigned short));
- }
- *out_cluster_count = out_cnt;
- if (out_cnt > 0) {
- *out_cluster_list = calloc(out_cnt + 1, sizeof(unsigned short));
- RETV_IF(NULL == *out_cluster_list, ZIGBEE_ERROR_OUT_OF_MEMORY);
- memcpy(*out_cluster_list, out_clusters, out_cnt * sizeof(unsigned short));
+ if (ZIGBEE_ERROR_NONE == ret) {
+ if (in_cnt > 0) {
+ *in_cluster_list = calloc(in_cnt + 1, sizeof(unsigned short));
+ RETV_IF(NULL == *in_cluster_list, ZIGBEE_ERROR_OUT_OF_MEMORY);
+ memcpy(*in_cluster_list, in_clusters, in_cnt * sizeof(unsigned short));
+ *in_cluster_count = in_cnt;
+ }
+
+ if (out_cnt > 0) {
+ *out_cluster_list = calloc(out_cnt + 1, sizeof(unsigned short));
+ if (NULL == *out_cluster_list) {
+ if (in_cluster_list) {
+ free(in_cluster_list);
+ in_cluster_list = NULL;
+ }
+ return ZIGBEE_ERROR_OUT_OF_MEMORY;
+ }
+ memcpy(*out_cluster_list, out_clusters, out_cnt * sizeof(unsigned short));
+ *out_cluster_count = out_cnt;
+ }
}
return ret;
return ZIGBEE_ERROR_NONE;
}
-API int zb_end_dev_info_get_security_capabilty(zb_end_dev_info_h handle,
+API int zb_end_dev_info_get_security_capability(zb_end_dev_info_h handle,
zb_zdp_security_cap_e*sec_capability)
{
struct zb_end_device_info_s *h = handle;
st_ep4.in_clusters[4] = 0xFC46;
st_ep4.out_clusters[0] = ZB_ZCL_CLUSTER_OTA_BOOTLOAD;
- /* Things Simulator - GE_ZigBeeDimmer */
+ /* Things Simulator - GE_ZigbeeDimmer */
dimmer_ep1.ep = 1;
dimmer_ep1.profileid = 0x0104;
dimmer_ep1.deviceid = 0xffff;
if (ZIGBEE_ERROR_NONE != ret) {
msg("zb_end_dev_get_cluster_list (%d) - FAILED!!! [%s]",
ret, zigbee_error_to_string(ret));
+ if (in_cluster_list) {
+ free(in_cluster_list);
+ in_cluster_list = NULL;
+ }
+ if (out_cluster_list) {
+ free(out_cluster_list);
+ out_cluster_list = NULL;
+ }
return RET_FAILURE;
}
mainloop = g_main_loop_new(NULL, FALSE);
msg("");
- msg("* ZigBee Test application ");
+ msg("* Zigbee Test application ");
msg("* Build On: %s %s", __DATE__, __TIME__);
if (__create_init_menu(init_menu) == FALSE)