Home
last modified time | relevance | path

Searched refs:BT_ISO_BROADCAST_CODE_SIZE (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/include/zephyr/bluetooth/audio/
Dcap.h501 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
665 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
1040 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
Dbap.h581 uint8_t bad_code[BT_ISO_BROADCAST_CODE_SIZE];
661 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]);
2114 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
2372 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]);
2872 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]);
/Zephyr-latest/include/zephyr/bluetooth/
Diso.h132 #define BT_ISO_BROADCAST_CODE_SIZE 16 macro
536 uint8_t bcode[BT_ISO_BROADCAST_CODE_SIZE];
624 uint8_t bcode[BT_ISO_BROADCAST_CODE_SIZE];
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_internal.h81 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
Dbap_endpoint.h125 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
Dcap_internal.h123 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
Dbap_broadcast_assistant.c266 broadcast_code = net_buf_simple_pull_mem(&buf, BT_ISO_BROADCAST_CODE_SIZE); in parse_recv_state()
1589 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in bt_bap_broadcast_assistant_set_broadcast_code() argument
1622 (void)memcpy(cp->broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in bt_bap_broadcast_assistant_set_broadcast_code()
1624 LOG_HEXDUMP_DBG(cp->broadcast_code, BT_ISO_BROADCAST_CODE_SIZE, "broadcast code:"); in bt_bap_broadcast_assistant_set_broadcast_code()
Dcap_initiator.c189 BT_ISO_BROADCAST_CODE_SIZE); in cap_initiator_broadcast_to_bap_broadcast_param()
191 memset(bap_param->broadcast_code, 0, BT_ISO_BROADCAST_CODE_SIZE); in cap_initiator_broadcast_to_bap_broadcast_param()
/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()
134 (void)bin2hex(state->bad_code, BT_ISO_BROADCAST_CODE_SIZE, bad_code, sizeof(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()
520 static void test_bass_broadcast_code(const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in test_bass_broadcast_code() argument
Dbap_broadcast_sink_test.c64 static uint8_t recv_state_broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
426 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() argument
430 memcpy(recv_state_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb()
753 static void test_broadcast_sync(const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in test_broadcast_sync() argument
Dbap_scan_delegator_test.c51 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
303 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() argument
315 (void)memcpy(state->broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb()
Dcap_commander_test.c444 char bad_code[BT_ISO_BROADCAST_CODE_SIZE * 2 + 1]; in bap_broadcast_assistant_recv_state_cb()
458 (void)bin2hex(state->bad_code, BT_ISO_BROADCAST_CODE_SIZE, bad_code, sizeof(bad_code)); in bap_broadcast_assistant_recv_state_cb()
Dcap_acceptor_test.c399 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() argument
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_cap.h102 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
Dbtp_bap.h170 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.h39 uint8_t sink_broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
Dbtp_bap_broadcast.c966 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() argument
982 (void)memcpy(broadcaster->sink_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c57 uint8_t sink_broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
428 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() argument
435 BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_scan_delegator.c49 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
340 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() argument
345 shell_hexdump(ctx_shell, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb()
354 (void)memcpy(state->broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb()
Dbap_broadcast_assistant.c143 bin2hex(state->bad_code, BT_ISO_BROADCAST_CODE_SIZE, bad_code, sizeof(bad_code)); in bap_broadcast_assistant_recv_state_cb()
1044 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE] = {0}; in cmd_bap_broadcast_assistant_broadcast_code()
1063 if (!IN_RANGE(broadcast_code_len, 1, BT_ISO_BROADCAST_CODE_SIZE)) { in cmd_bap_broadcast_assistant_broadcast_code()
Dcap_commander.c808 if (strlen(argv[cap_argc]) > BT_ISO_BROADCAST_CODE_SIZE) { in cmd_cap_commander_distribute_broadcast_code()
810 BT_ISO_BROADCAST_CODE_SIZE); in cmd_cap_commander_distribute_broadcast_code()
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dbap_broadcast_assistant.c183 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in bt_bap_broadcast_assistant_set_broadcast_code() argument
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c151 static uint8_t sink_broadcast_code[BT_ISO_BROADCAST_CODE_SIZE];
978 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() argument
984 (void)memcpy(sink_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb()
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/
Dtest_bis.c271 uint8_t bcode[BT_ISO_BROADCAST_CODE_SIZE] = { 0 }; in create_ll_big()
830 uint8_t bcode[BT_ISO_BROADCAST_CODE_SIZE] = { 0 }; in test_iso_recv_main()
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/
Dmain.c30 BUILD_ASSERT(strlen(CONFIG_BROADCAST_CODE) <= BT_ISO_BROADCAST_CODE_SIZE, "Invalid broadcast code");

12