Replace the existing Apache 2.0 boilerplate header with an SPDX tag throughout the zephyr code tree. This patch was generated via a script run over the master branch. Also updated doc/porting/application.rst that had a dependency on line numbers in a literal include. Manually updated subsys/logging/sys_log.c that had a malformed header in the original file. Also cleanup several cases that already had a SPDX tag and we either got a duplicate or missed updating. Jira: ZEP-1457 Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c Signed-off-by: David B. Kinder <david.b.kinder@intel.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
55 lines
1.2 KiB
C
55 lines
1.2 KiB
C
/** @file
|
|
* @brief Audio/Video Distribution Transport Protocol header.
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2015-2016 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef __BT_AVDTP_H
|
|
#define __BT_AVDTP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** @brief AVDTP SEID Information */
|
|
struct bt_avdtp_seid_info {
|
|
/** Stream End Point ID */
|
|
uint8_t id:6;
|
|
/** End Point usage status */
|
|
uint8_t inuse:1;
|
|
/** Reserved */
|
|
uint8_t rfa0:1;
|
|
/** Media-type of the End Point */
|
|
uint8_t media_type:4;
|
|
/** TSEP of the End Point */
|
|
uint8_t tsep:1;
|
|
/** Reserved */
|
|
uint8_t rfa1:3;
|
|
} __packed;
|
|
|
|
/** @brief AVDTP Local SEP*/
|
|
struct bt_avdtp_seid_lsep {
|
|
/** Stream End Point information */
|
|
struct bt_avdtp_seid_info sep;
|
|
/** Pointer to next local Stream End Point structure */
|
|
struct bt_avdtp_seid_lsep *next;
|
|
};
|
|
|
|
/** @brief AVDTP Stream */
|
|
struct bt_avdtp_stream {
|
|
struct bt_l2cap_br_chan chan; /* Transport Channel*/
|
|
struct bt_avdtp_seid_info lsep; /* Configured Local SEP */
|
|
struct bt_avdtp_seid_info rsep; /* Configured Remote SEP*/
|
|
uint8_t state; /* current state of the stream */
|
|
struct bt_avdtp_stream *next;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __BT_AVDTP_H */
|