#include <zblib_driver_zcl_door_lock.h>
+/* LCOV_EXCL_START */
static void on_door_lock_subscribe_lock_event_resp(ZigBeeServiceInterface *service_interface,
guint request_id, gpointer resp_data, guint resp_data_len, gpointer resp_cb_data)
{
memset(&req, 0x0, sizeof(ZigbeeZclDoorLockSubscriberLockEvent_t));
/* Update request structure */
- g_variant_get(eui64, "ay", &iter);
- while (g_variant_iter_loop(iter, "y", req.eui64[i])) {
+ g_variant_get(eui64, "a(y)", &iter);
+ while (g_variant_iter_loop(iter, "(y)", &(req.eui64[i]))) {
i++;
if (i >= ZIGBEE_EUI64_SIZE)
break;
req.uid = uid;
req.ustatus = ustatus;
req.utype = utype;
- g_variant_get(eui64, "ay", &iter);
- while (g_variant_iter_loop(iter, "y", req.eui64[i])) {
+ g_variant_get(eui64, "a(y)", &iter);
+ while (g_variant_iter_loop(iter, "(y)", &(req.eui64[i]))) {
i++;
if (i >= ZIGBEE_EUI64_SIZE)
break;
memset(&req, 0x0, sizeof(ZigbeeZclDoorLockSetDoorLock_t));
/* Update request structure */
- g_variant_get(eui64, "ay", &iter);
- while (g_variant_iter_loop(iter, "y", req.eui64[i])) {
+ g_variant_get(eui64, "a(y)", &iter);
+ while (g_variant_iter_loop(iter, "(y)", &(req.eui64[i]))) {
i++;
if (i >= ZIGBEE_EUI64_SIZE)
break;
memset(&req, 0x0, sizeof(ZigbeeZclDoorLockGetDoorLock_t));
/* Update request structure */
- g_variant_get(eui64, "ay", &iter);
- while (g_variant_iter_loop(iter, "y", req.eui64[i])) {
+ g_variant_get(eui64, "a(y)", &iter);
+ while (g_variant_iter_loop(iter, "(y)", &(req.eui64[i]))) {
i++;
if (i >= ZIGBEE_EUI64_SIZE)
break;
return TRUE;
}
+void zigbee_service_dbus_interface_zcl_door_lock_notification(ZigBeeServiceInterface *service_interface,
+ guint noti_id, gpointer noti_data, guint noti_data_len, gpointer noti_cb_data)
+{
+ if (NULL == service_interface) {
+ Z_LOGE("service_interface is NULL");
+ return;
+ }
+
+ NOT_USED(noti_id);
+ NOT_USED(noti_data);
+ NOT_USED(noti_data_len);
+ NOT_USED(noti_cb_data);
+}
+/* LCOV_EXCL_STOP */
+
gboolean zigbee_service_dbus_interface_zcl_door_lock_init(ZigBeeServiceInterface *service_interface,
ZigbeeObjectSkeleton *zigbee_object)
{
ZigbeeZcl_door_lock *door_lock_object;
if (NULL == service_interface) {
+ /* LCOV_EXCL_START */
Z_LOGE("service_interface is NULL");
return FALSE;
+ /* LCOV_EXCL_STOP */
}
door_lock_object = zigbee_zcl_door_lock_skeleton_new();