Implement the set mtu for LE device
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / include / oal-event.h
index 798663a..ca6bec5 100644 (file)
@@ -75,6 +75,7 @@ extern "C" {
        EVENT(OAL_EVENT_RSSI_MONITORING_DISABLED)       /* event_dev_rssi_info_t */\
        EVENT(OAL_EVENT_RSSI_ALERT_RECEIVED)            /* event_dev_rssi_info_t */\
        EVENT(OAL_EVENT_RAW_RSSI_RECEIVED)              /* */\
+       EVENT(OAL_EVENT_DEVICE_DBFW_PLUS_INFO)          /* event_dev_dbfw_plus_info_t */\
        EVENT(OAL_EVENT_OAL_INITIALISED_SUCCESS)                /* OAL Initialisation event */  \
        EVENT(OAL_EVENT_OAL_INITIALISED_FAILED)                 /* OAL Initialisation event */  \
        EVENT(OAL_EVENT_HID_CONNECTED)                                          /* event_hid_conn_t */\
@@ -270,7 +271,6 @@ typedef struct {
 typedef struct {
        bt_address_t address;
        oal_status_t status;
-       int rssi;
 } event_dev_conn_status_t;
 
 typedef event_dev_conn_status_t event_dev_bond_failed_t;
@@ -287,6 +287,12 @@ typedef struct {
        int rssi;
 } event_dev_rssi_info_t;
 
+typedef struct {
+       uint8_t event_code;
+       uint8_t data[512];
+       int length;
+} event_dev_dbfw_plus_info_t;
+
 /*********Datastructures for HID callback******************/
 /* HID :: connection state callback response data */
 typedef struct {
@@ -494,6 +500,13 @@ typedef struct {
 
 typedef event_gattc_descriptor_result_t event_gattc_write_data;
 
+typedef struct {
+       oal_status_t status;
+       int conn_id;
+       int mtu;
+} event_gattc_mtu_configured_t;
+
+
 /********* AVRCP CT role callback data structures ******************/
 #define MEDIA_ATTIRBUTE_STRING_LENGTH 100
 typedef struct {