xref: /btstack/src/le-audio/broadcast_audio_uri.h (revision 65dc48921a04a7ded3587f532b5904de428d2e21)
1*65dc4892SMatthias Ringwald /*
2*65dc4892SMatthias Ringwald  * Copyright (C) 2024 BlueKitchen GmbH
3*65dc4892SMatthias Ringwald  *
4*65dc4892SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5*65dc4892SMatthias Ringwald  * modification, are permitted provided that the following conditions
6*65dc4892SMatthias Ringwald  * are met:
7*65dc4892SMatthias Ringwald  *
8*65dc4892SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9*65dc4892SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10*65dc4892SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11*65dc4892SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12*65dc4892SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13*65dc4892SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14*65dc4892SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15*65dc4892SMatthias Ringwald  *    from this software without specific prior written permission.
16*65dc4892SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
17*65dc4892SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
18*65dc4892SMatthias Ringwald  *    monetary gain.
19*65dc4892SMatthias Ringwald  *
20*65dc4892SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
21*65dc4892SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*65dc4892SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23*65dc4892SMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN
24*65dc4892SMatthias Ringwald  * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25*65dc4892SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26*65dc4892SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27*65dc4892SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28*65dc4892SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29*65dc4892SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30*65dc4892SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31*65dc4892SMatthias Ringwald  * SUCH DAMAGE.
32*65dc4892SMatthias Ringwald  *
33*65dc4892SMatthias Ringwald  * Please inquire about commercial licensing options at
34*65dc4892SMatthias Ringwald  * [email protected]
35*65dc4892SMatthias Ringwald  *
36*65dc4892SMatthias Ringwald  */
37*65dc4892SMatthias Ringwald 
38*65dc4892SMatthias Ringwald /**
39*65dc4892SMatthias Ringwald  *  @brief TODO
40*65dc4892SMatthias Ringwald  */
41*65dc4892SMatthias Ringwald 
42*65dc4892SMatthias Ringwald #ifndef BROADCAST_AUDIO_URI_H
43*65dc4892SMatthias Ringwald #define BROADCAST_AUDIO_URI_H
44*65dc4892SMatthias Ringwald 
45*65dc4892SMatthias Ringwald #if defined __cplusplus
46*65dc4892SMatthias Ringwald extern "C" {
47*65dc4892SMatthias Ringwald #endif
48*65dc4892SMatthias Ringwald 
49*65dc4892SMatthias Ringwald typedef enum {
50*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_BROADCASTNAME,
51*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_ADVERTISER_ADDRESS_TYPE,
52*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_ADVERTISER_ADDRESS,
53*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_BROADCAST_ID,
54*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_BROADCAST_CODE,
55*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_STANDARD_QUALITY,
56*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_HIGH_QUALITY,
57*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_VENDOR_SPECIFIC,
58*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_ADVERTISING_SID,
59*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_PA_INTERVAL,
60*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_NUM_SUBGROUPS,
61*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_BIS_SYNC,
62*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_SG_NUMBER_OF_BISES,
63*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_SG_METADATA,
64*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_PUBLIC_BROADCAST,
65*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_ANNOUNCEMENT,
66*65dc4892SMatthias Ringwald     BROADCAST_AUDIO_URI_METADATA,
67*65dc4892SMatthias Ringwald } broadcast_audio_uri_id_t;
68*65dc4892SMatthias Ringwald 
69*65dc4892SMatthias Ringwald #if defined __cplusplus
70*65dc4892SMatthias Ringwald }
71*65dc4892SMatthias Ringwald #endif
72*65dc4892SMatthias Ringwald #endif // BROADCAST_AUDIO_URI_BUILDER_H
73