summaryrefslogtreecommitdiffstats
path: root/include/hardware/bt_gatt_client.h
diff options
context:
space:
mode:
authorSatya Calloji <satyac@broadcom.com>2014-06-15 11:51:38 -0700
committerWei Wang <weiwa@google.com>2014-06-30 10:43:31 -0700
commit3154babbb6eb6c0ba3ca3dcca3488fac428a3537 (patch)
tree6060bd70c4dc408369e722374334af60a2d47761 /include/hardware/bt_gatt_client.h
parenta28f92a7f5737bb89fd4667d52ae325a4b6aa40b (diff)
downloadhardware_libhardware-3154babbb6eb6c0ba3ca3dcca3488fac428a3537.zip
hardware_libhardware-3154babbb6eb6c0ba3ca3dcca3488fac428a3537.tar.gz
hardware_libhardware-3154babbb6eb6c0ba3ca3dcca3488fac428a3537.tar.bz2
LE Onfound and Onlost feature
Header changes for on found/onlost feature Change-Id: I72d49a1b6560c2c913a3b7016b7504eef9962258
Diffstat (limited to 'include/hardware/bt_gatt_client.h')
-rw-r--r--include/hardware/bt_gatt_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h
index fea7260..c96789b 100644
--- a/include/hardware/bt_gatt_client.h
+++ b/include/hardware/bt_gatt_client.h
@@ -170,6 +170,10 @@ typedef void (*scan_filter_param_callback)(int action, int client_if, int status
/** Callback invoked when a scan filter configuration command has completed */
typedef void (*scan_filter_status_callback)(int enable, int client_if, int status);
+/** Track ADV VSE callback invoked when tracked device is found or lost */
+typedef void (*track_adv_event_callback)(int client_if, int filt_index, int addr_type,
+ bt_bdaddr_t* bda, int adv_state);
+
/** Callback invoked when multi-adv enable operation has completed */
typedef void (*multi_adv_enable_callback)(int client_if, int status);
@@ -234,6 +238,7 @@ typedef struct {
batchscan_enable_disable_callback batchscan_enb_disable_cb;
batchscan_reports_callback batchscan_reports_cb;
batchscan_threshold_callback batchscan_threshold_cb;
+ track_adv_event_callback track_adv_event_cb;
} btgatt_client_callbacks_t;
/** Represents the standard BT-GATT client interface. */