Searched refs:chrc_handle (Results 1 – 6 of 6) sorted by relevance
| /tests/bsim/bluetooth/host/misc/disable/src/ |
| A D | gatt_client_test.c | 27 static uint16_t chrc_handle; variable 116 if (chrc_handle == 0 || long_chrc_handle == 0) { in discover_func() 117 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func() 148 chrc_handle = chrc->value_handle; in discover_func() 197 if (handle == chrc_handle) { in gatt_write() 229 if (params->single.handle == chrc_handle) { in gatt_read_cb() 233 } else if (params->single.handle == chrc_handle) { in gatt_read_cb() 255 read_params.single.handle = chrc_handle; in gatt_read() 296 gatt_write(chrc_handle); in test_main() 297 gatt_read(chrc_handle); in test_main()
|
| /tests/bsim/bluetooth/host/att/eatt_notif/src/ |
| A D | server_test.c | 70 static uint16_t chrc_handle; variable 79 if (chrc_handle == 0) { in discover_func() 80 TEST_FAIL("Did not discover chrc (%x)", chrc_handle); in discover_func() 110 chrc_handle = chrc->value_handle; in discover_func() 170 subscribe_params.value_handle = chrc_handle; in gatt_subscribe() 180 printk("Subscribing: val %x\n", chrc_handle); in gatt_subscribe()
|
| /tests/bsim/bluetooth/host/gatt/general/src/ |
| A D | gatt_client_test.c | 31 static uint16_t chrc_handle; variable 134 if (chrc_handle == 0 || long_chrc_handle == 0) { in discover_func() 135 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func() 166 chrc_handle = chrc->value_handle; in discover_func() 231 if (handle == chrc_handle) { in gatt_write() 295 if (params->single.handle == chrc_handle) { in gatt_read_cb() 334 if (handle == chrc_handle) { in gatt_read() 397 gatt_write(chrc_handle, BT_ATT_ERR_SUCCESS); in test_main() 398 gatt_read(chrc_handle, BT_ATT_ERR_SUCCESS); in test_main()
|
| /tests/bsim/bluetooth/host/gatt/notify/src/ |
| A D | gatt_client_test.c | 29 static uint16_t chrc_handle; variable 120 if (chrc_handle == 0 || long_chrc_handle == 0) { in discover_func() 121 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func() 152 chrc_handle = chrc->value_handle; in discover_func() 199 if (params->value_handle == chrc_handle) { in test_short_subscribed() 259 sub_params_short.value_handle = chrc_handle; in gatt_subscribe_short() 273 sub_params_short.value_handle = chrc_handle; in gatt_unsubscribe_short()
|
| /tests/bsim/bluetooth/host/gatt/notify_multiple/src/ |
| A D | gatt_client_test.c | 31 static uint16_t chrc_handle; variable 139 if (chrc_handle == 0 || long_chrc_handle == 0) { in discover_func() 140 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func() 171 chrc_handle = chrc->value_handle; in discover_func() 220 if (params->value_handle == chrc_handle) { in test_subscribed() 351 sub_params_short.value_handle = chrc_handle; in test_main()
|
| /tests/bsim/bluetooth/host/gatt/caching/src/ |
| A D | gatt_client_test.c | 32 static uint16_t chrc_handle; variable 125 if (chrc_handle == 0) { in discover_func() 126 TEST_FAIL("Did not discover chrc (%x)", chrc_handle); in discover_func() 156 chrc_handle = chrc->value_handle; in discover_func() 376 chan_1_read.single.handle = chrc_handle; in test_main_common() 377 chan_2_read.single.handle = chrc_handle; in test_main_common()
|
Completed in 9 milliseconds