Add HfBatteryLevelChanged event
[platform/core/connectivity/bluetooth-frwk.git] / include / bluetooth-api.h
index 3146e6d..50ee9a9 100644 (file)
@@ -329,6 +329,9 @@ typedef struct {
 typedef struct {
        time_t session_start_time;
        time_t session_end_time;
+       uint32_t tx_time;
+       uint32_t rx_time;
+       uint32_t idle_time;
        uint16_t session_connected_time;
        uint16_t session_scan_time;
        GSList *atm_list;
@@ -5687,6 +5690,15 @@ int bluetooth_disconnect_le(const bluetooth_device_address_t *device_address,
 int bluetooth_disconnect_le(const bluetooth_device_address_t *device_address);
 #endif
 
+int bluetooth_get_gatt_data_batching_available_packets(
+       int *available_packets);
+
+int bluetooth_enable_gatt_data_batching(
+       const bluetooth_device_address_t *device_address, int packet_threshold, int timeout);
+
+int bluetooth_disable_gatt_data_batching(
+       const bluetooth_device_address_t *device_address);
+
  /**
  * @fn int bluetooth_gatt_discover_characteristic_descriptor(const char *characteristic_handle);
  *