| /tests/bsim/bluetooth/mesh/src/ |
| A D | test_friendship.c | 485 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_msg_frnd() 493 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_msg_frnd() 501 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_msg_frnd() 609 ASSERT_OK_MSG( in test_lpn_re_est() 662 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_overflow() 696 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_overflow() 724 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_overflow() 801 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_group() 818 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_group() 848 ASSERT_OK_MSG(bt_mesh_lpn_poll(), "Poll failed"); in test_lpn_group() [all …]
|
| A D | test_transport.c | 146 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_unicast() 163 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_group() 200 ASSERT_OK_MSG(err, "Virtual addr add failed (err %d)", err); in test_tx_va() 208 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_va() 238 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_va_collision() 256 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_loopback() 326 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_loopback_group() 472 ASSERT_OK_MSG(err, "Failed receiving vector %d", i); in test_rx_unicast() 494 ASSERT_OK_MSG(err, "Failed receiving vector %d", i); in test_rx_group() 568 ASSERT_OK_MSG(err, "Failed receiving vector %d", i); in test_rx_va() [all …]
|
| A D | test_suspend.c | 301 ASSERT_OK_MSG(bt_mesh_suspend(), "Failed to suspend Mesh."); in dut_pub_common() 304 ASSERT_OK_MSG(bt_disable(), "Failed to disable Bluetooth."); in dut_pub_common() 310 ASSERT_OK_MSG(bt_enable(NULL), "Failed to enable Bluetooth."); in dut_pub_common() 313 ASSERT_OK_MSG(bt_mesh_resume(), "Failed to resume Mesh."); in dut_pub_common() 367 ASSERT_OK_MSG(bt_mesh_suspend(), "Failed to suspend Mesh."); in dut_gatt_common() 370 ASSERT_OK_MSG(bt_disable(), "Failed to disable Bluetooth."); in dut_gatt_common() 376 ASSERT_OK_MSG(bt_enable(NULL), "Failed to enable Bluetooth."); in dut_gatt_common() 379 ASSERT_OK_MSG(bt_mesh_resume(), "Failed to resume Mesh."); in dut_gatt_common() 437 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in test_tester_gatt() 492 ASSERT_OK_MSG(bt_mesh_suspend(), "Failed to suspend Mesh."); in test_dut_suspend_resume_unref() [all …]
|
| A D | test_advertiser.c | 62 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in bt_init() 69 ASSERT_OK_MSG(bt_mesh_adv_enable(), "Mesh adv init failed"); in adv_init() 231 ASSERT_OK_MSG(err, "Failed adv start cb err (%d)", err); in send_order_start_cb() 245 ASSERT_OK_MSG(err, "Failed adv start cb err (%d)", err); in send_order_end_cb() 345 ASSERT_OK_MSG(err, "Didn't call end tx cb."); in test_tx_cb_single() 397 ASSERT_OK_MSG(err, "Didn't call the last end tx cb."); in test_tx_cb_multi() 495 ASSERT_OK_MSG(k_sem_take(&observer_sem, K_SECONDS(10)), in test_tx_send_order() 564 ASSERT_OK_MSG(k_sem_take(&observer_sem, K_SECONDS(10)), in test_tx_send_cancel() 605 ASSERT_OK_MSG(k_sem_take(&observer_sem, K_SECONDS(10)), in test_tx_send_terminate() 893 ASSERT_OK_MSG(err, "Not all advs were sent"); in check_suspending() [all …]
|
| A D | test_proxy_sol.c | 112 ASSERT_OK_MSG(bt_mesh_provision(test_net_key, 0, 0, 0, tester_cfg.addr, tester_cfg.dev_key), in tester_configure() 130 ASSERT_OK_MSG( in iut_configure() 207 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT)), in test_tester_beacon_rcvd() 223 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT)), in test_tester_immediate_replay_attack() 256 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(SEM_TIMEOUT)), in test_tester_power_replay_attack()
|
| A D | test_beacon.c | 1027 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(40)), in test_rx_beacon_cache() 1039 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in test_tx_beacon_cache() 1503 ASSERT_OK_MSG(k_sem_take(&beacon_sem, K_SECONDS(40)), in test_rx_priv_beacon_cache() 1515 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in test_tx_priv_beacon_cache() 1573 ASSERT_OK_MSG(bt_mesh_identity_key(net->net_key, &net->id_key), in pp_netkey_ctx_init() 1705 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in rx_priv_common_init() 1816 ASSERT_OK_MSG(bt_mesh_subnet_add(TEST_NET_IDX2, test_net_key_2), in test_tx_priv_multi_net_id() 1954 ASSERT_OK_MSG(bt_mesh_subnet_add(TEST_NET_IDX2, test_net_key_2), in test_tx_proxy_adv_multi_subnet_coex() 1956 ASSERT_OK_MSG(bt_mesh_subnet_add(TEST_NET_IDX3, test_net_key_3), in test_tx_proxy_adv_multi_subnet_coex() 1995 ASSERT_OK_MSG(bt_mesh_proxy_solicit(TEST_NET_IDX1), in test_tx_proxy_adv_solicit_trigger() [all …]
|
| A D | test_scanner.c | 188 ASSERT_OK_MSG(err, "Failed receiving with valid ad_type"); in test_rx_invalid_packet()
|
| A D | test_provision.c | 1209 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_devkey_client() 1218 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_devkey_client() 1238 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_comp_data_client() 1247 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_comp_data_client() 1271 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_address_client() 1287 ASSERT_OK_MSG(bt_mesh_cdb_node_key_import(prev_node, prev_node_dev_key), in reprovision_remote_address_client() 1291 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, tmp), in reprovision_remote_address_client() 1293 ASSERT_OK_MSG(bt_mesh_cdb_node_key_import(prev_node, tmp), in reprovision_remote_address_client() 1301 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_address_client()
|
| A D | mesh_test.h | 59 #define ASSERT_OK_MSG(cond, fmt, ...) \ macro
|
| A D | test_access.c | 479 ASSERT_OK_MSG(bt_mesh_cfg_cli_mod_sub_add(0, UNICAST_ADDR2, UNICAST_ADDR2, in test_sub_capacity_ext_model() 490 ASSERT_OK_MSG(bt_mesh_cfg_cli_mod_sub_add(0, UNICAST_ADDR2, UNICAST_ADDR2, in test_sub_capacity_ext_model()
|
| A D | test_blob.c | 1607 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_ESTABLISHED, in test_cli_friend_pull() 1649 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_LPN_ESTABLISHED, K_SECONDS(5)), in test_srv_lpn_pull()
|