Searched refs:BSIM_ASSERT (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/src/ |
D | bs_bt_utils.c | 55 BSIM_ASSERT(conn, "Test error: no g_conn!\n"); in clear_g_conn() 61 BSIM_ASSERT((!g_conn || (conn == g_conn)), "Unexpected new connection."); in connected() 97 BSIM_ASSERT(!err, "Err bt_le_scan_stop %d", err); in stop_scan_and_connect() 100 BSIM_ASSERT(!err, "Err bt_conn_le_create %d", err); in stop_scan_and_connect() 108 BSIM_ASSERT(!err, "Err bt_le_scan_start %d", err); in scan_connect_to_first_result() 116 BSIM_ASSERT(!err, "bt_conn_disconnect failed (%d)\n", err); in disconnect() 124 BSIM_ASSERT(!err, "Err bt_conn_set_security %d", err); in set_security() 141 BSIM_ASSERT(!err, "bt_le_ext_adv_create failed (%d)\n", err); in create_adv() 149 BSIM_ASSERT(!err, "bt_le_ext_adv_start failed (%d)\n", err); in start_adv() 157 BSIM_ASSERT(!err, "bt_le_ext_adv_stop failed (%d)\n", err); in stop_adv()
|
D | central.c | 69 BSIM_ASSERT(!err, "bt_gatt_subscribe failed (%d)\n", err); in subscribe() 81 BSIM_ASSERT(gatt_handles[i] != 0, "did not find all handles\n"); in discover_func() 105 BSIM_ASSERT(!err, "bt_gatt_discover failed (%d)\n", err); in discover_func() 134 BSIM_ASSERT(!err, "bt_gatt_discover failed (%d)\n", err); in gatt_discover() 164 BSIM_ASSERT(!err, "bt_enable failed (%d)\n", err); in central() 167 BSIM_ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in central() 170 BSIM_ASSERT(!err, "settings_load failed (%d)\n", err); in central()
|
D | peripheral.c | 63 BSIM_ASSERT(!err, "bt_enable failed (%d)\n", err); in peripheral() 66 BSIM_ASSERT(!err, "settings_load failed (%d)\n", err); in peripheral() 79 BSIM_ASSERT(!err, "bt_gatt_service_register failed (%d)\n", err); in peripheral()
|
D | bs_bt_utils.h | 33 #define BSIM_ASSERT(expr, ...) \ macro
|