Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_friendship.c81 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_POLLED, in friend_wait_for_polls()
88 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_POLLED, in friend_wait_for_polls()
110 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_ESTABLISHED, in test_friend_est()
133 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_ESTABLISHED, in test_friend_est_multi()
158 ASSERT_OK_MSG(bt_mesh_test_friendship_evt_wait(BT_MESH_TEST_FRIEND_ESTABLISHED, in test_friend_msg()
168 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, 5, 0, in test_friend_msg()
176 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, 13, 0, in test_friend_msg()
190 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, in test_friend_msg()
193 ASSERT_OK_MSG(bt_mesh_test_send(bt_mesh_test_friendship_addr_get(), NULL, in test_friend_msg()
200 ASSERT_OK_MSG(bt_mesh_test_recv(5, cfg->addr, NULL, K_SECONDS(10)), in test_friend_msg()
[all …]
Dtest_transport.c148 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_unicast()
165 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_group()
202 ASSERT_OK_MSG(err, "Virtual addr add failed (err %d)", err); in test_tx_va()
210 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_va()
227 ASSERT_OK_MSG(err, "Virtual addr add failed (err %d)", err); in test_tx_va_collision()
240 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_va_collision()
258 ASSERT_OK_MSG(err, "Failed sending vector %d", i); in test_tx_loopback()
281 ASSERT_OK_MSG(bt_mesh_cfg_cli_app_key_add(0, cfg->addr, 0, 1, app_key, &status), in test_tx_unknown_app()
287 ASSERT_OK_MSG(bt_mesh_cfg_cli_mod_app_bind(0, cfg->addr, cfg->addr, 1, in test_tx_unknown_app()
296 ASSERT_OK_MSG(bt_mesh_test_send(rx_cfg.addr, NULL, 5, 0, K_SECONDS(1)), in test_tx_unknown_app()
[all …]
Dtest_advertiser.c71 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in bt_init()
78 ASSERT_OK_MSG(bt_mesh_adv_enable(), "Mesh adv init failed"); in adv_init()
310 ASSERT_OK_MSG(err, "Failed adv start cb err (%d)", err); in send_order_start_cb()
326 ASSERT_OK_MSG(err, "Failed adv start cb err (%d)", err); in send_order_end_cb()
376 ASSERT_OK_MSG(err, "Didn't receive adv in time"); in receive_order()
442 ASSERT_OK_MSG(err, "Didn't call end tx cb."); in test_tx_cb_single()
480 ASSERT_OK_MSG(err, "Didn't call the end tx cb that reallocates buffer one more time."); in test_tx_cb_multi()
494 ASSERT_OK_MSG(err, "Didn't call the last end tx cb."); in test_tx_cb_multi()
510 ASSERT_OK_MSG(err, "Failed to enable GATT provisioner"); in test_tx_proxy_mixin()
592 ASSERT_OK_MSG(k_sem_take(&observer_sem, K_SECONDS(10)), in test_tx_send_order()
[all …]
Dtest_beacon.c1425 ASSERT_OK_MSG(bt_mesh_identity_key(net->net_key, &net->id_key), in pp_netkey_ctx_init()
1427 ASSERT_OK_MSG(bt_mesh_k3(net->net_key, net->net_id), "Failed to generate Net ID"); in pp_netkey_ctx_init()
1510 ASSERT_OK_MSG(bt_enable(NULL), "Bluetooth init failed"); in rx_priv_common_init()
1520 ASSERT_OK_MSG(bt_mesh_gatt_proxy_set(BT_MESH_GATT_PROXY_DISABLED), in tx_priv_common_init()
1529 ASSERT_OK_MSG(bt_mesh_priv_gatt_proxy_set(BT_MESH_GATT_PROXY_ENABLED), in test_tx_priv_net_id()
1568 ASSERT_OK_MSG(bt_mesh_subnet_priv_node_id_set(TEST_NET_IDX1, BT_MESH_NODE_IDENTITY_RUNNING), in test_tx_priv_node_id()
1575 ASSERT_OK_MSG(bt_mesh_subnet_priv_node_id_get(TEST_NET_IDX1, &state), in test_tx_priv_node_id()
1580 ASSERT_OK_MSG(bt_mesh_subnet_priv_node_id_set(TEST_NET_IDX1, BT_MESH_NODE_IDENTITY_RUNNING), in test_tx_priv_node_id()
1627 ASSERT_OK_MSG(bt_mesh_subnet_add(TEST_NET_IDX2, test_net_key_secondary), in test_tx_priv_multi_net_id()
1631 ASSERT_OK_MSG(bt_mesh_priv_gatt_proxy_set(BT_MESH_GATT_PROXY_ENABLED), in test_tx_priv_multi_net_id()
Dtest_provision.c1094 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_devkey_client()
1103 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_devkey_client()
1123 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_comp_data_client()
1132 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_comp_data_client()
1156 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_address_client()
1172 ASSERT_OK_MSG(bt_mesh_cdb_node_key_import(prev_node, prev_node_dev_key), in reprovision_remote_address_client()
1176 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, tmp), in reprovision_remote_address_client()
1178 ASSERT_OK_MSG(bt_mesh_cdb_node_key_import(prev_node, tmp), in reprovision_remote_address_client()
1186 ASSERT_OK_MSG(bt_mesh_cdb_node_key_export(node, prev_node_dev_key), in reprovision_remote_address_client()
Dtest_scanner.c189 ASSERT_OK_MSG(err, "Failed receiving with valid ad_type"); in test_rx_invalid_packet()
Dmesh_test.h58 #define ASSERT_OK_MSG(cond, fmt, ...) \ macro
Dtest_access.c474 ASSERT_OK_MSG(bt_mesh_cfg_cli_mod_sub_add(0, UNICAST_ADDR2, UNICAST_ADDR2, in test_sub_capacity_ext_model()
485 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()