BLE Gatt Server Socket write implemetation
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / include / oal-event.h
index 472b9ad..5cbfca4 100644 (file)
@@ -173,6 +173,8 @@ extern "C" {
        EVENT(OAL_EVENT_GATTC_SERVICE_CHANGED_IND)      /* gattc service changed indication */\
        EVENT(OAL_EVENT_GATTC_PREPARE_WRITE)    /* gattc prepare write */\
        EVENT(OAL_EVENT_GATTC_EXECUTE_WRITE)    /* gattc execute write */\
+       EVENT(OAL_EVENT_GATTS_REQUEST_ACQUIRE_WRITE)    /* gattc acquire write */\
+       EVENT(OAL_EVENT_GATTS_REQUEST_ACQUIRE_NOTIFY)    /* gattc acquire notify */\
        EVENT(OAL_EVENT_END)                                /* End of event*/\
 
 
@@ -373,6 +375,12 @@ typedef struct {
 
 typedef struct {
        gatts_trans_attr_t attr_trans;
+       int mtu;
+       bt_address_t address;
+} event_gatts_srvc_acquire_attr_t  ;
+
+typedef struct {
+       gatts_trans_attr_t attr_trans;
        int length;
        bt_address_t address;
        uint8_t value[OAL_GATT_MAX_ATTR_LEN];