raw_pdu(0x02, 0x00, 0x02), \
raw_pdu(0x03, 0x00, 0x02)
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
#define SERVICE_DATA_1_PDUS \
MTU_EXCHANGE_CLIENT_PDUS, \
raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
0x2a), \
raw_pdu(0x08, 0x07, 0x00, 0x08, 0x00, 0x03, 0x28), \
raw_pdu(0x01, 0x08, 0x07, 0x00, 0x0a), \
+ raw_pdu(0x0a, 0x03, 0x00), \
+ raw_pdu(0x0b, 0x54, 0x69, 0x7a, 0x65, 0x6e), \
raw_pdu(0x04, 0x04, 0x00, 0x04, 0x00), \
raw_pdu(0x05, 0x01, 0x04, 0x00, 0x01, 0x29), \
raw_pdu(0x04, 0x08, 0x00, 0x08, 0x00), \
raw_pdu(0x05, 0x01, 0x08, 0x00, 0x01, 0x29)
+#else
+#define SERVICE_DATA_1_PDUS \
+ MTU_EXCHANGE_CLIENT_PDUS, \
+ raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x11, 0x06, 0x01, 0x00, 0x04, 0x00, 0x01, 0x18),\
+ raw_pdu(0x10, 0x05, 0x00, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x11, 0x06, 0x05, 0x00, 0x08, 0x00, 0x0d, 0x18),\
+ raw_pdu(0x10, 0x09, 0x00, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x01, 0x10, 0x09, 0x00, 0x0a), \
+ raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x01, 0x28), \
+ raw_pdu(0x01, 0x10, 0x01, 0x00, 0x0a), \
+ raw_pdu(0x08, 0x01, 0x00, 0x08, 0x00, 0x02, 0x28), \
+ raw_pdu(0x01, 0x08, 0x01, 0x00, 0x0a), \
+ raw_pdu(0x08, 0x01, 0x00, 0x08, 0x00, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x02, 0x00, 0x02, 0x03, 0x00, 0x00, \
+ 0x2a), \
+ raw_pdu(0x08, 0x03, 0x00, 0x08, 0x00, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x06, 0x00, 0x0a, 0x07, 0x00, 0x29, \
+ 0x2a), \
+ raw_pdu(0x08, 0x07, 0x00, 0x08, 0x00, 0x03, 0x28), \
+ raw_pdu(0x01, 0x08, 0x07, 0x00, 0x0a), \
+ raw_pdu(0x04, 0x04, 0x00, 0x04, 0x00), \
+ raw_pdu(0x05, 0x01, 0x04, 0x00, 0x01, 0x29), \
+ raw_pdu(0x04, 0x08, 0x00, 0x08, 0x00), \
+ raw_pdu(0x05, 0x01, 0x08, 0x00, 0x01, 0x29)
+#endif
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+#define SERVICE_DATA_2_PDUS \
+ MTU_EXCHANGE_CLIENT_PDUS, \
+ raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x11, 0x06, 0x01, 0x00, 0x04, 0x00, 0x01, 0x18),\
+ raw_pdu(0x10, 0x05, 0x00, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x11, 0x06, 0x05, 0x00, 0x0a, 0x00, 0x0d, 0x18),\
+ raw_pdu(0x10, 0x0b, 0x00, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x01, 0x10, 0x0b, 0x00, 0x0a), \
+ raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x01, 0x28), \
+ raw_pdu(0x01, 0x10, 0x01, 0x00, 0x0a), \
+ raw_pdu(0x08, 0x01, 0x00, 0x0a, 0x00, 0x02, 0x28), \
+ raw_pdu(0x01, 0x08, 0x01, 0x00, 0x0a), \
+ raw_pdu(0x08, 0x01, 0x00, 0x0a, 0x00, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x02, 0x00, 0x02, 0x03, 0x00, 0x00, \
+ 0x2a), \
+ raw_pdu(0x08, 0x03, 0x00, 0x0a, 0x00, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x07, 0x00, 0x0a, 0x08, 0x00, 0x29, \
+ 0x2a), \
+ raw_pdu(0x08, 0x08, 0x00, 0x0a, 0x00, 0x03, 0x28), \
+ raw_pdu(0x01, 0x08, 0x08, 0x00, 0x0a), \
+ raw_pdu(0x0a, 0x03, 0x00), \
+ raw_pdu(0x0b, 0x54, 0x69, 0x7a, 0x65, 0x6e), \
+ raw_pdu(0x04, 0x04, 0x00, 0x04, 0x00), \
+ raw_pdu(0x05, 0x01, 0x04, 0x00, 0x01, 0x29), \
+ raw_pdu(0x04, 0x09, 0x00, 0x0a, 0x00), \
+ raw_pdu(0x05, 0x01, 0x0a, 0x00, 0x01, 0x29)
+#else
#define SERVICE_DATA_2_PDUS \
MTU_EXCHANGE_CLIENT_PDUS, \
raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
raw_pdu(0x05, 0x01, 0x04, 0x00, 0x01, 0x29), \
raw_pdu(0x04, 0x09, 0x00, 0x0a, 0x00), \
raw_pdu(0x05, 0x01, 0x0a, 0x00, 0x01, 0x29)
+#endif
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
#define SERVICE_DATA_3_PDUS \
MTU_EXCHANGE_CLIENT_PDUS, \
raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
0x2a), \
raw_pdu(0x08, 0x11, 0x03, 0x20, 0x03, 0x03, 0x28), \
raw_pdu(0x01, 0x08, 0x11, 0x03, 0x0a), \
+ raw_pdu(0x0a, 0x11, 0x01), \
+ raw_pdu(0x0b, 0x54, 0x69, 0x7a, 0x65, 0x6e), \
raw_pdu(0x04, 0x12, 0x01, 0x1f, 0x01), \
raw_pdu(0x01, 0x04, 0x12, 0x01, 0x0a), \
raw_pdu(0x04, 0x12, 0x03, 0x20, 0x03), \
raw_pdu(0x05, 0x01, 0x20, 0x03, 0x02, 0x29)
+#else
+#define SERVICE_DATA_3_PDUS \
+ MTU_EXCHANGE_CLIENT_PDUS, \
+ raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x11, 0x06, 0x00, 0x01, 0x21, 0x01, 0x00, 0x18, \
+ 0x00, 0x02, 0x00, 0x02, 0x01, 0x18), \
+ raw_pdu(0x10, 0x01, 0x02, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x11, 0x06, 0x00, 0x03, 0x20, 0x03, 0x0d, 0x18),\
+ raw_pdu(0x10, 0x21, 0x03, 0xff, 0xff, 0x00, 0x28), \
+ raw_pdu(0x01, 0x10, 0x21, 0x03, 0x0a), \
+ raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x01, 0x28), \
+ raw_pdu(0x01, 0x10, 0x01, 0x00, 0x0a), \
+ raw_pdu(0x08, 0x00, 0x01, 0x20, 0x03, 0x02, 0x28), \
+ raw_pdu(0x01, 0x08, 0x00, 0x01, 0x0a), \
+ raw_pdu(0x08, 0x00, 0x01, 0x20, 0x03, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x10, 0x01, 0x02, 0x11, 0x01, 0x00, \
+ 0x2a, 0x20, 0x01, 0x02, 0x21, 0x01, 0x01, 0x2a),\
+ raw_pdu(0x08, 0x21, 0x01, 0x20, 0x03, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x10, 0x03, 0x0a, 0x11, 0x03, 0x29, \
+ 0x2a), \
+ raw_pdu(0x08, 0x11, 0x03, 0x20, 0x03, 0x03, 0x28), \
+ raw_pdu(0x01, 0x08, 0x11, 0x03, 0x0a), \
+ raw_pdu(0x04, 0x12, 0x01, 0x1f, 0x01), \
+ raw_pdu(0x01, 0x04, 0x12, 0x01, 0x0a), \
+ raw_pdu(0x04, 0x12, 0x03, 0x20, 0x03), \
+ raw_pdu(0x05, 0x01, 0x20, 0x03, 0x02, 0x29)
+#endif
#define PRIMARY_DISC_SMALL_DB \
raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
raw_pdu(0x08, 0x12, 0xf0, 0xff, 0xff, 0x02, 0x28), \
raw_pdu(0x01, 0x08, 0x12, 0xf0, 0x0a)
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+#define CHARACTERISTIC_DISC_SMALL_DB \
+ raw_pdu(0x08, 0x01, 0x00, 0xff, 0xff, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x02, 0x00, 0xb2, 0x03, 0x00, 0x29, \
+ 0x2a), \
+ raw_pdu(0x08, 0x03, 0x00, 0xff, 0xff, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x12, 0xf0, 0x02, 0x13, 0xf0, 0x00, \
+ 0x2a), \
+ raw_pdu(0x08, 0x13, 0xf0, 0xff, 0xff, 0x03, 0x28), \
+ raw_pdu(0x09, 0x15, 0x14, 0xf0, 0x82, 0x15, 0xf0, 0xef, \
+ 0xcd, 0xab, 0x89, 0x67, 0x45, 0x23, 0x01, 0x00, \
+ 0x00, 0x00, 0x00, 0x09, 0xB0, 0x00, 0x00), \
+ raw_pdu(0x08, 0x15, 0xf0, 0xff, 0xff, 0x03, 0x28), \
+ raw_pdu(0x09, 0x07, 0x17, 0xf0, 0x02, 0x18, 0xf0, 0x01, \
+ 0x2a), \
+ raw_pdu(0x08, 0x18, 0xf0, 0xff, 0xff, 0x03, 0x28), \
+ raw_pdu(0x01, 0x08, 0x18, 0xf0, 0x0a), \
+ raw_pdu(0x0a, 0x13, 0xf0), \
+ raw_pdu(0x0b, 0x54, 0x69, 0x7a, 0x65, 0x6e)
+#else
#define CHARACTERISTIC_DISC_SMALL_DB \
raw_pdu(0x08, 0x01, 0x00, 0xff, 0xff, 0x03, 0x28), \
raw_pdu(0x09, 0x07, 0x02, 0x00, 0xb2, 0x03, 0x00, 0x29, \
0x2a), \
raw_pdu(0x08, 0x18, 0xf0, 0xff, 0xff, 0x03, 0x28), \
raw_pdu(0x01, 0x08, 0x18, 0xf0, 0x0a)
+#endif
#define DESCRIPTOR_DISC_SMALL_DB \
raw_pdu(0x04, 0x04, 0x00, 0x10, 0x00), \
/* Quit the context if we processed the last PDU */
if (!context->data->pdu_list[context->pdu_offset].valid) {
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
return FALSE;
}
{
/* Quit the context if we processed the last PDU */
if (!context->data->pdu_list[context->pdu_offset].valid) {
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
return;
}
g_assert(success);
if (!context->data->source_db) {
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
return;
}
return;
}
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static struct context *create_context(uint16_t mtu, gconstpointer data)
g_assert(success);
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_read_cb(bool success, uint8_t att_ecode,
g_assert(memcmp(value, step->value, length) == 0);
}
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_read(struct context *context)
g_assert(att_ecode == step->expected_att_ecode);
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_write(struct context *context)
.length = 0x03
};
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
static bool local_counter(uint32_t *sign_cnt, void *user_data)
{
static uint32_t cnt = 0;
0xC0, 0x5A, 0x2E, 0x88, 0x30, 0x81, 0x88 };
if (!bt_att_has_crypto(context->att)) {
+ test_debug("Calling context_quit 7", "GATT: ");
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
return;
}
.value = write_data_1,
.length = 0x03
};
+#endif
static void test_long_write_cb(bool success, bool reliable_error,
uint8_t att_ecode, void *user_data)
g_assert(att_ecode == step->expected_att_ecode);
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_long_write(struct context *context)
g_assert(!reliable_error);
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_reliable_write(struct context *context)
g_assert(memcmp(value, step->value, length) == 0);
}
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_multiple_read(struct context *context)
&length, &value));
}
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_read_by_type(gconstpointer data)
g_assert(memcmp(value, step->value, length) == 0);
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
}
indication_received = 1;
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ g_idle_add(context_quit, context);
+#else
context_quit(context);
+#endif
}
static void test_server_indication_confirm(struct context *context)
*/
define_test_client("/TP/GAC/CL/BV-01-C", test_client, NULL, NULL,
- raw_pdu(0x02, 0x00, 0x02));
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
+ raw_pdu(0x02, 0x00, 0x02)
+#else
+ raw_pdu(0x02, 0x00, 0x02),
+ raw_pdu(0x03, 0x00, 0x02),
+ raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28),
+ raw_pdu(0x01, 0x10, 0x00, 0x00, 0x0a)
+#endif
+ );
define_test_server("/TP/GAC/SR/BV-01-C", test_server, service_db_1,
NULL,
- raw_pdu(0x03, 0x00, 0x02));
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
+ raw_pdu(0x03, 0x00, 0x02)
+#else
+ raw_pdu(0x03, 0x17, 0x00)
+#endif
+ );
/*
* Discovery
define_test_server("/TP/GAD/SR/BV-01-C", test_server, service_db_1,
NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28),
raw_pdu(0x11, 0x06, 0x01, 0x00, 0x04, 0x00, 0x01, 0x18,
0x05, 0x00, 0x08, 0x00, 0x0d, 0x18),
define_test_server("/TP/GAD/SR/BV-01-C-small", test_server, ts_small_db,
NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
PRIMARY_DISC_SMALL_DB);
define_test_server("/TP/GAD/SR/BV-01-C-large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
PRIMARY_DISC_LARGE_DB_1);
define_test_att("/TP/GAD/CL/BV-02-C-1", test_search_primary, &uuid_16,
define_test_server("/TP/GAD/SR/BV-02-C/exists-16/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x06, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28, 0x00,
0x18),
raw_pdu(0x07, 0x10, 0xf0, 0x18, 0xf0),
define_test_server("/TP/GAD/SR/BV-02-C/exists-16/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x06, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28, 0x0b,
0xa0),
raw_pdu(0x07, 0x30, 0x00, 0x32, 0x00, 0x50, 0x00, 0x52,
define_test_server("/TP/GAD/SR/BV-02-C/missing-16/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x06, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28, 0x01,
0x18),
raw_pdu(0x01, 0x06, 0x01, 0x00, 0x0a));
define_test_server("/TP/GAD/SR/BV-02-C/missing-16/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x06, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28, 0x0f,
0xf0),
raw_pdu(0x01, 0x06, 0x01, 0x00, 0x0a));
define_test_server("/TP/GAD/SR/BV-02-C/exists-128/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x06, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28, 0xef,
0xcd, 0xab, 0x89, 0x67, 0x45, 0x23, 0x01, 0x00,
0x00, 0x00, 0x00, 0x0c, 0xa0, 0x00, 0x00),
define_test_server("/TP/GAD/SR/BV-02-C/missing-128/large-1",
test_server, ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x06, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28, 0xff,
0xcd, 0xab, 0x89, 0x67, 0x45, 0x23, 0x01, 0x00,
0x00, 0x00, 0x00, 0x0c, 0xa0, 0x00, 0x00),
define_test_server("/TP/GAD/SR/BV-03-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xff, 0xff, 0x02, 0x28),
raw_pdu(0x09, 0x08, 0x11, 0xf0, 0x01, 0x00, 0x10, 0x00,
0x0a, 0x18),
define_test_server("/TP/GAD/SR/BV-03-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xff, 0xff, 0x02, 0x28),
raw_pdu(0x09, 0x08, 0x02, 0x00, 0x80, 0x00, 0x86, 0x00,
0x0b, 0xa0, 0x21, 0x00, 0x01, 0x00, 0x06, 0x00,
define_test_server("/TP/GAD/SR/BV-04-C/small/1", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x10, 0xf0, 0x18, 0xf0, 0x03, 0x28),
raw_pdu(0x09, 0x07, 0x12, 0xf0, 0x02, 0x13, 0xf0, 0x00,
0x2a),
define_test_server("/TP/GAD/SR/BV-04-C/small/2", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0x0f, 0x00, 0x03, 0x28),
raw_pdu(0x09, 0x07, 0x02, 0x00, 0xb2, 0x03, 0x00, 0x29,
0x2a),
define_test_server("/TP/GAD/SR/BV-04-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x20, 0x00, 0x29, 0x00, 0x03, 0x28),
raw_pdu(0x09, 0x07, 0x22, 0x00, 0x02, 0x23, 0x00, 0x01,
0xb0, 0x24, 0x00, 0x0a, 0x25, 0x00, 0x02, 0xb0,
define_test_server("/TP/GAD/SR/BV-05-C/small/1", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x10, 0xf0, 0x17, 0xf0, 0x03, 0x28),
raw_pdu(0x09, 0x07, 0x12, 0xf0, 0x02, 0x13, 0xf0, 0x00,
0x2a),
define_test_server("/TP/GAD/SR/BV-05-C/small/2", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0x0f, 0x00, 0x03, 0x28),
raw_pdu(0x09, 0x07, 0x02, 0x00, 0xb2, 0x03, 0x00, 0x29,
0x2a),
define_test_server("/TP/GAD/SR/BV-05-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x20, 0x00, 0x29, 0x00, 0x03, 0x28),
raw_pdu(0x09, 0x07, 0x22, 0x00, 0x02, 0x23, 0x00, 0x01,
0xb0, 0x24, 0x00, 0x0a, 0x25, 0x00, 0x02, 0xb0,
define_test_server("/TP/GAD/SR/BV-06-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x04, 0x04, 0x00, 0x05, 0x00),
raw_pdu(0x05, 0x01, 0x04, 0x00, 0x02, 0x29, 0x05, 0x00,
0x01, 0x29));
define_test_server("/TP/GAD/SR/BV-06-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x04, 0x73, 0x00, 0x76, 0x00),
raw_pdu(0x05, 0x01, 0x73, 0x00, 0x00, 0x29, 0x74, 0x00,
0x01, 0x29, 0x75, 0x00, 0x04, 0x29),
define_test_server("/TP/GAR/SR/BV-01-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0a, 0x03, 0x00),
raw_pdu(0x0b, 0x42, 0x6c, 0x75, 0x65, 0x5a));
define_test_server("/TP/GAR/SR/BV-01-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0a, 0xc4, 0x00),
raw_pdu(0x0b, '1', '1', '1', '1', '1', '2', '2', '2',
'2', '2', '3', '3', '3', '3', '3', '4', '4',
define_test_server("/TP/GAR/SR/BI-02-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0a, 0x00, 0x00),
raw_pdu(0x01, 0x0a, 0x00, 0x00, 0x01));
define_test_server("/TP/GAR/SR/BI-02-C/large", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0a, 0x0f, 0xf0),
raw_pdu(0x01, 0x0a, 0x0f, 0xf0, 0x01));
define_test_att("/TP/GAR/CL/BV-03-C-1", test_read_by_type,
&uuid_char_16, &test_read_by_type_1,
raw_pdu(0x02, 0x00, 0x02),
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xff, 0xff, 0x0d, 0x2a),
raw_pdu(0x09, 0x05, 0x0a, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x08, 0x0b, 0x00, 0xff, 0xff, 0x0d, 0x2a),
define_test_att("/TP/GAR/CL/BV-03-C-2", test_read_by_type,
&uuid_char_128, &test_read_by_type_1,
raw_pdu(0x02, 0x00, 0x02),
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xff, 0xff, 0x0f, 0x0e, 0x0d,
0x0c, 0x0b, 0x0a, 0x09, 0x08, 0x07,
0x06, 0x05, 0x04, 0x03, 0x02, 0x01,
define_test_server("/TP/GAR/SR/BV-03-C/small", test_server, ts_small_db,
NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xFF, 0xFF, 0xef, 0xcd, 0xab,
0x89, 0x67, 0x45, 0x23, 0x01, 0x00,
0x00, 0x00, 0x00, 0x09, 0xB0, 0x00,
define_test_server("/TP/GAR/SR/BV-03-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xFF, 0xFF, 0xef, 0xcd, 0xab,
0x89, 0x67, 0x45, 0x23, 0x01, 0x00,
0x00, 0x00, 0x00, 0xd4, 0xd5, 0x00,
define_test_server("/TP/GAR/SR/BI-06-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xFF, 0xFF, 0x07, 0xB0),
raw_pdu(0x01, 0x08, 0x32, 0x00, 0x02));
define_test_server("/TP/GAR/SR/BI-07-C/small", test_server, ts_small_db,
NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xFF, 0xFF, 0xF0, 0x0F),
raw_pdu(0x01, 0x08, 0x01, 0x00, 0x0a));
define_test_server("/TP/GAR/SR/BI-07-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x01, 0x00, 0xFF, 0xFF, 0xF0, 0x0F),
raw_pdu(0x01, 0x08, 0x01, 0x00, 0x0a));
define_test_server("/TP/GAR/SR/BI-08-C/small", test_server, ts_small_db,
NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x02, 0x00, 0x01, 0x00, 0x00, 0x28),
raw_pdu(0x01, 0x08, 0x02, 0x00, 0x01));
define_test_server("/TP/GAR/SR/BI-08-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x08, 0x02, 0x00, 0x01, 0x00, 0x00, 0x28),
raw_pdu(0x01, 0x08, 0x02, 0x00, 0x01));
define_test_server("/TP/GAR/SR/BV-04-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xD3, 0x00, 0x00, 0x00),
raw_pdu(0x0D, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
0x88, 0x99, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55,
define_test_server("/TP/GAR/SR/BI-12-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0x27, 0x00, 0x00, 0x00),
raw_pdu(0x01, 0x0C, 0x27, 0x00, 0x02));
define_test_server("/TP/GAR/SR/BI-13-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0x13, 0xF0, 0xF0, 0x00),
raw_pdu(0x01, 0x0C, 0x13, 0xF0, 0x07));
define_test_server("/TP/GAR/SR/BI-13-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xD3, 0x00, 0xF0, 0x00),
raw_pdu(0x01, 0x0C, 0xD3, 0x00, 0x07));
define_test_server("/TP/GAR/SR/BI-14-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xF0, 0x0F, 0x00, 0x00),
raw_pdu(0x01, 0x0C, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAR/SR/BI-14-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xF0, 0x0F, 0x00, 0x00),
raw_pdu(0x01, 0x0C, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAR/SR/BV-05-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0e, 0x15, 0xF0, 0x03, 0x00),
raw_pdu(0x0f, 0x09, 'B', 'l', 'u', 'e', 'Z'));
define_test_server("/TP/GAR/SR/BV-05-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0e, 0x44, 0x00, 0x06, 0x00, 0xC4, 0x00),
raw_pdu(0x0f, 0x11, 0x0B, '1', '1', '1', '1', '1', '2',
'2', '2', '2', '2', '3', '3', '3', '3', '3',
define_test_server("/TP/GAR/SR/BI-18-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0e, 0x44, 0x00, 0x06, 0x00, 0x27, 0x00),
raw_pdu(0x01, 0x0e, 0x27, 0x00, 0x02));
define_test_server("/TP/GAR/SR/BI-19-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0e, 0x15, 0xF0, 0xF0, 0x0F),
raw_pdu(0x01, 0x0e, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAR/SR/BI-19-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0e, 0x44, 0x00, 0xF0, 0x0F),
raw_pdu(0x01, 0x0e, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAR/SR/BV-06-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0A, 0x05, 0x00),
raw_pdu(0x0B, 'M', 'a', 'n', 'u', 'f', 'a', 'c', 't',
'u', 'r', 'e', 'r', ' ', 'N', 'a', 'm', 'e'));
define_test_server("/TP/GAR/SR/BV-06-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0A, 0xD4, 0x00),
raw_pdu(0x0B, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
0x88, 0x99, 0x00, 0x12, 0x34, 0x56, 0x78, 0x90,
define_test_server("/TP/GAR/SR/BI-23-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0A, 0x96, 0x00),
raw_pdu(0x01, 0x0A, 0x96, 0x00, 0x02));
define_test_server("/TP/GAR/SR/BI-24-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0A, 0xF0, 0x0F),
raw_pdu(0x01, 0x0A, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAR/SR/BI-24-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0A, 0xF0, 0x0F),
raw_pdu(0x01, 0x0A, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAR/SR/BV-07-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xD1, 0x00, 0x00, 0x00),
raw_pdu(0x0D, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
0x88, 0x99, 0x00, 0x12, 0x34, 0x56, 0x78, 0x90,
define_test_server("/TP/GAR/SR/BV-08-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xCE, 0x00, 0x00, 0x00),
raw_pdu(0x0D, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
0x88, 0x99, 0x00, 0x12, 0x34, 0x56, 0x78, 0x90,
define_test_server("/TP/GAR/SR/BI-28-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0x96, 0x00, 0x00, 0x00),
raw_pdu(0x01, 0x0C, 0x96, 0x00, 0x02));
define_test_server("/TP/GAR/SR/BI-29-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0x05, 0x00, 0xF0, 0x00),
raw_pdu(0x01, 0x0C, 0x05, 0x00, 0x07));
define_test_server("/TP/GAR/SR/BI-29-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xCE, 0x00, 0xF0, 0x00),
raw_pdu(0x01, 0x0C, 0xCE, 0x00, 0x07));
define_test_server("/TP/GAR/SR/BI-30-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xF0, 0x0F, 0x00, 0x00),
raw_pdu(0x01, 0x0C, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAR/SR/BI-30-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x0C, 0xF0, 0x0F, 0x00, 0x00),
raw_pdu(0x01, 0x0C, 0xF0, 0x0F, 0x01));
define_test_server("/TP/GAN/SR/BV-01-C", test_server, ts_small_db,
&test_notification_server_1,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x04, 0x00, 0x01, 0x00),
raw_pdu(0x13),
raw_pdu(),
define_test_server("/TP/GAI/SR/BV-01-C", test_server, ts_small_db,
&test_indication_server_1,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x04, 0x00, 0x02, 0x00),
raw_pdu(0x13),
raw_pdu(),
SERVICE_DATA_1_PDUS,
raw_pdu(0x52, 0x07, 0x00, 0x01, 0x02, 0x03));
+ /*
+ * Currently qemu-arm version in Tizen is 2.7.0, but QEMU v2.7.0 does not have
+ * support for AF_ALG socket option for cypher algorithms. As per QEMU wiki,
+ * support for AF_ALG backends for cyphers algorithms is added in QEMU v2.10.
+ * Hence skipping crypto based test cases until QEMU version is upgraded to
+ * >= 2.10 in Tizen.
+ */
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
define_test_client("/TP/GAW/CL/BV-02-C", test_client, service_db_1,
&test_signed_write_1,
SERVICE_DATA_1_PDUS,
service_db_1, &test_signed_write_seclevel_1,
SERVICE_DATA_1_PDUS,
raw_pdu(0x52, 0x07, 0x00, 0x01, 0x02, 0x03));
+#endif
define_test_client("/TP/GAW/CL/BV-03-C", test_client, service_db_1,
&test_write_1,
define_test_server("/TP/GAW/SR/BV-07-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x03, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x17, 0x03, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x18, 0x00),
define_test_server("/TP/GAW/SR/BV-07-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0xc4, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x17, 0xc4, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x18, 0x00),
define_test_server("/TP/GAW/SR/BV-03-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x03, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x13));
define_test_server("/TP/GAW/SR/BV-03-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x82, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x13));
define_test_server("/TP/GAW/SR/BI-02-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x00, 0x00, 0x01));
define_test_server("/TP/GAW/SR/BI-02-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x0f, 0xf0, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x0f, 0xf0, 0x01));
define_test_server("/TP/GAW/SR/BI-03-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x13, 0xf0, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x13, 0xf0, 0x03));
define_test_server("/TP/GAW/SR/BI-03-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x04, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x04, 0x00, 0x03));
define_test_server("/TP/GAW/SR/BV-05-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x03, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BV-05-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x82, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-07-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-07-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x0f, 0xf0, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-08-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x05, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-08-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x73, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BV-06-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x03, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x17, 0x03, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x18, 0x01),
define_test_server("/TP/GAW/SR/BV-06-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x82, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x17, 0x82, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x18, 0x01),
define_test_server("/TP/GAW/SR/BV-10-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x03, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x17, 0x03, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x16, 0x15, 0xf0, 0x00, 0x00, 0x01, 0x02, 0x03),
define_test_server("/TP/GAW/SR/BV-10-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x82, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x17, 0x82, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x16, 0x72, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
define_test_server("/TP/GAW/SR/BI-14-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x16, 0x00, 0x00, 0x01));
define_test_server("/TP/GAW/SR/BI-14-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x0f, 0xf0, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x16, 0x0f, 0xf0, 0x01));
define_test_server("/TP/GAW/SR/BI-15-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x05, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x16, 0x05, 0x00, 0x03));
define_test_server("/TP/GAW/SR/BI-15-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x73, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x16, 0x73, 0x00, 0x03));
define_test_server("/TP/GAW/SR/BV-08-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x04, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x13));
define_test_server("/TP/GAW/SR/BV-08-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x83, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x13));
define_test_server("/TP/GAW/SR/BI-20-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x00, 0x00, 0x01));
define_test_server("/TP/GAW/SR/BI-20-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x0f, 0xf0, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x0f, 0xf0, 0x01));
define_test_server("/TP/GAW/SR/BI-21-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x13, 0xf0, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x13, 0xf0, 0x03));
define_test_server("/TP/GAW/SR/BI-21-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x12, 0x04, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x01, 0x12, 0x04, 0x00, 0x03));
define_test_server("/TP/GAW/SR/BV-09-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x04, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BV-09-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x83, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-25-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-25-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x0f, 0xf0, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-26-C/small", test_server,
ts_small_db, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x13, 0xf0, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/TP/GAW/SR/BI-26-C/large-1", test_server,
ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x04, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff),
define_test_server("/robustness/no-reliable-characteristic",
test_server, ts_large_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0x16, 0x82, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x17, 0x82, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
raw_pdu(0x16, 0x25, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03),
define_test_server("/robustness/unkown-request",
test_server, service_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0xbf, 0x00),
raw_pdu(0x01, 0xbf, 0x00, 0x00, 0x06));
define_test_server("/robustness/unkown-command",
test_server, service_db_1, NULL,
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
raw_pdu(0x03, 0x00, 0x02),
+#else
+ raw_pdu(0x03, 0x17, 0x00),
+#endif
raw_pdu(0xff, 0x00),
raw_pdu());