From cc99bc54eca5056b721788d6ddd81ccd773166c3 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowski Date: Fri, 24 Mar 2017 17:55:56 -0700 Subject: [PATCH] Add option to specify initial LE connection PHY (1/3) For whitelist connections we always use all possible PHYs, for direct connection use PHY specified by client. Test: manual Bug: 30622771 Change-Id: I13242608385230371e8a9170fc21e3f1b0a74c78 --- include/hardware/bt_gatt_client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h index d54256d8..ec8dd161 100644 --- a/include/hardware/bt_gatt_client.h +++ b/include/hardware/bt_gatt_client.h @@ -207,8 +207,8 @@ typedef struct { bt_status_t (*unregister_client)(int client_if ); /** Create a connection to a remote LE or dual-mode device */ - bt_status_t (*connect)( int client_if, const bt_bdaddr_t *bd_addr, - bool is_direct, int transport ); + bt_status_t (*connect)(int client_if, const bt_bdaddr_t *bd_addr, + bool is_direct, int transport, int initiating_phys); /** Disconnect a remote device or cancel a pending connection */ bt_status_t (*disconnect)( int client_if, const bt_bdaddr_t *bd_addr,