Home
last modified time | relevance | path

Searched refs:mpl_cmd (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmedia_controller_test.c393 static void command_send_cb(struct media_player *plr, int err, const struct mpl_cmd *cmd) in command_send_cb()
603 static void test_send_cmd_wait_flags(struct mpl_cmd *cmd) in test_send_cmd_wait_flags()
622 struct mpl_cmd cmd; in test_cp_play()
641 struct mpl_cmd cmd; in test_cp_pause()
660 struct mpl_cmd cmd; in test_cp_fast_rewind()
679 struct mpl_cmd cmd; in test_cp_fast_forward()
698 struct mpl_cmd cmd; in test_cp_stop()
719 struct mpl_cmd cmd; in test_cp_move_relative()
766 struct mpl_cmd cmd; in test_cp_prev_segment()
796 struct mpl_cmd cmd; in test_cp_next_segment()
[all …]
Dmcc_test.c351 static void mcc_send_command_cb(struct bt_conn *conn, int err, const struct mpl_cmd *cmd) in mcc_send_command_cb()
701 struct mpl_cmd cmd = { 0 }; in test_invalid_send_cmd()
738 static void test_send_cmd_wait_flags(struct mpl_cmd *cmd) in test_send_cmd_wait_flags()
762 struct mpl_cmd cmd; in test_cp_play()
781 struct mpl_cmd cmd; in test_cp_pause()
801 struct mpl_cmd cmd; in test_cp_fast_rewind()
830 struct mpl_cmd cmd; in test_cp_fast_forward()
858 struct mpl_cmd cmd; in test_cp_stop()
879 struct mpl_cmd cmd; in test_cp_move_relative()
926 struct mpl_cmd cmd; in test_cp_prev_segment()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmedia_controller.c305 static void command_send_cb(struct media_player *plr, int err, const struct mpl_cmd *cmd) in command_send_cb()
767 const struct mpl_cmd cmd = { in cmd_media_play()
784 const struct mpl_cmd cmd = { in cmd_media_pause()
802 const struct mpl_cmd cmd = { in cmd_media_fast_rewind()
820 const struct mpl_cmd cmd = { in cmd_media_fast_forward()
838 const struct mpl_cmd cmd = { in cmd_media_stop()
856 struct mpl_cmd cmd = { in cmd_media_move_relative()
891 const struct mpl_cmd cmd = { in cmd_media_prev_segment()
910 const struct mpl_cmd cmd = { in cmd_media_next_segment()
929 const struct mpl_cmd cmd = { in cmd_media_first_segment()
[all …]
Dmcc.c385 static void mcc_send_cmd_cb(struct bt_conn *conn, int err, const struct mpl_cmd *cmd) in mcc_send_cmd_cb()
1075 const struct mpl_cmd cmd = { in cmd_mcc_play()
1092 const struct mpl_cmd cmd = { in cmd_mcc_pause()
1110 const struct mpl_cmd cmd = { in cmd_mcc_fast_rewind()
1128 const struct mpl_cmd cmd = { in cmd_mcc_fast_forward()
1145 const struct mpl_cmd cmd = { in cmd_mcc_stop()
1163 struct mpl_cmd cmd = { in cmd_mcc_move_relative()
1197 const struct mpl_cmd cmd = { in cmd_mcc_prev_segment()
1215 const struct mpl_cmd cmd = { in cmd_mcc_next_segment()
1233 const struct mpl_cmd cmd = { in cmd_mcc_first_segment()
[all …]
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dmcp_ctlr.c34 static void mcc_send_command_cb(struct bt_conn *conn, int err, const struct mpl_cmd *cmd) in mcc_send_command_cb()
71 struct mpl_cmd cmd; in mcp_send_cmd()
/Zephyr-latest/subsys/bluetooth/audio/
Dmcc_internal.h110 char write_buf[sizeof(((struct mpl_cmd *)0)->opcode) +
111 sizeof(((struct mpl_cmd *)0)->param)];
Dmedia_proxy_internal.h124 void media_proxy_sctrl_send_command(const struct mpl_cmd *command);
Dmpl.c1350 static uint8_t inactive_state_command_handler(const struct mpl_cmd *command) in inactive_state_command_handler()
1439 static uint8_t playing_state_command_handler(const struct mpl_cmd *command) in playing_state_command_handler()
1563 static uint8_t paused_state_command_handler(const struct mpl_cmd *command) in paused_state_command_handler()
1711 static uint8_t seeking_state_command_handler(const struct mpl_cmd *command) in seeking_state_command_handler()
1866 static uint8_t (*command_handlers[MEDIA_PROXY_STATE_LAST])(const struct mpl_cmd *command) = {
2191 static void send_command(const struct mpl_cmd *command) in send_command()
Dmedia_proxy.c205 void media_proxy_sctrl_send_command(const struct mpl_cmd *cmd) in media_proxy_sctrl_send_command()
555 static void mcc_send_cmd_cb(struct bt_conn *conn, int err, const struct mpl_cmd *cmd) in mcc_send_cmd_cb()
1594 int media_proxy_ctrl_send_command(struct media_player *player, const struct mpl_cmd *cmd) in media_proxy_ctrl_send_command()
Dmcs.c638 struct mpl_cmd command; in write_control_point()
Dmcc.c840 struct mpl_cmd cmd = {0}; in mcs_write_cp_cb()
3055 int bt_mcc_send_cmd(struct bt_conn *conn, const struct mpl_cmd *cmd) in bt_mcc_send_cmd()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmedia_proxy.h61 struct mpl_cmd { struct
758 void (*command_send)(struct media_player *player, int err, const struct mpl_cmd *cmd);
1201 int media_proxy_ctrl_send_command(struct media_player *player, const struct mpl_cmd *command);
1535 void (*send_command)(const struct mpl_cmd *command);
Dmcc.h318 typedef void (*bt_mcc_send_cmd_cb)(struct bt_conn *conn, int err, const struct mpl_cmd *cmd);
880 int bt_mcc_send_cmd(struct bt_conn *conn, const struct mpl_cmd *cmd);
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_mcp.c334 const struct mpl_cmd *cmd) in btp_send_media_cp_ev()
600 static void mcc_send_cmd_cb(struct bt_conn *conn, int err, const struct mpl_cmd *cmd) in mcc_send_cmd_cb()
1214 struct mpl_cmd mcp_cmd; in mcp_cmd_send()
1481 struct mpl_cmd mcp_cmd; in mcs_cmd_send()
1588 static void mcs_command_send_cb(struct media_player *player, int err, const struct mpl_cmd *cmd) in mcs_command_send_cb()