nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
bt_content_ctrl.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
12
13
#ifndef _BT_CONTENT_CTRL_H_
14
#define _BT_CONTENT_CTRL_H_
15
16
#include <zephyr/bluetooth/conn.h>
17
25
int
bt_content_ctrl_start
(
struct
bt_conn *conn);
26
34
int
bt_content_ctrl_stop
(
struct
bt_conn *conn);
35
43
int
bt_content_ctrl_conn_disconnected
(
struct
bt_conn *conn);
44
52
int
bt_content_ctrl_discover
(
struct
bt_conn *conn);
53
63
int
bt_content_ctrl_uuid_populate
(
struct
net_buf_simple *uuid_buf);
64
71
bool
bt_content_ctlr_media_state_playing
(
void
);
72
82
void
bt_content_ctrl_state_override
(
bool
playing);
83
89
int
bt_content_ctrl_init
(
void
);
90
94
95
#endif
/* _BT_CONTENT_CTRL_H_ */
bt_content_ctrl_conn_disconnected
int bt_content_ctrl_conn_disconnected(struct bt_conn *conn)
Handle disconnected connection for the content control services.
bt_content_ctrl_state_override
void bt_content_ctrl_state_override(bool playing)
Override the current state of the media player.
bt_content_ctrl_stop
int bt_content_ctrl_stop(struct bt_conn *conn)
Send the stop request for content transmission.
bt_content_ctrl_uuid_populate
int bt_content_ctrl_uuid_populate(struct net_buf_simple *uuid_buf)
Put the UUIDs from this module into the buffer.
bt_content_ctlr_media_state_playing
bool bt_content_ctlr_media_state_playing(void)
Check if the media player is playing.
bt_content_ctrl_discover
int bt_content_ctrl_discover(struct bt_conn *conn)
Discover the content control services for the given connection pointer.
bt_content_ctrl_init
int bt_content_ctrl_init(void)
Initialize the content control module.
bt_content_ctrl_start
int bt_content_ctrl_start(struct bt_conn *conn)
Send the start request for content transmission.
applications
nrf_audio
src
bluetooth
bt_content_control
bt_content_ctrl.h
Generated on
for nRF Connect SDK API by
1.17.0