Home
last modified time | relevance | path

Searched refs:ASSERT_OK_MSG (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_friendship.c74 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_POLLED, in friend_wait_for_polls()
81 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_POLLED, in friend_wait_for_polls()
103 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_ESTABLISHED, in test_friend_est()
124 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_ESTABLISHED, in test_friend_est_multi()
149 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_ESTABLISHED, in test_friend_msg()
159 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, 5, 0, in test_friend_msg()
167 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, 13, 0, in test_friend_msg()
181 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, in test_friend_msg()
184 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, in test_friend_msg()
191 ASSERT_OK_MSG(bt_mesh_test_recv(5, cfg->addr, NULL, K_SECONDS(10)), in test_friend_msg()
[all …]
Dtest_transport.c146 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()
225 ASSERT_OK_MSG(err, "Virtual addr add failed (err %d)", err); in test_tx_va_collision()
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()
279 ASSERT_OK_MSG(bt_mesh_cfg_cli_app_key_add(0, cfg->addr, 0, 1, app_key, &status), in test_tx_unknown_app()
285 ASSERT_OK_MSG(bt_mesh_cfg_cli_mod_app_bind(0, cfg->addr, cfg->addr, 1, in test_tx_unknown_app()
294 ASSERT_OK_MSG(bt_mesh_test_send(rx_cfg.addr, NULL, 5, 0, K_SECONDS(1)), in test_tx_unknown_app()
[all …]
Dtest_suspend.c295 ASSERT_OK_MSG(k_sem_take(&publish_sem, K_SECONDS(30)), "Pub timed out"); in dut_pub_common()
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()
316 ASSERT_OK_MSG(k_sem_take(&publish_sem, K_SECONDS(30)), "Pub timed out"); in dut_pub_common()
349 ASSERT_OK_MSG(bt_mesh_prov_enable(BT_MESH_PROV_GATT), "Failed to enable GATT provisioner"); in dut_gatt_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()
[all …]
Dtest_advertiser.c55 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in bt_init()
62 ASSERT_OK_MSG(bt_mesh_adv_enable(), "Mesh adv init failed"); in adv_init()
224 ASSERT_OK_MSG(err, "Failed adv start cb err (%d)", err); in send_order_start_cb()
238 ASSERT_OK_MSG(err, "Failed adv start cb err (%d)", err); in send_order_end_cb()
338 ASSERT_OK_MSG(err, "Didn't call end tx cb."); in test_tx_cb_single()
376 ASSERT_OK_MSG(err, "Didn't call the end tx cb that reallocates adv one more time."); in test_tx_cb_multi()
390 ASSERT_OK_MSG(err, "Didn't call the last end tx cb."); in test_tx_cb_multi()
406 ASSERT_OK_MSG(err, "Failed to enable GATT provisioner"); in test_tx_proxy_mixin()
488 ASSERT_OK_MSG(k_sem_take(&observer_sem, K_SECONDS(10)), in test_tx_send_order()
518 ASSERT_OK_MSG(k_sem_take(&observer_sem, K_SECONDS(10)), in test_tx_reverse_order()
[all …]
Dtest_proxy_sol.c112 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()
Dtest_beacon.c1027 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()
1575 ASSERT_OK_MSG(bt_mesh_k3(net->net_key, net->net_id), "Failed to generate Net ID"); in pp_netkey_ctx_init()
1705 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in rx_priv_common_init()
1715 ASSERT_OK_MSG(bt_mesh_gatt_proxy_set(BT_MESH_GATT_PROXY_DISABLED), in tx_proxy_adv_common_init()
1724 ASSERT_OK_MSG(bt_mesh_priv_gatt_proxy_set(BT_MESH_GATT_PROXY_ENABLED), in test_tx_priv_net_id()
1763 ASSERT_OK_MSG(bt_mesh_subnet_priv_node_id_set(TEST_NET_IDX1, BT_MESH_NODE_IDENTITY_RUNNING), in test_tx_priv_node_id()
[all …]
Dtest_provision.c1079 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_devkey_client()
1088 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_devkey_client()
1108 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_comp_data_client()
1117 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_comp_data_client()
1141 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_address_client()
1157 ASSERT_OK_MSG(bt_mesh_cdb_node_key_import(prev_node, prev_node_dev_key), in reprovision_remote_address_client()
1161 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, tmp), in reprovision_remote_address_client()
1163 ASSERT_OK_MSG(bt_mesh_cdb_node_key_import(prev_node, tmp), in reprovision_remote_address_client()
1171 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_address_client()
Dtest_scanner.c188 ASSERT_OK_MSG(err, "Failed receiving with valid ad_type"); in test_rx_invalid_packet()
Dmesh_test.h59 #define ASSERT_OK_MSG(cond, fmt, ...) \ macro
Dtest_access.c479 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()
Dtest_blob.c1607 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()