Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2 1/6] android/tester: Make client2 app uuid value name consistent
@ 2014-10-03  8:44 Grzegorz Kolodziejczyk
  2014-10-03  8:44 ` [PATCH v2 2/6] android/tester: Fix debug callback logs Grzegorz Kolodziejczyk
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Grzegorz Kolodziejczyk @ 2014-10-03  8:44 UTC (permalink / raw)
  To: linux-bluetooth

Application uudis for tester should be name unified and consistent.
---
 android/tester-gatt.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/android/tester-gatt.c b/android/tester-gatt.c
index 4c9eba5..4326749 100644
--- a/android/tester-gatt.c
+++ b/android/tester-gatt.c
@@ -41,6 +41,11 @@ static bt_uuid_t app1_uuid = {
 				0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01 },
 };
 
+static bt_uuid_t app2_uuid = {
+	.uu = { 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
+				0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02 },
+};
+
 struct gatt_connect_data {
 	const int app_id;
 	const int conn_id;
@@ -101,11 +106,6 @@ struct notif_data {
 	btgatt_gatt_id_t *charac;
 };
 
-static bt_uuid_t client2_app_uuid = {
-	.uu = { 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
-				0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02 },
-};
-
 static bt_bdaddr_t emu_remote_bdaddr_val = {
 	.address = { 0x00, 0xaa, 0x01, 0x01, 0x00, 0x00 },
 };
@@ -1263,7 +1263,7 @@ static struct test_case test_cases[] = {
 		ACTION_SUCCESS(emu_set_connect_cb_action, gatt_conn_cb),
 		ACTION_SUCCESS(gatt_client_register_action, &app1_uuid),
 		CALLBACK_STATUS(CB_GATTC_REGISTER_CLIENT, BT_STATUS_SUCCESS),
-		ACTION_SUCCESS(gatt_client_register_action, &client2_app_uuid),
+		ACTION_SUCCESS(gatt_client_register_action, &app2_uuid),
 		CALLBACK_STATUS(CB_GATTC_REGISTER_CLIENT, BT_STATUS_SUCCESS),
 		ACTION_SUCCESS(gatt_client_start_scan_action,
 							INT_TO_PTR(APP1_ID)),
-- 
1.9.3


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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03  8:44 [PATCH v2 1/6] android/tester: Make client2 app uuid value name consistent Grzegorz Kolodziejczyk
2014-10-03  8:44 ` [PATCH v2 2/6] android/tester: Fix debug callback logs Grzegorz Kolodziejczyk
2014-10-03  8:44 ` [PATCH v2 3/6] android/tester: Change GATT client connection test cases to LE connect Grzegorz Kolodziejczyk
2014-10-03  8:44 ` [PATCH v2 4/6] android/tester: Add GATT server connect successful test case Grzegorz Kolodziejczyk
2014-10-03  8:44 ` [PATCH v2 5/6] android/tester: Add GATT server disconnect " Grzegorz Kolodziejczyk
2014-10-03  8:44 ` [PATCH v2 6/6] android/tester: Add GATT server multiple connect succesful " Grzegorz Kolodziejczyk
2014-10-06 11:11 ` [PATCH v2 1/6] android/tester: Make client2 app uuid value name consistent Szymon Janc

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