Apply coding rule (BRC_M_EUS, SPC_M_OPR, SPC_M_KWD)
[platform/core/connectivity/zigbee-manager.git] / zigbee-daemon / zigbee-lib / include / zblib_driver_custom.h
index 6f172f6..b21d1d5 100644 (file)
@@ -21,9 +21,9 @@
 
 /**< ZigBee 'custom' driver operations */
 typedef struct {
-       gboolean (*aps_send)(ZigBeeDriver *driver, guint request_id);
-       gboolean (*zcl_send)(ZigBeeDriver *driver, guint request_id);
-       gboolean (*send_to_local)(ZigBeeDriver *driver, guint request_id);
+       gboolean(*aps_send) (ZigBeeDriver *driver, guint request_id);
+       gboolean(*zcl_send) (ZigBeeDriver *driver, guint request_id);
+       gboolean(*send_to_local) (ZigBeeDriver *driver, guint request_id);
 } ZblibDriverCustomOps_t;
 
 /**< ZigBee 'custom' ops IDs */
@@ -33,6 +33,13 @@ typedef enum {
        ZBLIB_CUSTOM_OPS_SEND_TO_LOCAL, /**< Send to local */
 } ZblibCustomOps_e;
 
+/**< ZigBee 'ZCL bind' notification IDs */
+typedef enum {
+       ZBLIB_CUSTOM_NOTI_APS_SEND = 1, /**< APS send response notification */
+       ZBLIB_CUSTOM_NOTI_ZCL_SEND, /**< ZCL send response notification */
+       ZBLIB_CUSTOM_NOTI_SEND_TO_LOCAL, /**< Send to local response notification */
+} ZblibCustomNoti_e;
+
 /* ZigBee 'custom' driver APIs */
 ZigBeeDriver *zblib_driver_custom_new(ZigBeePlugin *plugin,
        const gchar *driver_name,