Home
last modified time | relevance | path

Searched refs:observer_sem (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_advertiser.c41 static K_SEM_DEFINE(observer_sem, 0, 1);
139 k_sem_give(&observer_sem); in single_end_cb()
151 k_sem_give(&observer_sem); in realloc_end_cb()
167 k_sem_give(&observer_sem); in seq_end_cb()
190 k_sem_give(&observer_sem); in gatt_scan_cb()
216 k_sem_give(&observer_sem); in xmit_scan_cb()
245 k_sem_give(&observer_sem); in send_order_end_cb()
267 k_sem_give(&observer_sem); in receive_order_scan_cb()
275 ASSERT_OK(bt_mesh_test_wait_for_packet(receive_order_scan_cb, &observer_sem, 10)); in receive_order()
337 err = k_sem_take(&observer_sem, K_SECONDS(1)); in test_tx_cb_single()
[all …]
Dtest_beacon.c325 static struct k_sem observer_sem; variable
375 k_sem_give(&observer_sem); in beacon_scan_cb()
395 bool received = !bt_mesh_test_wait_for_packet(scan_cb, &observer_sem, wait); in wait_for_beacon()
511 k_sem_init(&observer_sem, 0, 1); in test_tx_invalid()
563 k_sem_init(&observer_sem, 0, 1); in test_tx_kr_old_key()
752 k_sem_init(&observer_sem, 0, 1); in test_tx_multiple_netkeys()
945 k_sem_init(&observer_sem, 0, 1); in test_rx_secure_beacon_interval()
1203 k_sem_init(&observer_sem, 0, 1); in test_rx_priv_adv()
1280 k_sem_init(&observer_sem, 0, 1); in test_tx_priv_invalid()
1429 k_sem_init(&observer_sem, 0, 1); in test_rx_priv_interleave()
[all …]
Dmesh_test.h211 int bt_mesh_test_wait_for_packet(bt_le_scan_cb_t scan_cb, struct k_sem *observer_sem,
Dmesh_test.c582 int bt_mesh_test_wait_for_packet(bt_le_scan_cb_t scan_cb, struct k_sem *observer_sem, uint16_t wait) in bt_mesh_test_wait_for_packet() argument
599 err = k_sem_take(observer_sem, K_SECONDS(wait)); in bt_mesh_test_wait_for_packet()