avdtp_sink.h (fe5a6c4e963207a75641439241c8337880fdfb14) avdtp_sink.h (6a737fb6dffb35739dfc90427773a58b014bc75d)
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 163 unchanged lines hidden (view full) ---

172/**
173 * @brief Report delay
174 * @param local_seid
175 * @param delay_100us
176 */
177uint8_t avdtp_sink_delay_report(uint16_t avdtp_cid, uint8_t local_seid, uint16_t delay_100us);
178
179/**
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 163 unchanged lines hidden (view full) ---

172/**
173 * @brief Report delay
174 * @param local_seid
175 * @param delay_100us
176 */
177uint8_t avdtp_sink_delay_report(uint16_t avdtp_cid, uint8_t local_seid, uint16_t delay_100us);
178
179/**
180 * @brief Register media configuration validator. Can reject insuitable configuration or report stream endpoint as currently busy
181 * @note validator has to return AVDTP error codes like: AVDTP_ERROR_CODE_SEP_IN_USE or AVDTP_ERROR_CODE_UNSUPPORTED_CONFIGURATION
182 * the callback receives the media configuration in the same format as the existing AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION
183 * and similar
184 * @param callback
185 */
186void avdtp_sink_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t * stream_endpoint, const uint8_t * event, uint16_t size));
187
188/**
180 * @brief De-Init AVDTP Sink.
181 */
182void avdtp_sink_deinit(void);
183
184// AVDTP_SI_DELAYREPORT
185
186/* API_END */
187
188
189#if defined __cplusplus
190}
191#endif
192
193#endif // AVDTP_SINK_H
189 * @brief De-Init AVDTP Sink.
190 */
191void avdtp_sink_deinit(void);
192
193// AVDTP_SI_DELAYREPORT
194
195/* API_END */
196
197
198#if defined __cplusplus
199}
200#endif
201
202#endif // AVDTP_SINK_H