[PATCH 2/2] android/client: Fix parameter completion for gatt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes missing service handle in parameters completion for gatt
server add_descriptor method.
---
 android/client/if-gatt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/android/client/if-gatt.c b/android/client/if-gatt.c
index da2f299..250472a 100644
--- a/android/client/if-gatt.c
+++ b/android/client/if-gatt.c
@@ -1736,7 +1736,8 @@ static struct method server_methods[] = {
 			"<server_if> <service_handle> <included_handle>"),
 	GATTS_METHODCH(add_characteristic,
 		"<server_if> <service_handle> <uuid> <properites> <permissions>"),
-	GATTS_METHODCH(add_descriptor, "<server_if> <uuid> <permissions>"),
+	GATTS_METHODCH(add_descriptor,
+			"<server_if> <service_handle> <uuid> <permissions>"),
 	GATTS_METHODCH(start_service,
 				"<server_if> <service_handle> <transport>"),
 	GATTS_METHODCH(stop_service, "<server_if> <service_handle>"),
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux