* @since_tizen 3.0
*/
typedef struct {
- short node_id;
- char aps_frame_ctrl;
- char src_ep;
- char dest_ep;
- short cluster_id;
- short profile_id;
- char zcl_frame_ctrl;
- short mfg_code;
- char cmd_id;
- short payload_len;
- char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
+ unsigned short node_id;
+ unsigned char aps_frame_ctrl;
+ unsigned char src_ep;
+ unsigned char dest_ep;
+ unsigned short cluster_id;
+ unsigned short profile_id;
+ unsigned char zcl_frame_ctrl;
+ unsigned short mfg_code;
+ unsigned char cmd_id;
+ unsigned short payload_len;
+ unsigned char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
} ZigbeeCustomApsSend_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id;
- char src_ep;
- char dest_ep;
- short cluster_id;
- char zcl_frame_ctrl;
- char cmd_id;
- short payload_len;
- char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
+ unsigned short node_id;
+ unsigned char src_ep;
+ unsigned char dest_ep;
+ unsigned short cluster_id;
+ unsigned char zcl_frame_ctrl;
+ unsigned char cmd_id;
+ unsigned short payload_len;
+ unsigned char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
} ZigbeeCustomZclSend_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short length;
- char data[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
+ unsigned short length;
+ unsigned char data[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
} ZigbeeCustomSendToLocal_t;
/* --------------------------------------------------------------------------------------
* @since_tizen 3.0
*/
typedef struct {
- short node_id;
- char src_ep;
- char dest_ep;
- short cluster_id;
- short profile_id;
- char cmd_id;
- short payload_len;
- char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
+ unsigned short node_id;
+ unsigned char src_ep;
+ unsigned char dest_ep;
+ unsigned short cluster_id;
+ unsigned short profile_id;
+ unsigned char cmd_id;
+ unsigned short payload_len;
+ unsigned char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
} ZigbeeCustomApsSendNoti_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id;
- char src_ep;
- char dest_ep;
- short cluster_id;
- short profile_id;
- char cmd_id;
- short payload_len;
- char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
+ unsigned short node_id;
+ unsigned char src_ep;
+ unsigned char dest_ep;
+ unsigned short cluster_id;
+ unsigned short profile_id;
+ unsigned char cmd_id;
+ unsigned short payload_len;
+ unsigned char payload[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
} ZigbeeCustomZclSendNoti_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short length;
- char data[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
+ unsigned short length;
+ unsigned char data[ZIGBEE_CUSTOM_SEND_PAYLOAD_LEN];
} ZigbeeCustomSendToLocalNoti_t;
#endif /* __ZIGBEE_CUSTOM_TYPE_H__ */
* @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 */
+ unsigned char enabled; /**< Enabled / Disabled result */
} ZigbeeServiceServiceStateResp_t;
/**
*/
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) */
+ 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;
/**
*/
typedef struct {
int result; /**< Result */
- char node_type; /**< Node Type */
+ unsigned char node_type; /**< Node Type */
} ZigbeeServiceServiceNodeTypeResp_t;
/**
*/
typedef struct {
int result; /**< Result */
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
} ZigbeeServiceGetMacResp_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID (an Network address) */
- char node_type; /**< Node Type (an Network address) */
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char endpoint_count; /**< The number of endpoints */
- char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
+ 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;
/**
typedef struct {
int result; /**< Result */
int endpoint_count; /**< The number of endpoints */
- char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
+ unsigned char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
} ZigbeeServiceGetEndpointListResp_t;
/**
typedef struct {
int result; /**< Result */
int cluster_count; /**< The number of clusters */
- char clusters[ZIGBEE_MAX_CLUSTERS]; /**< Clusters */
+ unsigned char clusters[ZIGBEE_MAX_CLUSTERS]; /**< Clusters */
} ZigbeeServiceGetClusterListResp_t;
/**
*/
typedef struct {
int result; /**< Result */
- char node_type; /**< Node Type (an Network address) */
+ unsigned char node_type; /**< Node Type (an Network address) */
} ZigbeeServiceGetNodeTypeResp_t;
/* --------------------------------------------------------------------------------------
* @since_tizen 4.0
*/
typedef struct {
- short pan_id; /**< PAN ID */
+ unsigned short pan_id; /**< PAN ID */
} ZigbeeServiceServiceFormNetworkDone_t;
/**
* @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) */
int endpoint_count; /**< The number of endpoints */
- char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
- short node_id; /**< Node ID (an Network address) */
+ unsigned char endpoints[ZIGBEE_MAX_ENDPOINTS]; /**< Endpoints */
+ unsigned short node_id; /**< Node ID (an Network address) */
} ZigbeeServiceServiceChildJoined_t;
/**
* @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;
*/
typedef struct {
unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char endpoint; /**< Endpoint */
+ unsigned char endpoint; /**< Endpoint */
} ZigbeeZclAlarmGetAlarmCount_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char alarm_code; /**< Alarm code */
- short cluster_id; /**< Cluster ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char alarm_code; /**< Alarm code */
+ unsigned short cluster_id; /**< Cluster ID */
} ZigbeeZclAlarmResetAlarm_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
} ZigbeeZclAlarmResetAllAlarm_t;
/**
*/
typedef struct {
unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char endpoint; /**< Endpoint */
- char alarm_code; /**< Alarm code */
- short cluster_id; /**< Cluster ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char alarm_code; /**< Alarm code */
+ unsigned short cluster_id; /**< Cluster ID */
} ZigbeeZclAlarmAlarm_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
} ZigbeeZclAlarmResetAlarmLogs_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
} ZigbeeZclAlarmGetAlarm_t;
/* --------------------------------------------------------------------------------------
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char status; /**< Status */
- char alarm_code; /**< Alarm code */
- short clusterid; /**< Cluster ID */
- int timestamp; /**< Time stamp */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char status; /**< Status */
+ unsigned char alarm_code; /**< Alarm code */
+ unsigned short clusterid; /**< Cluster ID */
+ unsigned int timestamp; /**< Time stamp */
} ZigbeeZclAlarmGetAlarmRsp_t;
#endif /* __ZIGBEE_ZCL_ALARM_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
} ZigbeeZclBasicResetFactoryDefault_t;
#endif /* __ZIGBEE_ZCL_BASIC_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char hue; /**< Hue */
- char direction; /**< Direction */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char hue; /**< Hue */
+ unsigned char direction; /**< Direction */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToHue_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char move_mode; /**< Move mode */
- char rate; /**< Rate */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char move_mode; /**< Move mode */
+ unsigned char rate; /**< Rate */
} ZigbeeZclColorControlMoveHue_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char step_mode; /**< Step mode */
- char step_size; /**< Step size */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char step_mode; /**< Step mode */
+ unsigned char step_size; /**< Step size */
+ unsigned char transition_time; /**< Transition time */
} ZigbeeZclColorControlStepHue_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char saturation; /**< Saturation */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char saturation; /**< Saturation */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char move_mode; /**< Move mode */
- char rate; /**< Rate */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char move_mode; /**< Move mode */
+ unsigned char rate; /**< Rate */
} ZigbeeZclColorControlMoveSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char step_mode; /**< Step mode */
- char step_size; /**< Step size */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char step_mode; /**< Step mode */
+ unsigned char step_size; /**< Step size */
+ unsigned char transition_time; /**< Transition time */
} ZigbeeZclColorControlStepSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char hue; /**< Hue */
- char saturation; /**< Saturation */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char hue; /**< Hue */
+ unsigned char saturation; /**< Saturation */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToHueAndSaturation_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short color_x; /**< Color X */
- short color_y; /**< Color Y */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short color_x; /**< Color X */
+ unsigned short color_y; /**< Color Y */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveToColor_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short rate_x; /**< Rate X */
- short rate_y; /**< Rate Y */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short rate_x; /**< Rate X */
+ unsigned short rate_y; /**< Rate Y */
} ZigbeeZclColorControlMoveColor_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short step_x; /**< Step X */
- short step_y; /**< Step Y */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short step_x; /**< Step X */
+ unsigned short step_y; /**< Step Y */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlStepColor_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short color_temperature; /**< Color temperature*/
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short color_temperature; /**< Color temperature*/
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclColorControlMoveColorTemperature_t;
#endif /* __ZIGBEE_ZCL_COLOR_CONTROL_TYPE_H__ */
* @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 */
} ZigbeeZclDoorLockSubscriberLockEvent_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short uid;
- char ustatus;
- char utype;
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char endpoint; /**< Endpoint */
+ unsigned short uid;
+ unsigned char ustatus;
+ unsigned char utype;
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char endpoint; /**< Endpoint */
char pin[ZIGBEE_DOOR_LOCK_MAX_PIN_LEN + 1];
} ZigbeeZclDoorLockSetDoorLockPin_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 */
char pin[ZIGBEE_DOOR_LOCK_MAX_PIN_LEN + 1];
int lock_unlock_type;
} ZigbeeZclDoorLockSetDoorLock_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 */
} ZigbeeZclDoorLockGetDoorLock_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 */
} ZigbeeZclFanControlSetFanMode_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 */
} ZigbeeZclFanControlGetFanMode_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 */
} ZigbeeZclFanControlSetFanModeSequence_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 */
} ZigbeeZclFanControlGetFanModeSequence_t;
#endif /* __ZIGBEE_ZCL_FAN_CONTROL_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
char group_name[ZIGBEE_ZCL_GROUP_NAME_MAX_LEN + 1]; /**< Group name (NULL terminated) */
} ZigbeeZclGroupAddGroup_t;
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
} ZigbeeZclGroupViewGroup_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char group_count; /**< Group count */
- short *group_list; /**< Group list */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char group_count; /**< Group count */
+ unsigned short *group_list; /**< Group list */
} ZigbeeZclGroupGetGroupMembership_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
} ZigbeeZclGroupRemoveGroup_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
} ZigbeeZclGroupRemoveAllGroup_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
char group_name[ZIGBEE_ZCL_GROUP_NAME_MAX_LEN + 1]; /**< Group name (NULL terminated) */
} ZigbeeZclGroupAddGroupIfIdentifying_t;
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char status; /**< Status code */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char status; /**< Status code */
+ unsigned short group_id; /**< Group ID */
} ZigbeeZclGroupAddGroupNoti_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char status; /**< Status code */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char status; /**< Status code */
+ unsigned short group_id; /**< Group ID */
char group_name[ZIGBEE_ZCL_GROUP_NAME_MAX_LEN + 1]; /**< Group name (NULL terminated) */
} ZigbeeZclGroupViewGroupNoti_t;
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char capacity; /**< Capacity of group */
- char group_count; /**< Group ID */
- short *group_list; /**< Group list */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char capacity; /**< Capacity of group */
+ unsigned char group_count; /**< Group ID */
+ unsigned short *group_list; /**< Group list */
} ZigbeeZclGroupGetGroupMembershipNoti_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char status; /**< Status code */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char status; /**< Status code */
+ unsigned short group_id; /**< Group ID */
} ZigbeeZclGroupRemoveGroupNoti_t;
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char enroll_code; /**< Enroll code */
- char zone_id; /**< Zone ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char enroll_code; /**< Enroll code */
+ unsigned char zone_id; /**< Zone ID */
} ZigbeeZclIasZoneEnrollResponse_t;
/* --------------------------------------------------------------------------------------
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- short zone_status; /**< Zone status */
- char extended_status; /**< Extended status */
- char zone_id; /**< Zone ID */
- short delay; /**< Delay */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned short zone_status; /**< Zone status */
+ unsigned char extended_status; /**< Extended status */
+ unsigned char zone_id; /**< Zone ID */
+ unsigned short delay; /**< Delay */
} ZigbeeZclIasZoneStatusChangeNoti_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- short zone_type; /**< Zone type */
- char mfg_code; /**< Manufacturer code */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned short zone_type; /**< Zone type */
+ unsigned char mfg_code; /**< Manufacturer code */
} ZigbeeZclIasEnrollRequestNoti_t;
#endif /* __ZIGBEE_ZCL_IAS_ZONE_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short identify_time; /**< Identify time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short identify_time; /**< Identify time */
} ZigbeeZclIdentifyIdentify_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
} ZigbeeZclIdentifyQuery_t;
/* --------------------------------------------------------------------------------------
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- short identify_time; /**< Identify time */
+ unsigned short node_id; /**< Node ID */
+ unsigned short identify_time; /**< Identify time */
} ZigbeeZclIdentifyQueryNoti_t;
#endif /* __ZIGBEE_ZCL_IDENTIFY_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char level; /**< Level */
- short transition; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char level; /**< Level */
+ unsigned short transition; /**< Transition time */
} ZigbeeZclLevelControlMoveToLevel_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char move_mode; /**< Move mode */
- char rate; /**< Rate of movement */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char move_mode; /**< Move mode */
+ unsigned char rate; /**< Rate of movement */
} ZigbeeZclLevelControlMove_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char step_mode; /**< Step mode */
- char step_size; /**< Step size */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char step_mode; /**< Step mode */
+ unsigned char step_size; /**< Step size */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclLevelControlStep_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char level; /**< Level */
- short transition; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char level; /**< Level */
+ unsigned short transition; /**< Transition time */
} ZigbeeZclLevelControlMoveToLevelWithOnOff_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char move_mode; /**< Move mode */
- char rate; /**< Rate of movement */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char move_mode; /**< Move mode */
+ unsigned char rate; /**< Rate of movement */
} ZigbeeZclLevelControlMoveWithOnOff_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char step_mode; /**< Step mode */
- char step_size; /**< Step size */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char step_mode; /**< Step mode */
+ unsigned char step_size; /**< Step size */
+ unsigned short transition_time; /**< Transition time */
} ZigbeeZclLevelControlStepWithOnOff_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
} ZigbeeZclLevelControlStop_t;
#endif /* __ZIGBEE_ZCL_LEVEL_CONTROL_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char on_off_type; /**< ON/OFF type */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char on_off_type; /**< ON/OFF type */
} ZigbeeZclOnOffSetOnOff_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
} ZigbeeZclOnOffGetOnOffState_t;
/* -----------------------------------------------------------------------------
* @since_tizen 3.0
*/
typedef struct {
- char state; /**< ON/OFF state */
+ unsigned char state; /**< ON/OFF state */
} ZigbeeZclOnOffOnOffState_t;
#endif /* __ZIGBEE_ZCL_ON_OFF_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- char start_fast_polling; /**< Start fast polling */
- short fast_poll_timeout; /**< Fast poll timeout */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned char start_fast_polling; /**< Start fast polling */
+ unsigned short fast_poll_timeout; /**< Fast poll timeout */
} ZigbeeZclPollControlCheckInResponse_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
} ZigbeeZclPollControlFastPollStop_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
unsigned int new_long_poll_interval; /**< New long poll interval */
} ZigbeeZclPollControlSetLongPollInterval_t;
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
unsigned int new_short_poll_interval; /**< New short poll interval */
} ZigbeeZclPollControlSetShortPollInterval_t;
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
} ZigbeeZclPollControlCheckinResponseNoti_t;
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
+ unsigned short transition_time; /**< Transition time */
char scene_name[ZIGBEE_ZCL_SCENE_NAME_MAX_LEN + 1]; /**< Scene name (NULL terminated */
- short ext_field_set_len; /**< Extended field set length */
- char *ext_field_set; /**< Extended field set */
+ unsigned short ext_field_set_len; /**< Extended field set length */
+ unsigned char *ext_field_set; /**< Extended field set */
} ZigbeeZclSceneAddScene_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
} ZigbeeZclSceneViewScene_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
} ZigbeeZclSceneRemoveScene_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
} ZigbeeZclSceneStoreScene_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
} ZigbeeZclSceneRecallScene_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
} ZigbeeZclSceneRemoveAllScene_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char dest_ep; /**< Destination endpoint */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char dest_ep; /**< Destination endpoint */
+ unsigned short group_id; /**< Group ID */
} ZigbeeZclSceneGetSceneMembership_t;
/* -----------------------------------------------------------------------------
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Destination endpoint */
- char status; /**< Status */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Destination endpoint */
+ unsigned char status; /**< Status */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
} ZigbeeZclSceneAddSceneResp_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- short group_id; /**< Group ID */
- char status; /**< Status */
- char scene_id; /**< Scene ID */
- short transition_time; /**< Transition time */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned short group_id; /**< Group ID */
+ unsigned char status; /**< Status */
+ unsigned char scene_id; /**< Scene ID */
+ unsigned short transition_time; /**< Transition time */
char *scene_name; /**< Scene name (NULL terminated */
- short ext_field_set_len; /**< Extended field set length */
- char *ext_field_set; /**< Extended field set */
+ unsigned short ext_field_set_len; /**< Extended field set length */
+ unsigned char *ext_field_set; /**< Extended field set */
} ZigbeeZclSceneViewSceneResp_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char status; /**< Status */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char status; /**< Status */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
} ZigbeeZclSceneRemoveSceneResp_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char status; /**< Status */
- short group_id; /**< Group ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char status; /**< Status */
+ unsigned short group_id; /**< Group ID */
} ZigbeeZclSceneRemoveAllSceneResp_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char status; /**< Status */
- short group_id; /**< Group ID */
- char scene_id; /**< Scene ID */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char status; /**< Status */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_id; /**< Scene ID */
} ZigbeeZclSceneStoreSceneResp_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_ep; /**< Source endpoint */
- char status; /**< Status */
- char capacity; /**< Capacity */
- short group_id; /**< Group ID */
- char scene_count; /**< Scene count */
- char *scene_list; /**< Scene list */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned char status; /**< Status */
+ unsigned char capacity; /**< Capacity */
+ unsigned short group_id; /**< Group ID */
+ unsigned char scene_count; /**< Scene count */
+ unsigned char *scene_list; /**< Scene list */
} ZigbeeZclSceneGetSceneMembershipResp_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 */
} ZigbeeZclThermostatGetLocalTemp_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char endpoint; /**< Endpoint */
- char num_of_days; /**< Number of days */
- char mode; /**< Mode */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char num_of_days; /**< Number of days */
+ unsigned char mode; /**< Mode */
} ZigbeeZclThermostatGetWeeklySchedule_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
- char endpoint; /**< Endpoint */
- char no_of_transitions; /**< Number of transitions */
- char num_of_days; /**< Number of days */
- char mode; /**< Mode */
- char payload[ZIGBEE_THERMSTAT_PAYLOAD_MAX_LEN]; /**< Payload */
- char payload_len; /**< Payload length */
+ unsigned char eui64[ZIGBEE_EUI64_SIZE]; /**< EUI64 (an IEEE address) */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char no_of_transitions; /**< Number of transitions */
+ unsigned char num_of_days; /**< Number of days */
+ unsigned char mode; /**< Mode */
+ unsigned char payload[ZIGBEE_THERMSTAT_PAYLOAD_MAX_LEN]; /**< Payload */
+ unsigned char payload_len; /**< Payload length */
} ZigbeeZclThermostatSetWeeklySchedule_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 */
} ZigbeeZclThermostatClearWeeklySchedule_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char endpoint; /**< Endpoint */
- char mode; /**< Mode */
- char amount; /**< Amount */
+ unsigned short node_id; /**< Node ID */
+ unsigned char endpoint; /**< Endpoint */
+ unsigned char mode; /**< Mode */
+ unsigned char amount; /**< Amount */
} ZigbeeZclThermostatSetpointRaiseLower_t;
#endif /* __ZIGBEE_ZCL_THERMOSTAT_TYPE_H__ */
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_addr[ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1]; /**< Source address */
- char src_ep; /**< Source endpoint */
- short cluster_id; /**< Cluster ID */
- char dst_addr[ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1]; /**< Destination address */
- char bind_type; /**< Bind type */
- short group_addr; /**< Group address */
- char dst_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_addr[ZIGBEE_EUI64_SIZE]; /**< Source address */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned short cluster_id; /**< Cluster ID */
+ unsigned char dst_addr[ZIGBEE_EUI64_SIZE]; /**< Destination address */
+ unsigned char bind_type; /**< Bind type */
+ unsigned short group_addr; /**< Group address */
+ unsigned char dst_ep; /**< Destination endpoint */
} ZigbeeZdoBindBindReq_t;
/**
* @since_tizen 3.0
*/
typedef struct {
- short node_id; /**< Node ID */
- char src_addr[ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1]; /**< Source address */
- char src_ep; /**< Source endpoint */
- short cluster_id; /**< Cluster ID */
- char dst_addr[ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1]; /**< Destination address */
- char bind_type; /**< Bind type */
- short group_addr; /**< Group address */
- char dst_ep; /**< Destination endpoint */
+ unsigned short node_id; /**< Node ID */
+ unsigned char src_addr[ZIGBEE_EUI64_SIZE]; /**< Source address */
+ unsigned char src_ep; /**< Source endpoint */
+ unsigned short cluster_id; /**< Cluster ID */
+ unsigned char dst_addr[ZIGBEE_EUI64_SIZE]; /**< Destination address */
+ unsigned char bind_type; /**< Bind type */
+ unsigned short group_addr; /**< Group address */
+ unsigned char dst_ep; /**< Destination endpoint */
} ZigbeeZdoBindUnbindReq_t;
/* -----------------------------------------------------------------------------
* @since_tizen 3.0
*/
typedef struct {
- char status; /**< Status */
+ unsigned char status; /**< Status */
} ZigbeeZdoBindUnbindNoti_t;
req->node_id = in_req->node_id;
req->dest_ep = in_req->dest_ep;
req->group_count = in_req->group_count;
- req->group_list = (gshort *)g_memdup(in_req->group_list,
+ req->group_list = (gushort *)g_memdup(in_req->group_list,
in_req->group_count);
}
g_strlcpy(req->scene_name,
in_req->scene_name, ZIGBEE_ZCL_SCENE_NAME_MAX_LEN + 1);
req->ext_field_set_len = in_req->ext_field_set_len;
- req->ext_field_set = (char *)g_memdup(in_req->ext_field_set,
+ req->ext_field_set = (guchar *)g_memdup(in_req->ext_field_set,
in_req->ext_field_set_len);
}
/* Copy data */
req->node_id = in_req->node_id;
- g_strlcpy(req->src_addr,
- in_req->src_addr, ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1);
+ memcpy(req->src_addr, in_req->src_addr, ZIGBEE_EUI64_SIZE);
req->src_ep = in_req->src_ep;
req->cluster_id = in_req->cluster_id;
- g_strlcpy(req->dst_addr,
- in_req->dst_addr, ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1);
+ memcpy(req->dst_addr, in_req->dst_addr, ZIGBEE_EUI64_SIZE);
req->bind_type = in_req->bind_type;
req->group_addr = in_req->group_addr;
req->dst_ep = in_req->dst_ep;
/* Copy data */
req->node_id = in_req->node_id;
- g_strlcpy(req->src_addr,
- in_req->src_addr, ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1);
+ memcpy(req->src_addr, in_req->src_addr, ZIGBEE_EUI64_SIZE);
req->src_ep = in_req->src_ep;
req->cluster_id = in_req->cluster_id;
- g_strlcpy(req->dst_addr,
- in_req->dst_addr, ZIGBEE_ZDO_BIND_ADDRESS_MAX_LEN + 1);
+ memcpy(req->dst_addr, in_req->dst_addr, ZIGBEE_EUI64_SIZE);
req->bind_type = in_req->bind_type;
req->group_addr = in_req->group_addr;
req->dst_ep = in_req->dst_ep;