summaryrefslogtreecommitdiff
path: root/android/tester-gatt.c
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2014-10-03 10:44:47 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-10-06 12:41:27 +0200
commit10dda614de3b545ad06608af1caf0c9893f2d648 (patch)
treecd935c246d6cc762d5345463bea9cb5f51750906 /android/tester-gatt.c
parentae3db960a1f011903a435d62ede7f726a7cf5d50 (diff)
downloadbluez-10dda614de3b545ad06608af1caf0c9893f2d648.tar.gz
android/tester: Make client2 app uuid value name consistent
Application uudis for tester should be name unified and consistent.
Diffstat (limited to 'android/tester-gatt.c')
-rw-r--r--android/tester-gatt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/android/tester-gatt.c b/android/tester-gatt.c
index 4c9eba57b..432674942 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)),