/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 936 const uint8_t *broadcast_code; in scan_delegator_broadcast_code() local 952 broadcast_code = net_buf_simple_pull_mem(buf, sizeof(internal_state->broadcast_code)); in scan_delegator_broadcast_code() 954 (void)memcpy(internal_state->broadcast_code, broadcast_code, in scan_delegator_broadcast_code() 955 sizeof(internal_state->broadcast_code)); in scan_delegator_broadcast_code() 958 bt_hex(internal_state->broadcast_code, sizeof(internal_state->broadcast_code))); in scan_delegator_broadcast_code() 961 scan_delegator_cbs->broadcast_code != NULL) { in scan_delegator_broadcast_code() 962 scan_delegator_cbs->broadcast_code(conn, &internal_state->state, in scan_delegator_broadcast_code() 963 broadcast_code); in scan_delegator_broadcast_code() 1022 (void)memset(internal_state->broadcast_code, 0, in scan_delegator_rem_src() [all …]
|
D | bap_broadcast_assistant.c | 273 uint8_t *broadcast_code; in parse_recv_state() local 283 broadcast_code = net_buf_simple_pull_mem(&buf, BT_ISO_BROADCAST_CODE_SIZE); in parse_recv_state() 284 (void)memcpy(recv_state->bad_code, broadcast_code, in parse_recv_state() 827 if (listener->broadcast_code != NULL) { in bap_broadcast_assistant_write_cp_cb() 828 listener->broadcast_code(conn, err); in bap_broadcast_assistant_write_cp_cb() 1604 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in bt_bap_broadcast_assistant_set_broadcast_code() 1637 (void)memcpy(cp->broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in bt_bap_broadcast_assistant_set_broadcast_code() 1639 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 | 126 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member
|
D | cap_internal.h | 124 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 | 714 proc_param->distribute_broadcast_code.broadcast_code); in cap_commander_broadcast_assistant_set_broadcast_code_cb() 802 broadcast_assistant_cb.broadcast_code = in bt_cap_commander_distribute_broadcast_code() 832 memcpy(stored_param->distribute_broadcast_code.broadcast_code, in bt_cap_commander_distribute_broadcast_code() 833 param->broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in bt_cap_commander_distribute_broadcast_code() 844 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() 1267 broadcast_code == NULL) { in bt_bap_broadcast_sink_sync() 1338 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 | 215 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in bt_bap_broadcast_assistant_set_broadcast_code() 224 err = strncmp((const char *)broadcast_code, BROADCAST_CODE, sizeof(BROADCAST_CODE)); in bt_bap_broadcast_assistant_set_broadcast_code() 228 if (listener->broadcast_code != NULL) { in bt_bap_broadcast_assistant_set_broadcast_code() 229 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 1042 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member
|
D | bap.h | 755 void (*broadcast_code)(struct bt_conn *conn, member 757 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]); 2214 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 2474 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]); 2776 void (*broadcast_code)(struct bt_conn *conn, int err); member 2976 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]);
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_scan_delegator.c | 50 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]; member 339 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 344 bt_shell_hexdump(broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 353 (void)memcpy(state->broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 373 .broadcast_code = broadcast_code_cb,
|
D | bap_broadcast_assistant.c | 298 .broadcast_code = bap_broadcast_assistant_broadcast_code_cb, 1035 uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE] = {0}; in cmd_bap_broadcast_assistant_broadcast_code() local 1060 memcpy(broadcast_code, argv[2], broadcast_code_len); in cmd_bap_broadcast_assistant_broadcast_code() 1063 shell_hexdump(sh, broadcast_code, sizeof(broadcast_code)); in cmd_bap_broadcast_assistant_broadcast_code() 1067 broadcast_code); in cmd_bap_broadcast_assistant_broadcast_code() 1172 SHELL_CMD_ARG(broadcast_code, NULL,
|
/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 | 436 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 440 memcpy(recv_state_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 454 .broadcast_code = broadcast_code_cb, 793 static void test_broadcast_sync(const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in test_broadcast_sync() 798 err = bt_bap_broadcast_sink_sync(g_sink, bis_index_bitfield, streams, broadcast_code); in test_broadcast_sync()
|
D | bap_broadcast_assistant_test.c | 277 .broadcast_code = bap_broadcast_assistant_broadcast_code_cb, 664 static void test_bass_broadcast_code(const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in test_bass_broadcast_code() 673 broadcast_code); in test_bass_broadcast_code()
|
D | cap_acceptor_test.c | 432 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 436 if (memcmp(broadcast_code, BROADCAST_CODE, sizeof(BROADCAST_CODE)) != 0) { in broadcast_code_cb() 448 .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 | 431 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 437 (void)memcpy(broadcast_sink.sink_broadcast_code, broadcast_code, in broadcast_code_cb() 719 .broadcast_code = broadcast_code_cb, in init_cap_acceptor_broadcast()
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/ |
D | test_distribute_broadcast_code.c | 59 memcpy(fixture->distribute_broadcast_code_param.broadcast_code, BROADCAST_CODE, in cap_commander_test_distribute_broadcast_code_fixture_init()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/ |
D | main.c | 547 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 553 (void)memcpy(sink_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 621 .broadcast_code = broadcast_code_cb,
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_cap.c | 707 memcpy(create_param.broadcast_code, cp->broadcast_code, sizeof(cp->broadcast_code)); in btp_cap_broadcast_source_setup()
|
D | btp_bap_broadcast.c | 1177 const uint8_t broadcast_code[BT_ISO_BROADCAST_CODE_SIZE]) in broadcast_code_cb() 1193 (void)memcpy(broadcaster->sink_broadcast_code, broadcast_code, BT_ISO_BROADCAST_CODE_SIZE); in broadcast_code_cb() 1269 .broadcast_code = broadcast_code_cb, 1560 .broadcast_code = bap_broadcast_assistant_broadcast_code_cb, 1755 err = bt_bap_broadcast_assistant_set_broadcast_code(conn, cp->src_id, cp->broadcast_code); in btp_bap_broadcast_assistant_set_broadcast_code()
|