* @since_tizen 3.0
*/
typedef struct {
- char channel; /**< Channel */
+ unsigned char channel; /**< Channel */
} ZigbeeServiceCoexStart_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- char permit_join; /* 1 - Allow, 0 - Disallow */
+ unsigned char permit_join; /* 1 - Allow, 0 - Disallow */
int duration; /**< Duration */
} ZigbeeServicePermitJoin_t;
* @since_tizen 3.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char remove_child; /* Remove child */
- char rejoin; /**< Re-join */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char remove_child; /* Remove child */
+ unsigned char rejoin; /**< Re-join */
} ZigbeeServiceLeaveRequest_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
} ZigbeeServiceGetEndpointList_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char endpoint; /**< Endpoint */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char endpoint; /**< Endpoint */
} ZigbeeServiceGetClusterList_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
} ZigbeeServiceGetNodeType_t;
/* --------------------------------------------------------------------------------------
*/
typedef struct {
int result; /**< Result */
- char enabled; /**< Enabled / Disabled result */
-} ZigbeeServiceServiceState_t;
+ unsigned char enabled; /**< Enabled / Disabled result */
+} ZigbeeServiceServiceStateResp_t;
/**
* @brief Definition for get network info structure.
*/
typedef struct {
int result; /**< Result */
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- short node_id; /**< Node ID (an Network address) */
- short pan_id; /**< PAN ID (an Network address) */
- char channel; /**< Channel number */
- char radio_tx_power; /**< Power (dBm) */
-} ZigbeeServiceGetNetworkInfo_t;
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned short node_id; /**< Node ID (an Network address) */
+ unsigned short pan_id; /**< PAN ID (an Network address) */
+ unsigned char channel; /**< Channel number */
+ unsigned char radio_tx_power; /**< Power (dBm) */
+} ZigbeeServiceGetNetworkInfoResp_t;
/**
* @brief Definition for service 'get_node_type' response.
*/
typedef struct {
int result; /**< Result */
- char node_type; /**< Node Type */
-} ZigbeeServiceServiceNodeType_t;
+ unsigned char node_type; /**< Node Type */
+} ZigbeeServiceServiceNodeTypeResp_t;
/**
* @brief Definition for service get mac structure.
*/
typedef struct {
int result; /**< Result */
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
-} ZigbeeServiceGetMac_t;
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+} ZigbeeServiceGetMacResp_t;
+
+/**
+ * @brief Definition for service get details of device info structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+ unsigned short node_id; /**< Node ID (an Network address) */
+ unsigned char node_type; /**< Node Type (an Network address) */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char endpoint_count; /**< The number of endpoints */
+ unsigned char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
+} ZigbeeServiceGetDeviceInfoDetailResp_t;
+
+/**
+ * @brief Definition for service get device info structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+ int result; /**< Result */
+ int count; /**< The number of detail item */
+ ZigbeeServiceGetDeviceInfoDetailResp_t *list;
+} ZigbeeServiceGetDeviceInfoResp_t;
+
+/**
+ * @brief Definition for service get endpoint list structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+ int result; /**< Result */
+ int endpoint_count; /**< The number of endpoints */
+ unsigned char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
+} ZigbeeServiceGetEndpointListResp_t;
+
+/**
+ * @brief Definition for service get cluster list structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+ int result; /**< Result */
+ int cluster_count; /**< The number of clusters */
+ unsigned char clusters[ZIGBEE_MAX_CLUSTERS]; /**< Clusters */
+} ZigbeeServiceGetClusterListResp_t;
+
+/**
+ * @brief Definition for service get node type structure.
+ * @since_tizen 3.0
+ */
+typedef struct {
+ int result; /**< Result */
+ unsigned char node_type; /**< Node Type (an Network address) */
+} ZigbeeServiceGetNodeTypeResp_t;
/* --------------------------------------------------------------------------------------
* For Notifications
* @since_tizen 4.0
*/
typedef struct {
- short pan_id; /**< PAN ID */
+ unsigned short pan_id; /**< PAN ID */
} ZigbeeServiceServiceFormNetworkDone_t;
/**
+ * @brief Definition for service 'child_joined' response.
+ * @since_tizen 4.0
+ */
+typedef struct {
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ int endpoint_count; /**< The number of endpoints */
+ unsigned char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
+ unsigned short node_id; /**< Node ID (an Network address) */
+} ZigbeeServiceServiceChildJoined_t;
+
+/**
* @brief Definition for service 'child_rejoined' response.
* @since_tizen 4.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
} ZigbeeServiceServiceChildRejoined_t;
/**
* @since_tizen 4.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char status; /**< status */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char status; /**< status */
} ZigbeeServiceServiceChildLeft_t;
/**
* @since_tizen 4.0
*/
typedef struct {
- short pan_id; /**< PAN ID */
+ unsigned short pan_id; /**< PAN ID */
} ZigbeeServiceServiceLeaveNetworkDone_t;