nRF Connect SDK API 0.1.0
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
7#ifndef _BT_CONTENT_CTRL_H_
8#define _BT_CONTENT_CTRL_H_
9
10#include <zephyr/bluetooth/conn.h>
11
19int bt_content_ctrl_start(struct bt_conn *conn);
20
28int bt_content_ctrl_stop(struct bt_conn *conn);
29
37int bt_content_ctrl_conn_disconnected(struct bt_conn *conn);
38
46int bt_content_ctrl_discover(struct bt_conn *conn);
47
57int bt_content_ctrl_uuid_populate(struct net_buf_simple *uuid_buf);
58
66
73
74#endif /* _BT_CONTENT_CTRL_H_ */
int bt_content_ctrl_conn_disconnected(struct bt_conn *conn)
Handle disconnected connection for the content control services.
int bt_content_ctrl_stop(struct bt_conn *conn)
Send the stop request for content transmission.
int bt_content_ctrl_uuid_populate(struct net_buf_simple *uuid_buf)
Put the UUIDs from this module into the buffer.
bool bt_content_ctlr_media_state_playing(void)
Check if the media player is playing.
int bt_content_ctrl_discover(struct bt_conn *conn)
Discover the content control services for the given connection pointer.
int bt_content_ctrl_init(void)
Initialize the content control module.
int bt_content_ctrl_start(struct bt_conn *conn)
Send the start request for content transmission.