BLE Gatt Server Socket write implemetation
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / include / oal-gatt.h
index 2913529..eae3d6d 100644 (file)
@@ -432,10 +432,26 @@ oal_status_t gattc_read_descriptor(int conn_id, oal_gatt_srvc_id_t *srvc_id, oal
 oal_status_t gattc_write_characteristic(int conn_id, oal_gatt_srvc_id_t *srvc_id, oal_gatt_id_t *char_id, oal_gatt_write_type_t write_type,
                int len, oal_gatt_auth_req_t auth_req, char* data);
 
+oal_status_t gattc_acquire_notify(int conn_id, oal_gatt_srvc_id_t *srvc_id,
+               oal_gatt_id_t *char_id,  int *fd , char *path);
+
+oal_status_t gattc_acquire_write(int conn_id, oal_gatt_srvc_id_t *srvc_id,
+               oal_gatt_id_t *char_id,  oal_gatt_auth_req_t auth_req , int *fd , char *path);
+
 oal_status_t gattc_write_descriptor(int conn_id, oal_gatt_srvc_id_t *srvc_id, oal_gatt_id_t *char_id, oal_gatt_id_t *desc_id,
                oal_gatt_write_type_t write_type, int len, oal_gatt_auth_req_t auth_req, char* data);
 
 oal_status_t gattc_disconnect(int client_id, bt_address_t *device_address, int conn_id);
 
 oal_status_t gattc_conn_param_update(bt_address_t * address, int min, int max, int latency, int timeout);
+
+oal_status_t gattc_register_for_notification(int client_id, bt_address_t * address,
+                               oal_gatt_srvc_id_t *srvc_id, oal_gatt_id_t *char_id);
+
+oal_status_t gattc_deregister_for_notification(int client_id, bt_address_t * address,
+                               oal_gatt_srvc_id_t *srvc_id, oal_gatt_id_t *char_id);
+
+oal_status_t gatt_send_response_acquire(int conn_id, int trans_id,
+               int status, int fd, int mtu, void *);
+
 #endif /* OAL_GATT_H_ */