19 #ifndef __ARTIK_ZIGBEE_H__ 20 #define __ARTIK_ZIGBEE_H__ 44 typedef unsigned short ARTIK_ZIGBEE_PROFILE;
45 #define ARTIK_ZIGBEE_PROFILE_HA 0x0104 46 #define ARTIK_ZIGBEE_PROFILE_ZLL 0xC05E 47 #define ARTIK_ZIGBEE_PROFILE_GP 0xA1E0 49 typedef unsigned short ARTIK_ZIGBEE_DEVICEID;
50 #define ARTIK_ZIGBEE_DEVICE_ON_OFF_SWITCH 0x0000 51 #define ARTIK_ZIGBEE_DEVICE_LEVEL_CONTROL_SWITCH 0x0001 52 #define ARTIK_ZIGBEE_DEVICE_REMOTE_CONTROL 0x0006 53 #define ARTIK_ZIGBEE_DEVICE_ON_OFF_LIGHT 0x0100 54 #define ARTIK_ZIGBEE_DEVICE_DIMMABLE_LIGHT 0x0101 55 #define ARTIK_ZIGBEE_DEVICE_COLOR_DIMMABLE_LIGHT 0x0102 56 #define ARTIK_ZIGBEE_DEVICE_ON_OFF_LIGHT_SWITCH 0x0103 57 #define ARTIK_ZIGBEE_DEVICE_DIMMER_SWITCH 0x0104 58 #define ARTIK_ZIGBEE_DEVICE_COLOR_DIMMER_SWITCH 0x0105 59 #define ARTIK_ZIGBEE_DEVICE_LIGHT_SENSOR 0x0106 60 #define ARTIK_ZIGBEE_DEVICE_OCCUPANCY_SENSOR 0x0107 61 #define ARTIK_ZIGBEE_DEVICE_HEATING_COOLING_UNIT 0x0300 62 #define ARTIK_ZIGBEE_DEVICE_THERMOSTAT 0x0301 63 #define ARTIK_ZIGBEE_DEVICE_TEMPERATURE_SENSOR 0x0302 64 #define ARTIK_ZIGBEE_DEVICE_INVALIDATE 0x7FFF 66 #define ARTIK_ZCL_BASIC_CLUSTER_ID 0x0000 67 #define ARTIK_ZCL_POWER_CONFIG_CLUSTER_ID 0x0001 68 #define ARTIK_ZCL_DEVICE_TEMP_CLUSTER_ID 0x0002 69 #define ARTIK_ZCL_IDENTIFY_CLUSTER_ID 0x0003 70 #define ARTIK_ZCL_GROUPS_CLUSTER_ID 0x0004 71 #define ARTIK_ZCL_SCENES_CLUSTER_ID 0x0005 72 #define ARTIK_ZCL_ON_OFF_CLUSTER_ID 0x0006 73 #define ARTIK_ZCL_ON_OFF_SWITCH_CONFIG_CLUSTER_ID 0x0007 74 #define ARTIK_ZCL_LEVEL_CONTROL_CLUSTER_ID 0x0008 75 #define ARTIK_ZCL_ALARM_CLUSTER_ID 0x0009 76 #define ARTIK_ZCL_TIME_CLUSTER_ID 0x000A 77 #define ARTIK_ZCL_RSSI_LOCATION_CLUSTER_ID 0x000B 78 #define ARTIK_ZCL_BINARY_INPUT_BASIC_CLUSTER_ID 0x000F 79 #define ARTIK_ZCL_COMMISSIONING_CLUSTER_ID 0x0015 80 #define ARTIK_ZCL_PARTITION_CLUSTER_ID 0x0016 81 #define ARTIK_ZCL_OTA_BOOTLOAD_CLUSTER_ID 0x0019 82 #define ARTIK_ZCL_POWER_PROFILE_CLUSTER_ID 0x001A 83 #define ARTIK_ZCL_APPLIANCE_CONTROL_CLUSTER_ID 0x001B 84 #define ARTIK_ZCL_POLL_CONTROL_CLUSTER_ID 0x0020 85 #define ARTIK_ZCL_SHADE_CONFIG_CLUSTER_ID 0x0100 86 #define ARTIK_ZCL_DOOR_LOCK_CLUSTER_ID 0x0101 87 #define ARTIK_ZCL_WINDOW_COVERING_CLUSTER_ID 0x0102 88 #define ARTIK_ZCL_PUMP_CONFIG_CONTROL_CLUSTER_ID 0x0200 89 #define ARTIK_ZCL_THERMOSTAT_CLUSTER_ID 0x0201 90 #define ARTIK_ZCL_FAN_CONTROL_CLUSTER_ID 0x0202 91 #define ARTIK_ZCL_DEHUMID_CONTROL_CLUSTER_ID 0x0203 92 #define ARTIK_ZCL_THERMOSTAT_UI_CONFIG_CLUSTER_ID 0x0204 93 #define ARTIK_ZCL_COLOR_CONTROL_CLUSTER_ID 0x0300 94 #define ARTIK_ZCL_BALLAST_CONFIGURATION_CLUSTER_ID 0x0301 95 #define ARTIK_ZCL_ILLUM_MEASUREMENT_CLUSTER_ID 0x0400 96 #define ARTIK_ZCL_ILLUM_LEVEL_SENSING_CLUSTER_ID 0x0401 97 #define ARTIK_ZCL_TEMP_MEASUREMENT_CLUSTER_ID 0x0402 98 #define ARTIK_ZCL_PRESSURE_MEASUREMENT_CLUSTER_ID 0x0403 99 #define ARTIK_ZCL_FLOW_MEASUREMENT_CLUSTER_ID 0x0404 100 #define ARTIK_ZCL_RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_ID 0x0405 101 #define ARTIK_ZCL_OCCUPANCY_SENSING_CLUSTER_ID 0x0406 102 #define ARTIK_ZCL_IAS_ZONE_CLUSTER_ID 0x0500 103 #define ARTIK_ZCL_IAS_ACE_CLUSTER_ID 0x0501 104 #define ARTIK_ZCL_IAS_WD_CLUSTER_ID 0x0502 105 #define ARTIK_ZCL_GENERIC_TUNNEL_CLUSTER_ID 0x0600 106 #define ARTIK_ZCL_BACNET_PROTOCOL_TUNNEL_CLUSTER_ID 0x0601 107 #define ARTIK_ZCL_11073_PROTOCOL_TUNNEL_CLUSTER_ID 0x0614 108 #define ARTIK_ZCL_ISO7816_PROTOCOL_TUNNEL_CLUSTER_ID 0x0615 109 #define ARTIK_ZCL_PRICE_CLUSTER_ID 0x0700 110 #define ARTIK_ZCL_DEMAND_RESPONSE_LOAD_CONTROL_CLUSTER_ID 0x0701 111 #define ARTIK_ZCL_SIMPLE_METERING_CLUSTER_ID 0x0702 112 #define ARTIK_ZCL_MESSAGING_CLUSTER_ID 0x0703 113 #define ARTIK_ZCL_TUNNELING_CLUSTER_ID 0x0704 114 #define ARTIK_ZCL_PREPAYMENT_CLUSTER_ID 0x0705 115 #define ARTIK_ZCL_ENERGY_MANAGEMENT_CLUSTER_ID 0x0706 116 #define ARTIK_ZCL_CALENDAR_CLUSTER_ID 0x0707 117 #define ARTIK_ZCL_DEVICE_MANAGEMENT_CLUSTER_ID 0x0708 118 #define ARTIK_ZCL_EVENTS_CLUSTER_ID 0x0709 119 #define ARTIK_ZCL_MDU_PAIRING_CLUSTER_ID 0x070A 120 #define ARTIK_ZCL_KEY_ESTABLISHMENT_CLUSTER_ID 0x0800 121 #define ARTIK_ZCL_INFORMATION_CLUSTER_ID 0x0900 122 #define ARTIK_ZCL_DATA_SHARING_CLUSTER_ID 0x0901 123 #define ARTIK_ZCL_GAMING_CLUSTER_ID 0x0902 124 #define ARTIK_ZCL_DATA_RATE_CONTROL_CLUSTER_ID 0x0903 125 #define ARTIK_ZCL_VOICE_OVER_ZIGBEE_CLUSTER_ID 0x0904 126 #define ARTIK_ZCL_CHATTING_CLUSTER_ID 0x0905 127 #define ARTIK_ZCL_PAYMENT_CLUSTER_ID 0x0A01 128 #define ARTIK_ZCL_BILLING_CLUSTER_ID 0x0A02 129 #define ARTIK_ZCL_APPLIANCE_IDENTIFICATION_CLUSTER_ID 0x0B00 130 #define ARTIK_ZCL_METER_IDENTIFICATION_CLUSTER_ID 0x0B01 131 #define ARTIK_ZCL_APPLIANCE_EVENTS_AND_ALERT_CLUSTER_ID 0x0B02 132 #define ARTIK_ZCL_APPLIANCE_STATISTICS_CLUSTER_ID 0x0B03 133 #define ARTIK_ZCL_ELECTRICAL_MEASUREMENT_CLUSTER_ID 0x0B04 134 #define ARTIK_ZCL_DIAGNOSTICS_CLUSTER_ID 0x0B05 135 #define ARTIK_ZCL_ZLL_COMMISSIONING_CLUSTER_ID 0x1000 136 #define ARTIK_ZCL_SAMPLE_MFG_SPECIFIC_CLUSTER_ID 0xFC00 138 #define ARTIK_ZIGBEE_MAX_COMMAND_BUFFER_SIZE 5000 139 #define ARTIK_ZIGBEE_MAX_RESPONSE_SIZE 10000 140 #define ARTIK_ZIGBEE_MAX_RECEIVED_COMMAND_PLAYLOAD_LENGTH 1024 141 #define ARTIK_ZIGBEE_MAX_DEVICE_INFO_SIZE 20 142 #define ARTIK_ZIGBEE_MAX_ENDPOINT_SIZE 5 143 #define ARTIK_ZIGBEE_MAX_CLUSTER_SIZE 9 144 #define ARTIK_ZIGBEE_EUI64_SIZE 8 145 #define ARTIK_ZIGBEE_COORDINATOR_NODEID 0x0000 146 #define ARTIK_ZIGBEE_BROADCAST_ENDPOINT 0xFF 153 ARTIK_ZIGBEE_CMD_SUCCESS = 0,
154 ARTIK_ZIGBEE_CMD_ERR_PORT_PROBLEM = -3001,
155 ARTIK_ZIGBEE_CMD_ERR_NO_SUCH_COMMAND = -3002,
156 ARTIK_ZIGBEE_CMD_ERR_WRONG_NUMBER_OF_ARGUMENTS = -3003,
157 ARTIK_ZIGBEE_CMD_ERR_ARGUMENT_OUT_OF_RANGE = -3004,
158 ARTIK_ZIGBEE_CMD_ERR_ARGUMENT_SYNTAX_ERROR = -3005,
159 ARTIK_ZIGBEE_CMD_ERR_STRING_TOO_LONG = -3006,
160 ARTIK_ZIGBEE_CMD_ERR_INVALID_ARGUMENT_TYPE = -3007,
161 ARTIK_ZIGBEE_CMD_ERR = -3008
171 ARTIK_ZIGBEE_NETWORK_JOIN = 3100,
174 ARTIK_ZIGBEE_NETWORK_LEAVE,
175 ARTIK_ZIGBEE_NETWORK_FIND_FORM_SUCCESS,
176 ARTIK_ZIGBEE_NETWORK_FIND_FORM_FAILED,
177 ARTIK_ZIGBEE_NETWORK_FIND_JOIN_SUCCESS,
178 ARTIK_ZIGBEE_NETWORK_FIND_JOIN_FAILED,
182 ARTIK_ZIGBEE_NETWORK_EXIST,
184 ARTIK_ZIGBEE_NETWORK_FORM_SUCCESS,
185 ARTIK_ZIGBEE_NETWORK_FORM_FAILED,
187 ARTIK_ZIGBEE_NETWORK_JOIN_SUCCESS,
188 ARTIK_ZIGBEE_NETWORK_JOIN_FAILED
195 ARTIK_ZIGBEE_UNKNOWN_DEVICE = 3200,
196 ARTIK_ZIGBEE_COORDINATOR = 3201,
197 ARTIK_ZIGBEE_ROUTER = 3202,
198 ARTIK_ZIGBEE_END_DEVICE = 3203,
199 ARTIK_ZIGBEE_SLEEPY_END_DEVICE = 3204
206 ARTIK_ZIGBEE_NO_NETWORK = 3210,
207 ARTIK_ZIGBEE_JOINING_NETWORK,
208 ARTIK_ZIGBEE_JOINED_NETWORK,
209 ARTIK_ZIGBEE_JOINED_NETWORK_NO_PARENT,
210 ARTIK_ZIGBEE_LEAVING_NETWORK
216 ARTIK_ZIGBEE_DEVICE_DISCOVERY_NO_DEVICE = 3220,
217 ARTIK_ZIGBEE_DEVICE_DISCOVERY_FOUND,
218 ARTIK_ZIGBEE_DEVICE_DISCOVERY_DONE,
219 ARTIK_ZIGBEE_DEVICE_DISCOVERY_START,
220 ARTIK_ZIGBEE_DEVICE_DISCOVERY_ERROR,
222 ARTIK_ZIGBEE_DEVICE_DISCOVERY_IN_PROGRESS,
224 ARTIK_ZIGBEE_DEVICE_DISCOVERY_CHANGED,
226 ARTIK_ZIGBEE_DEVICE_DISCOVERY_LOST
232 ARTIK_ZIGBEE_NETWORK_FOUND = 3230,
233 ARTIK_ZIGBEE_NETWORK_FIND_FINISHED,
234 ARTIK_ZIGBEE_NETWORK_FIND_ERR
238 ARTIK_ZIGBEE_SERVICE_DISCOVERY_RECEIVED = 3240,
239 ARTIK_ZIGBEE_SERVICE_DISCOVERY_DONE,
240 ARTIK_ZIGBEE_SERVICE_DISCOVERY_ERROR
241 } artik_zigbee_service_discovery_result;
247 ARTIK_ZIGBEE_RESPONSE_NOTIFICATION = 3300,
248 ARTIK_ZIGBEE_RESPONSE_CLIENT_TO_SERVER_COMMAND_RECEIVED,
249 ARTIK_ZIGBEE_RESPONSE_ATTRIBUTE_CHANGE,
250 ARTIK_ZIGBEE_RESPONSE_REPORTING_CONFIGURE,
251 ARTIK_ZIGBEE_RESPONSE_REPORT_ATTRIBUTE,
252 ARTIK_ZIGBEE_RESPONSE_IDENTIFY_FEEDBACK_START,
253 ARTIK_ZIGBEE_RESPONSE_IDENTIFY_FEEDBACK_STOP,
255 ARTIK_ZIGBEE_RESPONSE_NETWORK_NOTIFICATION,
256 ARTIK_ZIGBEE_RESPONSE_NETWORK_FIND,
258 ARTIK_ZIGBEE_RESPONSE_DEVICE_DISCOVER,
260 ARTIK_ZIGBEE_RESPONSE_BROADCAST_IDENTIFY_QUERY,
261 ARTIK_ZIGBEE_RESPONSE_GROUPS_INFO,
262 ARTIK_ZIGBEE_RESPONSE_COMMISSIONING_STATUS,
263 ARTIK_ZIGBEE_RESPONSE_COMMISSIONING_TARGET_INFO,
264 ARTIK_ZIGBEE_RESPONSE_COMMISSIONING_BOUND_INFO,
265 ARTIK_ZIGBEE_RESPONSE_IEEE_ADDR_RESP,
266 ARTIK_ZIGBEE_RESPONSE_SIMPLE_DESC_RESP,
267 ARTIK_ZIGBEE_RESPONSE_MATCH_DESC_RESP,
268 ARTIK_ZIGBEE_RESPONSE_END_DEVICE_BIND,
270 ARTIK_ZIGBEE_RESPONSE_BASIC_RESET_TO_FACTORY,
271 ARTIK_ZIGBEE_RESPONSE_LEVEL_CONTROL,
273 ARTIK_ZIGBEE_RESPONSE_NONE = 3399
279 ARTIK_ZIGBEE_ATTR_ONOFF_STATUS,
280 ARTIK_ZIGBEE_ATTR_LEVELCONTROL_LEVEL,
281 ARTIK_ZIGBEE_ATTR_COLOR_HUE,
282 ARTIK_ZIGBEE_ATTR_COLOR_SATURATION,
283 ARTIK_ZIGBEE_ATTR_COLOR_CURRENT_X,
284 ARTIK_ZIGBEE_ATTR_COLOR_CURRENT_Y,
285 ARTIK_ZIGBEE_ATTR_COLOR_TEMP,
286 ARTIK_ZIGBEE_ATTR_FAN_MODE,
287 ARTIK_ZIGBEE_ATTR_FAN_MODE_SEQUENCE,
288 ARTIK_ZIGBEE_ATTR_OCCUPIED_HEATING_SETPOINT,
289 ARTIK_ZIGBEE_ATTR_OCCUPIED_COOLING_SETPOINT,
290 ARTIK_ZIGBEE_ATTR_SYSTEM_MODE,
291 ARTIK_ZIGBEE_ATTR_CONTROL_SEQUENCE,
293 ARTIK_ZIGBEE_ATTR_ILLUMINANCE,
295 ARTIK_ZIGBEE_ATTR_TEMPERATURE,
297 ARTIK_ZIGBEE_ATTR_OCCUPANCY,
299 ARTIK_ZIGBEE_ATTR_THERMOSTAT_TEMPERATURE,
300 ARTIK_ZIGBEE_ATTR_NONE
306 ARTIK_ZIGBEE_TX_POWER_8 = 8,
307 ARTIK_ZIGBEE_TX_POWER_7 = 7,
308 ARTIK_ZIGBEE_TX_POWER_6 = 6,
309 ARTIK_ZIGBEE_TX_POWER_5 = 5,
310 ARTIK_ZIGBEE_TX_POWER_4 = 4,
311 ARTIK_ZIGBEE_TX_POWER_3 = 3,
312 ARTIK_ZIGBEE_TX_POWER_2 = 2,
313 ARTIK_ZIGBEE_TX_POWER_1 = 1,
314 ARTIK_ZIGBEE_TX_POWER_0 = 0,
315 ARTIK_ZIGBEE_TX_POWER_MINUS1 = -1,
316 ARTIK_ZIGBEE_TX_POWER_MINUS2 = -2,
317 ARTIK_ZIGBEE_TX_POWER_MINUS3 = -3,
318 ARTIK_ZIGBEE_TX_POWER_MINUS4 = -4,
319 ARTIK_ZIGBEE_TX_POWER_MINUS5 = -5,
320 ARTIK_ZIGBEE_TX_POWER_MINUS6 = -6,
321 ARTIK_ZIGBEE_TX_POWER_MINUS7 = -7,
322 ARTIK_ZIGBEE_TX_POWER_MINUS8 = -8,
323 ARTIK_ZIGBEE_TX_POWER_MINUS9 = -9,
324 ARTIK_ZIGBEE_TX_POWER_MINUS11 = -11,
325 ARTIK_ZIGBEE_TX_POWER_MINUS12 = -12,
326 ARTIK_ZIGBEE_TX_POWER_MINUS14 = -14,
327 ARTIK_ZIGBEE_TX_POWER_MINUS17 = -17,
328 ARTIK_ZIGBEE_TX_POWER_MINUS20 = -20,
329 ARTIK_ZIGBEE_TX_POWER_MINUS26 = -26,
330 ARTIK_ZIGBEE_TX_POWER_MINUS43 = -43
340 ARTIK_ZIGBEE_REPORTING_THERMOSTAT_TEMPERATURE = 0,
346 ARTIK_ZIGBEE_REPORTING_OCCUPANCY_SENSING,
351 ARTIK_ZIGBEE_REPORTING_MEASURED_ILLUMINANCE,
356 ARTIK_ZIGBEE_REPORTING_MEASURED_TEMPERATURE
362 ARTIK_ZIGBEE_PROFILE profile;
364 ARTIK_ZIGBEE_DEVICEID device_id;
379 ARTIK_ZIGBEE_DEVICEID device_id;
380 int server_cluster[ARTIK_ZIGBEE_MAX_CLUSTER_SIZE];
381 int client_cluster[ARTIK_ZIGBEE_MAX_CLUSTER_SIZE];
389 ARTIK_ZIGBEE_MAX_DEVICE_INFO_SIZE];
396 char eui64[ARTIK_ZIGBEE_EUI64_SIZE];
412 artik_zigbee_device_discovery_status status;
427 artik_zigbee_network_find_status find_status;
434 bool is_global_command;
435 int dest_endpoint_id;
438 char payload[ARTIK_ZIGBEE_MAX_RECEIVED_COMMAND_PLAYLOAD_LENGTH];
442 int source_endpoint_id;
448 artik_zigbee_attribute_type type;
480 artik_zigbee_attribute_type attribute_type;
520 ARTIK_ZIGBEE_COMMISSIONING_ERROR = 0x00,
522 ARTIK_ZIGBEE_COMMISSIONING_ERR_IN_PROGRESS,
524 ARTIK_ZIGBEE_COMMISSIONING_NETWORK_STEERING_FORM,
526 ARTIK_ZIGBEE_COMMISSIONING_NETWORK_STEERING_SUCCESS,
528 ARTIK_ZIGBEE_COMMISSIONING_NETWORK_STEERING_FAILED,
530 ARTIK_ZIGBEE_COMMISSIONING_WAIT_NETWORK_STEERING,
532 ARTIK_ZIGBEE_COMMISSIONING_TARGET_SUCCESS,
534 ARTIK_ZIGBEE_COMMISSIONING_TARGET_STOP,
536 ARTIK_ZIGBEE_COMMISSIONING_TARGET_FAILED,
538 ARTIK_ZIGBEE_COMMISSIONING_INITIATOR_SUCCESS,
540 ARTIK_ZIGBEE_COMMISSIONING_INITIATOR_STOP,
542 ARTIK_ZIGBEE_COMMISSIONING_INITIATOR_FAILED
550 artik_zigbee_service_discovery_result result;
553 int server_cluster_count;
554 int server_cluster[ARTIK_ZIGBEE_MAX_CLUSTER_SIZE];
555 int client_cluster_count;
556 int client_cluster[ARTIK_ZIGBEE_MAX_CLUSTER_SIZE];
574 artik_zigbee_service_discovery_result result;
576 char eui64[ARTIK_ZIGBEE_EUI64_SIZE];
584 artik_zigbee_service_discovery_result result;
586 int endpoint_list[ARTIK_ZIGBEE_MAX_ENDPOINT_SIZE];
595 ARTIK_UNUSED_BINDING = 0,
599 ARTIK_UNICAST_BINDING = 1,
604 ARTIK_MANY_TO_ONE_BINDING = 2,
609 ARTIK_MULTICAST_BINDING = 3
635 char identifier[ARTIK_ZIGBEE_EUI64_SIZE];
659 artik_error(*identify_request)(artik_zigbee_endpoint_handle handle,
671 artik_zigbee_endpoint_handle handle,
713 artik_zigbee_endpoint_handle handle
737 artik_zigbee_endpoint_handle handle
757 artik_error(*identify_request)(artik_zigbee_endpoint_handle handle,
769 artik_zigbee_endpoint_handle handle,
795 artik_error(*level_control_request)(artik_zigbee_endpoint_handle handle,
824 artik_zigbee_endpoint_handle handle
848 artik_zigbee_endpoint_handle handle
853 device_level_control_switch_func;
871 artik_zigbee_endpoint_handle handle,
881 artik_zigbee_endpoint_handle handle,
892 artik_error(*onoff_get_value)(artik_zigbee_endpoint_handle handle,
917 artik_zigbee_endpoint_handle handle
940 artik_zigbee_endpoint_handle handle
962 artik_zigbee_endpoint_handle handle,
972 artik_zigbee_endpoint_handle handle,
bool support);
982 artik_error(*onoff_get_value)(artik_zigbee_endpoint_handle handle,
994 artik_zigbee_endpoint_handle handle,
1019 artik_zigbee_endpoint_handle handle
1042 artik_zigbee_endpoint_handle handle
1074 artik_zigbee_endpoint_handle handle,
1093 artik_zigbee_endpoint_handle handle,
1111 artik_zigbee_endpoint_handle handle,
1128 artik_zigbee_endpoint_handle handle,
1156 artik_error(*ezmode_commissioning_initiator_start)
1158 artik_zigbee_endpoint_handle handle
1183 artik_zigbee_endpoint_handle handle
1203 artik_zigbee_endpoint_handle handle,
1216 artik_zigbee_endpoint_handle handle,
1229 artik_zigbee_endpoint_handle handle,
1257 artik_error(*level_control_request)(artik_zigbee_endpoint_handle handle,
1281 artik_zigbee_reporting_type report_type,
1284 int change_threshold);
1302 artik_zigbee_reporting_type report_type);
1327 artik_zigbee_endpoint_handle handle
1351 artik_zigbee_endpoint_handle handle
1423 void (*deinitialize)(void);
1527 artik_zigbee_network_state * state
1595 int cluster_id,
int is_server);
1601 void (*raw_request)(
const char *command);
artik_zigbee_device_discovery_status
Device discovery result.
artik_zigbee_network_find_status
Network find status.
artik_zigbee_reporting_type
Request for device attribute information reporting.
Attribute changed response from zigbeed.
artik_zigbee_onoff_status
On/Off status for On/Off cluster This is used when both sending and receiving command.
artik_zigbee_node_type
Receiving node type from ZigBee Daemon This is one of response types.
A structure used to store reporting configurations. If endpoint field is ::EMBER_AF_PLUGIN_REPORTING_...
Device discovery response.
Structure for network information.
Ieee addr response Used in callback, to notify user.
Local endpoint information.
ZigBee module operations.
void * artik_zigbee_endpoint_handle
endpoint instance
Structure for device remote control, to storage the local endpoint information and functions can be i...
Structure for endpoint information.
Simple descriptor response Used in callback, to notify user.
Structure for device light sensor, to storage the local endpoint information and functions can be inv...
artik_zigbee_network_notification
Receiving network notification type from ZigBee Daemon This is one of response types.
Structure for report attribute from remote server.
Structure for device on/off switch, to storage the local endpoint information and functions can be in...
Broadcast identify query response Used in callback, to notify user.
Structure of clusters that bound by ezmode commissioning Used in callback, to notify user...
Match descriptor response Used in callback, to notify user.
int artik_error
Error type.
uint32_t reportable_change
void(* artik_zigbee_client_callback)(void *user_data, artik_zigbee_response_type response_type, void *payload)
Callback function type.
artik_zigbee_binding_type
Zigbee binding type.
artik_zigbee_tx_power
Selectable tx power level.
Structure of target that ezmode commissioning find Used in callback, to notify user.
artik_zigbee_occupancy_status
The status of occupancy.
Zigbee binding table entry.
Structure for device level control switch, to storage the local endpoint information and functions ca...
Structure for endpoint list to find endpoints by cluster ID.
artik_zigbee_response_type
Receiving response type from ZigBee Daemon.
artik_zigbee_attribute_type
Attribute change type.
Structure for device information This is used when sending cluster commands to select device...
Structure for device dimmable light, to storage the local endpoint information and functions can be i...
artik_zigbee_commissioning_state
Commissioning state Used in callback, to notify user.
List of device information.
Structure for device on/off light, to storage the local endpoint information and functions can be inv...
ZIGBEE module definition.
Structure for Level Control cluster command.
artik_zigbee_notification
Receiving command notification type from ZigBee Daemon This is one of response types.
Received command from remote device.
A structure for notifying identify feedback.
artik_zigbee_network_state
Receiving network state from ZigBee Daemon This is one of response types.