Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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 <stdint.h>
14
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
23 /* TODO */
24};
25
37 BT_A2DP_VENDOR = 0xff
38};
39
46};
47
58};
59
68};
69
75 BT_A2DP_SINK = 1
76};
77
79struct bt_a2dp;
80
92struct bt_a2dp *bt_a2dp_connect(struct bt_conn *conn);
93
107 uint8_t media_type, uint8_t role);
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif /* ZEPHYR_INCLUDE_BLUETOOTH_A2DP_H_ */
MEDIA_TYPE
Stream End Point Media Type.
Definition: a2dp.h:61
@ BT_A2DP_MULTIMEDIA
Multimedia Media Type.
Definition: a2dp.h:67
@ BT_A2DP_AUDIO
Audio Media Type.
Definition: a2dp.h:63
@ BT_A2DP_VIDEO
Video Media Type.
Definition: a2dp.h:65
ROLE_TYPE
Stream End Point Role.
Definition: a2dp.h:71
@ BT_A2DP_SOURCE
Source Role.
Definition: a2dp.h:73
@ BT_A2DP_SINK
Sink Role.
Definition: a2dp.h:75
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:27
@ BT_A2DP_MPEG1
Codec MPEG-1.
Definition: a2dp.h:31
@ BT_A2DP_ATRAC
Codec ATRAC.
Definition: a2dp.h:35
@ BT_A2DP_SBC
Codec SBC.
Definition: a2dp.h:29
@ BT_A2DP_VENDOR
Codec Non-A2DP.
Definition: a2dp.h:37
@ BT_A2DP_MPEG2
Codec MPEG-2.
Definition: a2dp.h:33
Audio/Video Distribution Transport Protocol header.
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
Stream End Point.
Definition: a2dp.h:49
struct bt_a2dp_preset * caps
Capabilities.
Definition: a2dp.h:57
struct bt_avdtp_seid_lsep info
Stream End Point Information.
Definition: a2dp.h:53
uint8_t codec_id
Code ID.
Definition: a2dp.h:51
struct bt_a2dp_preset * preset
Pointer to preset codec chosen.
Definition: a2dp.h:55
Preset for the endpoint.
Definition: a2dp.h:41
uint8_t len
Length of preset.
Definition: a2dp.h:43
uint8_t preset[0]
Preset.
Definition: a2dp.h:45
Stream Structure.
Definition: a2dp.h:22
AVDTP Local SEP.
Definition: avdtp.h:36