/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | main.c | 101 uint device_number = get_device_nbr(); in backchannel_init() 123 device_numbers[0] = get_device_nbr() + 1; in backchannel_init() 128 device_numbers[0] = get_device_nbr() - 1; in backchannel_init() 133 device_numbers[0] = get_device_nbr() + 1; in backchannel_init() 135 device_numbers[1] = get_device_nbr() - 1; in backchannel_init() 151 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 165 if (sync_msg[0] != get_device_nbr()) { in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/common/ |
D | sync.c | 24 uint device_number = get_device_nbr(); in backchannel_init() 42 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 55 if (sync_msg[0] != get_device_nbr()) { in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/babblekit/src/ |
D | sync.c | 23 uint device_number = get_device_nbr(); in bk_sync_init() 42 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in bk_sync_send() 57 if (sync_msg[0] != get_device_nbr()) { in bk_sync_wait()
|
D | device.c | 12 return get_device_nbr(); in bk_device_get_number()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/caching/src/ |
D | common.c | 28 uint device_number = get_device_nbr(); in backchannel_init() 43 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 56 if (sync_msg[0] != get_device_nbr()) { in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/ |
D | bs_bt_utils.c | 35 uint device_number = get_device_nbr(); in backchannel_init() 49 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 63 if (sync_msg[0] != get_device_nbr()) { in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/ |
D | bs_bt_utils.c | 33 uint device_number = get_device_nbr(); in backchannel_init() 47 uint8_t sync_msg[MSG_SIZE] = {get_device_nbr()}; in backchannel_sync_send() 59 if (sync_msg[0] != get_device_nbr()) { in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/ |
D | bs_sync.c | 40 uint self = get_device_nbr(); in setup_backchannels() 83 LOG_DBG("%llu d%u enter", counter, get_device_nbr()); in bt_testlib_bs_sync_all() 86 if (get_device_nbr() == 0) { in bt_testlib_bs_sync_all() 104 LOG_DBG("%llu d%u exit", counter, get_device_nbr()); in bt_testlib_bs_sync_all()
|
D | main.c | 117 if (get_device_nbr() == 0) { in bs_sync_all_log() 139 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in test_long_read() 183 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in the_test() 184 bool peripheral = (get_device_nbr() == PERIPHERAL_DEVICE_NBR); in the_test()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/open_close/src/ |
D | bs_sync.c | 40 uint self = get_device_nbr(); in setup_backchannels() 83 LOG_DBG("%llu d%u enter", counter, get_device_nbr()); in bt_testlib_bs_sync_all() 86 if (get_device_nbr() == 0) { in bt_testlib_bs_sync_all() 104 LOG_DBG("%llu d%u exit", counter, get_device_nbr()); in bt_testlib_bs_sync_all()
|
D | main.c | 88 if (get_device_nbr() == 0) { in bs_sync_all_log() 126 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in a_test_iteration() 127 bool peripheral = (get_device_nbr() == PERIPHERAL_DEVICE_NBR); in a_test_iteration() 217 bool peripheral = (get_device_nbr() == PERIPHERAL_DEVICE_NBR); in the_test()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/timeout/ |
D | main.c | 80 if (get_device_nbr() == 0) { in bs_sync_all_log() 178 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in test_timeout() 179 bool peripheral = (get_device_nbr() == PERIPHERAL_DEVICE_NBR); in test_timeout() 245 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in disconnected() 246 bool peripheral = (get_device_nbr() == PERIPHERAL_DEVICE_NBR); in disconnected() 271 bool peripheral = (get_device_nbr() == PERIPHERAL_DEVICE_NBR); in the_test()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/ |
D | common.c | 14 uint8_t sync_msg[BC_MSG_SIZE] = {get_device_nbr(), device_nbr}; /* src, dst */ in backchannel_sync_send() 29 if (sync_msg[0] == device_nbr && sync_msg[1] == get_device_nbr()) { in backchannel_sync_wait()
|
D | central.c | 261 uint device_number = get_device_nbr(); in central_backchannel_init()
|
D | peripheral.c | 223 uint device_number = get_device_nbr(); in peripheral_backchannel_init()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/ |
D | common.c | 14 uint8_t sync_msg[BC_MSG_SIZE] = {get_device_nbr(), device_nbr}; /* src, dst */ in backchannel_sync_send() 29 if (sync_msg[0] == device_nbr && sync_msg[1] == get_device_nbr()) { in backchannel_sync_wait()
|
/Zephyr-latest/boards/native/nrf_bsim/common/ |
D | bsim_args_runner.h | 27 unsigned int get_device_nbr(void);
|
D | bsim_args_runner.c | 323 unsigned int get_device_nbr(void) in get_device_nbr() function
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/ |
D | common.c | 185 uint device_number = get_device_nbr(); in backchannel_init() 200 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send() 213 if (sync_msg[0] != get_device_nbr()) { in backchannel_sync_wait()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/read_fill_buf/server/ |
D | main.c | 44 __ASSERT_NO_MSG(get_device_nbr() == 1); in the_test()
|
/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/ |
D | central_test.c | 482 if (get_device_nbr() == 1) { /* One device for Indication */ in subscribe_battery_level_status() 590 if (get_device_nbr() == 1) { in test_bas_central_main() 610 if (get_device_nbr() == 1) { in test_bas_central_main() 618 if (get_device_nbr() == 1) { in test_bas_central_main() 633 if (get_device_nbr() == 1) { in test_bas_central_main()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | distribute_keyid.c | 30 BT_MESH_KEY_ID_RANGE_SIZE * get_device_nbr())
|
D | test_heartbeat.c | 38 pub_cfg.addr = PUBLISHER_ADDR_START + get_device_nbr(); in test_publish_init() 39 pub_cfg.dev_key[0] = get_device_nbr(); in test_publish_init()
|
D | test_brg.c | 86 ASSERT_EQUAL(1, get_device_nbr()); in test_bridge_init() 91 ASSERT_TRUE_MSG(get_device_nbr() >= 2, "Regular devices must be initialized after " in test_device_init() 95 dev_uuid[6] = get_device_nbr() + 1; in test_device_init() 98 dev_uuid[8] = get_device_nbr() - 1; in test_device_init() 384 ASSERT_TRUE_MSG(get_device_nbr() != REMOTE_NODES_MULTICAST + 1, in device_data_cb()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/ |
D | main.c | 38 __ASSERT_NO_MSG(get_device_nbr() == 1); in test_common()
|