Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
a2dp.h
Go to the documentation of this file.
1
5/*
6 * Copyright (c) 2015-2016 Intel Corporation
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_A2DP_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_A2DP_H_
12
13#include <bluetooth/avdtp.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
21 /* TODO */
22};
23
35 BT_A2DP_VENDOR = 0xff
36};
37
44};
45
56};
57
66};
67
73 BT_A2DP_SINK = 1
74};
75
77struct bt_a2dp;
78
90struct bt_a2dp *bt_a2dp_connect(struct bt_conn *conn);
91
105 uint8_t media_type, uint8_t role);
106
107#ifdef __cplusplus
108}
109#endif
110
111#endif /* ZEPHYR_INCLUDE_BLUETOOTH_A2DP_H_ */
MEDIA_TYPE
Stream End Point Media Type.
Definition: a2dp.h:59
@ BT_A2DP_MULTIMEDIA
Definition: a2dp.h:65
@ BT_A2DP_AUDIO
Definition: a2dp.h:61
@ BT_A2DP_VIDEO
Definition: a2dp.h:63
ROLE_TYPE
Stream End Point Role.
Definition: a2dp.h:69
@ BT_A2DP_SOURCE
Definition: a2dp.h:71
@ BT_A2DP_SINK
Definition: a2dp.h:73
struct bt_a2dp * bt_a2dp_connect(struct bt_conn *conn)
A2DP Connect.
int bt_a2dp_register_endpoint(struct bt_a2dp_endpoint *endpoint, uint8_t media_type, uint8_t role)
Endpoint Registration.
bt_a2dp_codec_id
Codec ID.
Definition: a2dp.h:25
@ BT_A2DP_MPEG1
Definition: a2dp.h:29
@ BT_A2DP_ATRAC
Definition: a2dp.h:33
@ BT_A2DP_SBC
Definition: a2dp.h:27
@ BT_A2DP_VENDOR
Definition: a2dp.h:35
@ BT_A2DP_MPEG2
Definition: a2dp.h:31
Audio/Video Distribution Transport Protocol header.
__UINT8_TYPE__ uint8_t
Definition: stdint.h:58
Stream End Point.
Definition: a2dp.h:47
struct bt_a2dp_preset * caps
Definition: a2dp.h:55
struct bt_avdtp_seid_lsep info
Definition: a2dp.h:51
uint8_t codec_id
Definition: a2dp.h:49
struct bt_a2dp_preset * preset
Definition: a2dp.h:53
Preset for the endpoint.
Definition: a2dp.h:39
uint8_t len
Definition: a2dp.h:41
uint8_t preset[0]
Definition: a2dp.h:43
Stream Structure.
Definition: a2dp.h:20
AVDTP Local SEP.
Definition: avdtp.h:36