/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_internal.h | 81 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 95 struct bt_bap_bass_cp_broadcase_code broadcast_code; member
|
D | bap_scan_delegator.c | 71 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 883 const uint8_t *broadcast_code; in scan_delegator_broadcast_code() local 899 broadcast_code = net_buf_simple_pull_mem(buf, sizeof(internal_state->broadcast_code)); in scan_delegator_broadcast_code() 901 (void)memcpy(internal_state->broadcast_code, broadcast_code, in scan_delegator_broadcast_code() 902 sizeof(internal_state->broadcast_code)); in scan_delegator_broadcast_code() 905 bt_hex(internal_state->broadcast_code, sizeof(internal_state->broadcast_code))); in scan_delegator_broadcast_code() 908 scan_delegator_cbs->broadcast_code != NULL) { in scan_delegator_broadcast_code() 909 scan_delegator_cbs->broadcast_code(conn, &internal_state->state, in scan_delegator_broadcast_code() 910 broadcast_code); in scan_delegator_broadcast_code() 968 (void)memset(internal_state->broadcast_code, 0, in scan_delegator_rem_src() [all …]
|
D | bap_broadcast_assistant.c | 256 uint8_t *broadcast_code; in parse_recv_state() local 266 broadcast_code = net_buf_simple_pull_mem(&buf, BT_ISO_BROADCAST_CODE_SIZE); in parse_recv_state() 267 (void)memcpy(recv_state->bad_code, broadcast_code, in parse_recv_state() 811 if (listener->broadcast_code != NULL) { in bap_broadcast_assistant_write_cp_cb() 812 listener->broadcast_code(conn, err); in bap_broadcast_assistant_write_cp_cb() 1589 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in bt_bap_broadcast_assistant_set_broadcast_code() 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()
|
D | bap_endpoint.h | 125 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member
|
D | cap_internal.h | 123 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member
|
D | bap_broadcast_source.c | 812 (void)memcpy(source->broadcast_code, param->broadcast_code, in bt_bap_broadcast_source_create() 813 sizeof(source->broadcast_code)); in bt_bap_broadcast_source_create() 1078 (void)memcpy(param.bcode, source->broadcast_code, sizeof(param.bcode)); in bt_bap_broadcast_source_start()
|
D | cap_commander.c | 713 proc_param->distribute_broadcast_code.broadcast_code); in cap_commander_broadcast_assistant_set_broadcast_code_cb() 801 broadcast_assistant_cb.broadcast_code = in bt_cap_commander_distribute_broadcast_code() 831 memcpy(stored_param->distribute_broadcast_code.broadcast_code, in bt_cap_commander_distribute_broadcast_code() 832 param->broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in bt_cap_commander_distribute_broadcast_code() 843 proc_param->distribute_broadcast_code.broadcast_code); in bt_cap_commander_distribute_broadcast_code()
|
D | bap_broadcast_sink.c | 1225 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in bt_bap_broadcast_sink_sync() 1265 broadcast_code == NULL) { in bt_bap_broadcast_sink_sync() 1334 memcpy(param.bcode, broadcast_code, sizeof(param.bcode)); in bt_bap_broadcast_sink_sync()
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/ |
D | bap_broadcast_assistant.c | 183 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in bt_bap_broadcast_assistant_set_broadcast_code() 192 err = strncmp((const char *)broadcast_code, BROADCAST_CODE, sizeof(BROADCAST_CODE)); in bt_bap_broadcast_assistant_set_broadcast_code() 196 if (listener->broadcast_code != NULL) { in bt_bap_broadcast_assistant_set_broadcast_code() 197 listener->broadcast_code(conn, 0); in bt_bap_broadcast_assistant_set_broadcast_code()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | cap.h | 501 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 665 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 1040 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member
|
D | bap.h | 659 void (*broadcast_code)(struct bt_conn *conn, member 661 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]); 2114 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 2372 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]); 2674 void (*broadcast_code)(struct bt_conn *conn, int err); member 2872 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]);
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 307 .broadcast_code = bap_broadcast_assistant_broadcast_code_cb, 1044 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE] = {0}; in cmd_bap_broadcast_assistant_broadcast_code() local 1069 memcpy(broadcast_code, argv[2], broadcast_code_len); in cmd_bap_broadcast_assistant_broadcast_code() 1072 shell_hexdump(sh, broadcast_code, sizeof(broadcast_code)); in cmd_bap_broadcast_assistant_broadcast_code() 1076 broadcast_code); in cmd_bap_broadcast_assistant_broadcast_code() 1181 SHELL_CMD_ARG(broadcast_code, NULL,
|
D | bap_scan_delegator.c | 49 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 340 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 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() 374 .broadcast_code = broadcast_code_cb,
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_scan_delegator_test.c | 51 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 303 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 315 (void)memcpy(state->broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 358 .broadcast_code = broadcast_code_cb,
|
D | bap_broadcast_sink_test.c | 426 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 430 memcpy(recv_state_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 444 .broadcast_code = broadcast_code_cb, 753 static void test_broadcast_sync(const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in test_broadcast_sync() 758 err = bt_bap_broadcast_sink_sync(g_sink, bis_index_bitfield, streams, broadcast_code); in test_broadcast_sync()
|
D | bap_broadcast_assistant_test.c | 281 .broadcast_code = bap_broadcast_assistant_broadcast_code_cb, 520 static void test_bass_broadcast_code(const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in test_bass_broadcast_code() 526 err = bt_bap_broadcast_assistant_set_broadcast_code(default_conn, g_src_id, broadcast_code); in test_bass_broadcast_code()
|
D | cap_acceptor_test.c | 399 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 403 if (memcmp(broadcast_code, BROADCAST_CODE, sizeof(BROADCAST_CODE)) != 0) { in broadcast_code_cb() 415 .broadcast_code = broadcast_code_cb,
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_cap.h | 102 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member
|
D | btp_bap.h | 170 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | bap_broadcast_assistant.rst | 45 broadcast_code : Send a string-based broadcast code of up to 16 bytes 125 uart:~$ bap_broadcast_assistant broadcast_code 0 secretCode
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_broadcast.c | 428 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 434 (void)memcpy(broadcast_sink.sink_broadcast_code, broadcast_code, in broadcast_code_cb() 716 .broadcast_code = broadcast_code_cb, in init_cap_acceptor_broadcast()
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/ |
D | test_distribute_broadcast_code.c | 52 memcpy(fixture->distribute_broadcast_code_param.broadcast_code, BROADCAST_CODE, in cap_commander_test_distribute_broadcast_code_fixture_init()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.c | 966 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 982 (void)memcpy(broadcaster->sink_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 1058 .broadcast_code = broadcast_code_cb, 1349 .broadcast_code = bap_broadcast_assistant_broadcast_code_cb, 1544 err = bt_bap_broadcast_assistant_set_broadcast_code(conn, cp->src_id, cp->broadcast_code); in btp_bap_broadcast_assistant_set_broadcast_code()
|
D | btp_cap.c | 667 memcpy(create_param.broadcast_code, cp->broadcast_code, sizeof(cp->broadcast_code)); in btp_cap_broadcast_source_setup()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/ |
D | main.c | 978 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 984 (void)memcpy(sink_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 1052 .broadcast_code = broadcast_code_cb,
|