X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fbluetooth-api.h;h=50ee9a9aeb8796dd7bc4c80c6c7e7b8005b88269;hb=a8373d97e95041c7ea9ea0088021f4f1874bf754;hp=02e9f5d21692663c48407dcb673d5a7a4f5d7a2a;hpb=799e8ea68a9a61c335aa272955c6917995019cdb;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/include/bluetooth-api.h b/include/bluetooth-api.h index 02e9f5d..50ee9a9 100644 --- a/include/bluetooth-api.h +++ b/include/bluetooth-api.h @@ -327,11 +327,14 @@ typedef struct { */ typedef struct { - time_t session_start_time; - time_t session_end_time; - uint16_t session_connected_time; - uint16_t session_scan_time; - GSList *atm_list; + 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; } bt_battery_data; typedef struct { @@ -339,6 +342,7 @@ typedef struct { pid_t pid; uint16_t rx_bytes; uint16_t tx_bytes; + uint time; } bt_battery_app_data; /** @@ -718,6 +722,7 @@ typedef enum { BLUETOOTH_EVENT_ENABLED, /**< Bluetooth event adpater enabled */ BLUETOOTH_EVENT_DISABLED, /**< Bluetooth event adpater disabled */ + BLUETOOTH_EVENT_DISABLED_BATTERY_DATA, /**< Bluetooth event adapter disabled battery data*/ BLUETOOTH_EVENT_LE_ENABLED, /**< Bluetooth event adpater enabled */ BLUETOOTH_EVENT_LE_DISABLED, /**< Bluetooth event adpater disabled */ BLUETOOTH_EVENT_LOCAL_NAME_CHANGED, /**< Bluetooth event local name changed*/ @@ -866,6 +871,8 @@ typedef enum { BLUETOOTH_EVENT_AVRCP_SETTING_REPEAT_STATUS, /**