Commit 2b9a1018 authored by 陈伟灿's avatar 陈伟灿

Merge branch 'yjq' into 'master'

2020/10/09

See merge request chenweican/k-sdk!35
parents b6cae3a1 92501b70
......@@ -729,7 +729,17 @@ void rpc_control_devices(cJSON *data,char *method)
{
rpc_send_message(data,method);
}
bool rpc_IasZoneClusterZoneStatusChangeNotificationCallback(uint16_t zoneStatus,
uint8_t extendedStatus,
uint8_t zoneId,
uint16_t delay)
{
EmberEUI64 nodeEui64;
EmberNodeId nodeId = emberAfCurrentCommand()->source;
kk_print_debug("\n********************ChangeNotificationCallback**********************\n");
emberAfDeviceTableGetEui64FromNodeId(nodeId, nodeEui64);
kk_tsl_report_alarm(nodeEui64,zoneStatus,extendedStatus,zoneId,delay);
}
bool rpc_ReportAttributesCallback(EmberAfClusterId clusterId,
uint8_t * buffer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment