Linux bluetooth development
 help / color / mirror / Atom feed
* [RFC 1/3] android: Update HAL API to Android 4.4.3-r1.1
@ 2014-06-11 11:30 Szymon Janc
  2014-06-11 11:31 ` [RFC 2/3] android/gatt: Update set_adv_data IPC to HAL API change Szymon Janc
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Szymon Janc @ 2014-06-11 11:30 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

---
 android/hal-gatt.c                | 4 +++-
 android/hardware/bt_gatt_client.h | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/android/hal-gatt.c b/android/hal-gatt.c
index 6f0d2c5..a4ad0f2 100644
--- a/android/hal-gatt.c
+++ b/android/hal-gatt.c
@@ -975,7 +975,9 @@ static bt_status_t set_adv_data(int server_if, bool set_scan_rsp,
 				bool include_name, bool include_txpower,
 				int min_interval, int max_interval,
 				int appearance, uint16_t manufacturer_len,
-				char *manufacturer_data)
+				char *manufacturer_data,
+				uint16_t service_data_len, char *service_data,
+				uint16_t service_uuid_len, char *service_uuid)
 {
 	char buf[IPC_MTU];
 	struct hal_cmd_gatt_client_set_adv_data *cmd = (void *) buf;
diff --git a/android/hardware/bt_gatt_client.h b/android/hardware/bt_gatt_client.h
index d6b0cb4..cf4fabe 100644
--- a/android/hardware/bt_gatt_client.h
+++ b/android/hardware/bt_gatt_client.h
@@ -278,7 +278,9 @@ typedef struct {
     /** Set the advertising data or scan response data */
     bt_status_t (*set_adv_data)(int server_if, bool set_scan_rsp, bool include_name,
                     bool include_txpower, int min_interval, int max_interval, int appearance,
-                    uint16_t manufacturer_len, char* manufacturer_data);
+                    uint16_t manufacturer_len, char* manufacturer_data,
+                    uint16_t service_data_len, char* service_data,
+                    uint16_t service_uuid_len, char* service_uuid);
 
     /** Test mode interface */
     bt_status_t (*test_command)( int command, btgatt_test_params_t* params);
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-12 10:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11 11:30 [RFC 1/3] android: Update HAL API to Android 4.4.3-r1.1 Szymon Janc
2014-06-11 11:31 ` [RFC 2/3] android/gatt: Update set_adv_data IPC to HAL API change Szymon Janc
2014-06-11 11:31 ` [RFC 3/3] android: Re-enable support for Android 4.4.2 Szymon Janc
2014-06-12 10:21 ` [RFC 1/3] android: Update HAL API to Android 4.4.3-r1.1 Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox