Home
last modified time | relevance | path

Searched refs:bad_code (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_assistant_test.c119 char bad_code[BT_ISO_BROADCAST_CODE_SIZE * 2 + 1]; in bap_broadcast_assistant_recv_state_cb() local
134 (void)bin2hex(state->bad_code, BT_ISO_BROADCAST_CODE_SIZE, bad_code, sizeof(bad_code)); in bap_broadcast_assistant_recv_state_cb()
138 bad_code); in bap_broadcast_assistant_recv_state_cb()
144 if (memcmp(state->bad_code, INCORRECT_BROADCAST_CODE, BT_ISO_BROADCAST_CODE_SIZE) != in bap_broadcast_assistant_recv_state_cb()
Dcap_commander_test.c444 char bad_code[BT_ISO_BROADCAST_CODE_SIZE * 2 + 1]; in bap_broadcast_assistant_recv_state_cb() local
458 (void)bin2hex(state->bad_code, BT_ISO_BROADCAST_CODE_SIZE, bad_code, sizeof(bad_code)); in bap_broadcast_assistant_recv_state_cb()
462 state->encrypt_state == BT_BAP_BIG_ENC_STATE_BAD_CODE ? ", bad code" : "", bad_code); in bap_broadcast_assistant_recv_state_cb()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_scan_delegator.c137 is_bad_code ? bt_hex(state->bad_code, sizeof(state->bad_code)) : "", in bt_debug_dump_recv_state()
206 (void)net_buf_simple_add_mem(&read_buf, &state->bad_code, in net_buf_put_recv_state()
207 sizeof(state->bad_code)); in net_buf_put_recv_state()
1317 (void)memcpy(internal_state->state.bad_code, in bt_bap_scan_delegator_set_bis_sync_state()
1319 sizeof(internal_state->state.bad_code)); in bt_bap_scan_delegator_set_bis_sync_state()
1515 (void)memcpy(state->bad_code, internal_state->broadcast_code, in bt_bap_scan_delegator_mod_src()
1516 sizeof(internal_state->state.bad_code)); in bt_bap_scan_delegator_mod_src()
Dbap_broadcast_assistant.c257 const size_t minimum_size = sizeof(recv_state->bad_code) + in parse_recv_state()
267 (void)memcpy(recv_state->bad_code, broadcast_code, in parse_recv_state()
268 sizeof(recv_state->bad_code)); in parse_recv_state()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_broadcast_assistant.c134 char bad_code[33]; in bap_broadcast_assistant_recv_state_cb() local
143 bin2hex(state->bad_code, BT_ISO_BROADCAST_CODE_SIZE, bad_code, sizeof(bad_code)); in bap_broadcast_assistant_recv_state_cb()
151 is_bad_code ? bad_code : ""); in bap_broadcast_assistant_recv_state_cb()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h581 uint8_t bad_code[BT_ISO_BROADCAST_CODE_SIZE]; member