a2dp_sink.h (5d2ab2545f20b147efa9b60a228772af930a21c6) | a2dp_sink.h (d3f12e45554c72052e9608afce24dc5314ceb0fb) |
---|---|
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 --- 102 unchanged lines hidden (view full) --- 111 * @param packet 112 * @param size 113 */ 114void a2dp_sink_register_media_handler(void (*callback)(uint8_t local_seid, uint8_t *packet, uint16_t size)); 115 116/** 117 * @brief Establish stream. 118 * @param remote | 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 --- 102 unchanged lines hidden (view full) --- 111 * @param packet 112 * @param size 113 */ 114void a2dp_sink_register_media_handler(void (*callback)(uint8_t local_seid, uint8_t *packet, uint16_t size)); 115 116/** 117 * @brief Establish stream. 118 * @param remote |
119 * @param local_seid ID of a local stream endpoint. 120 * @param out_a2dp_cid Assigned A2DP channel identifier used for furhter A2DP commands. | 119 * @param out_a2dp_cid Assigned A2DP channel identifier used for furhter A2DP commands. |
121 */ | 120 */ |
122uint8_t a2dp_sink_establish_stream(bd_addr_t remote, uint8_t local_seid, uint16_t * out_a2dp_cid); | 121uint8_t a2dp_sink_establish_stream(bd_addr_t remote, uint16_t * out_a2dp_cid); |
123 124#ifdef ENABLE_AVDTP_ACCEPTOR_EXPLICIT_START_STREAM_CONFIRMATION 125/** 126 * @brief Accept starting the stream on A2DP_SUBEVENT_START_STREAM_REQUESTED event. 127 * @param a2dp_cid A2DP channel identifier. 128 * @param local_seid ID of a local stream endpoint. 129 */ 130uint8_t a2dp_sink_start_stream_accept(uint16_t a2dp_cid, uint8_t local_seid); --- 88 unchanged lines hidden --- | 122 123#ifdef ENABLE_AVDTP_ACCEPTOR_EXPLICIT_START_STREAM_CONFIRMATION 124/** 125 * @brief Accept starting the stream on A2DP_SUBEVENT_START_STREAM_REQUESTED event. 126 * @param a2dp_cid A2DP channel identifier. 127 * @param local_seid ID of a local stream endpoint. 128 */ 129uint8_t a2dp_sink_start_stream_accept(uint16_t a2dp_cid, uint8_t local_seid); --- 88 unchanged lines hidden --- |