summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndre Eisenbach <eisenbach@google.com>2014-07-16 22:58:36 -0700
committerAndre Eisenbach <eisenbach@google.com>2014-07-18 12:15:03 -0700
commitda4eaca2cc3a7d3dc4ab66c18137a96cc5f863ff (patch)
treeafe05a1cd0b98705b97de40f9542e32ab92127aa /include
parent8df2feb00d3510c16d98a0675a7df361d3851728 (diff)
downloadhardware_libhardware-da4eaca2cc3a7d3dc4ab66c18137a96cc5f863ff.zip
hardware_libhardware-da4eaca2cc3a7d3dc4ab66c18137a96cc5f863ff.tar.gz
hardware_libhardware-da4eaca2cc3a7d3dc4ab66c18137a96cc5f863ff.tar.bz2
LE: Add connection parameter update request API (1/4)
Change-Id: I90955b5e1640f7025e864ac9227af6ad8ba5ca77
Diffstat (limited to 'include')
-rw-r--r--include/hardware/bt_gatt_client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h
index c96789b..64c51ab 100644
--- a/include/hardware/bt_gatt_client.h
+++ b/include/hardware/bt_gatt_client.h
@@ -370,6 +370,10 @@ typedef struct {
/** Configure the MTU for a given connection */
bt_status_t (*configure_mtu)(int conn_id, int mtu);
+ /** Request a connection parameter update */
+ bt_status_t (*conn_parameter_update)(const bt_bdaddr_t *bd_addr, int min_interval,
+ int max_interval, int latency, int timeout);
+
/** Sets the LE scan interval and window in units of N*0.625 msec */
bt_status_t (*set_scan_parameters)(int scan_interval, int scan_window);