diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index 5f5ad1b..bee8f37 100644
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
#define PRIMARY_DISC_SMALL_DB \
raw_pdu(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \
- raw_pdu(0x11, 0x06, 0x10, 0xF0, 0x15, 0xF0, 0x00, 0x18, \
+ raw_pdu(0x11, 0x06, 0x10, 0xF0, 0x17, 0xF0, 0x00, 0x18, \
0xFF, 0xFF, 0xFF, 0xFF, 0x0a, 0x18)
#define SECONDARY_DISC_SMALL_DB \
NULL, NULL,
NULL);
+ g_assert(attrib != NULL);
+
gatt_db_attribute_write(attrib, 0, value, len, 0x00, NULL, att_write_cb,
NULL);
gatt_db_service_set_active(dis_att, true);
- serv_att = add_gap(db, 0xF010, true, 5);
+ serv_att = add_gap(db, 0xF010, true, 7);
gatt_db_service_add_included(serv_att, dis_att);
0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00,
0x80, 0x00, 0x10, 0x00, 0x00, 0x0d,
0x18, 0x00, 0x00),
- raw_pdu(0x01, 0x06, 0x08, 0x00, 0x0a));
+ raw_pdu(0x01, 0x06, 0x18, 0x00, 0x0a));
define_test_att("/TP/GAD/CL/BV-03-C", test_search_included, NULL,
NULL,