Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
Generic Audio Assigned Numbers. More...
Macros | |
#define | BT_AUDIO_CODEC_CAP_CHAN_COUNT_MIN 1 |
Minimum supported channel counts. | |
#define | BT_AUDIO_CODEC_CAP_CHAN_COUNT_MAX 8 |
Maximum supported channel counts. | |
#define | BT_AUDIO_BROADCAST_NAME_LEN_MIN 4 |
The minimum size of a Broadcast Name as defined by Bluetooth Assigned Numbers. | |
#define | BT_AUDIO_BROADCAST_NAME_LEN_MAX 128 |
The maximum size of a Broadcast Name as defined by Bluetooth Assigned Numbers. | |
#define | BT_AUDIO_CONTEXT_TYPE_ANY |
Any known context. | |
#define | BT_AUDIO_LOCATION_ANY |
Any known location. |
Generic Audio Assigned Numbers.
#define BT_AUDIO_BROADCAST_NAME_LEN_MAX 128 |
#include <zephyr/bluetooth/assigned_numbers.h>
The maximum size of a Broadcast Name as defined by Bluetooth Assigned Numbers.
#define BT_AUDIO_BROADCAST_NAME_LEN_MIN 4 |
#include <zephyr/bluetooth/assigned_numbers.h>
The minimum size of a Broadcast Name as defined by Bluetooth Assigned Numbers.
#define BT_AUDIO_CODEC_CAP_CHAN_COUNT_MAX 8 |
#include <zephyr/bluetooth/assigned_numbers.h>
Maximum supported channel counts.
#define BT_AUDIO_CODEC_CAP_CHAN_COUNT_MIN 1 |
#include <zephyr/bluetooth/assigned_numbers.h>
Minimum supported channel counts.
#define BT_AUDIO_CONTEXT_TYPE_ANY |
#include <zephyr/bluetooth/assigned_numbers.h>
Any known context.
#define BT_AUDIO_LOCATION_ANY |
#include <zephyr/bluetooth/assigned_numbers.h>
Any known location.
#include <zephyr/bluetooth/assigned_numbers.h>
Audio Active State defined by the Generic Audio assigned numbers (bluetooth.com).
Enumerator | |
---|---|
BT_AUDIO_ACTIVE_STATE_DISABLED | No audio data is being transmitted. |
BT_AUDIO_ACTIVE_STATE_ENABLED | Audio data is being transmitted. |
#include <zephyr/bluetooth/assigned_numbers.h>
Assisted Listening Stream defined by the Generic Audio assigned numbers (bluetooth.com).
Enumerator | |
---|---|
BT_AUDIO_ASSISTED_LISTENING_STREAM_UNSPECIFIED | Unspecified audio enhancement. |
#include <zephyr/bluetooth/assigned_numbers.h>
Supported audio capabilities channel count bitfield.
#include <zephyr/bluetooth/assigned_numbers.h>
Supported frame durations bitfield.
Enumerator | |
---|---|
BT_AUDIO_CODEC_CAP_DURATION_7_5 | 7.5 msec frame duration capability |
BT_AUDIO_CODEC_CAP_DURATION_10 | 10 msec frame duration capability |
BT_AUDIO_CODEC_CAP_DURATION_ANY | Any frame duration capability. |
BT_AUDIO_CODEC_CAP_DURATION_PREFER_7_5 | 7.5 msec preferred frame duration capability. This shall only be set if BT_AUDIO_CODEC_CAP_DURATION_7_5 is also set, and if BT_AUDIO_CODEC_CAP_DURATION_PREFER_10 is not set. |
BT_AUDIO_CODEC_CAP_DURATION_PREFER_10 | 10 msec preferred frame duration capability This shall only be set if BT_AUDIO_CODEC_CAP_DURATION_10 is also set, and if BT_AUDIO_CODEC_CAP_DURATION_PREFER_7_5 is not set. |
#include <zephyr/bluetooth/assigned_numbers.h>
Supported frequencies bitfield.
#include <zephyr/bluetooth/assigned_numbers.h>
Codec capability types.
Used to build and parse codec capabilities as specified in the PAC specification. Source is assigned numbers for Generic Audio, bluetooth.com.
#include <zephyr/bluetooth/assigned_numbers.h>
Codec configuration frame duration.
Enumerator | |
---|---|
BT_AUDIO_CODEC_CFG_DURATION_7_5 | 7.5 msec Frame Duration configuration |
BT_AUDIO_CODEC_CFG_DURATION_10 | 10 msec Frame Duration configuration |
#include <zephyr/bluetooth/assigned_numbers.h>
Codec configuration sampling freqency.
#include <zephyr/bluetooth/assigned_numbers.h>
Codec configuration types.
Used to build and parse codec configurations as specified in the ASCS and BAP specifications. Source is assigned numbers for Generic Audio, bluetooth.com.
enum bt_audio_context |
#include <zephyr/bluetooth/assigned_numbers.h>
Audio Context Type for Generic Audio.
These values are defined by the Generic Audio Assigned Numbers, bluetooth.com
enum bt_audio_location |
#include <zephyr/bluetooth/assigned_numbers.h>
Location values for BT Audio.
These values are defined by the Generic Audio Assigned Numbers, bluetooth.com
#include <zephyr/bluetooth/assigned_numbers.h>
Codec metadata type IDs.
Metadata types defined by the Generic Audio assigned numbers (bluetooth.com).
Enumerator | |
---|---|
BT_AUDIO_METADATA_TYPE_PREF_CONTEXT | Preferred audio context. Bitfield of preferred audio contexts. If 0, the context type is not a preferred use case for this codec configuration. See the BT_AUDIO_CONTEXT_* for valid values. |
BT_AUDIO_METADATA_TYPE_STREAM_CONTEXT | Streaming audio context. Bitfield of streaming audio contexts. If 0, the context type is not a preferred use case for this codec configuration. See the BT_AUDIO_CONTEXT_* for valid values. |
BT_AUDIO_METADATA_TYPE_PROGRAM_INFO | UTF-8 encoded title or summary of stream content. |
BT_AUDIO_METADATA_TYPE_LANG | Language. 3 octet lower case language code defined by ISO 639-3 Possible values can be found at https://iso639-3.sil.org/code_tables/639/data |
BT_AUDIO_METADATA_TYPE_CCID_LIST | Array of 8-bit CCID values. |
BT_AUDIO_METADATA_TYPE_PARENTAL_RATING | Parental rating. See bt_audio_parental_rating for valid values. |
BT_AUDIO_METADATA_TYPE_PROGRAM_INFO_URI | UTF-8 encoded URI for additional Program information. |
BT_AUDIO_METADATA_TYPE_AUDIO_STATE | Audio active state. See bt_audio_active_state for valid values. |
BT_AUDIO_METADATA_TYPE_BROADCAST_IMMEDIATE | Broadcast Audio Immediate Rendering flag. |
BT_AUDIO_METADATA_TYPE_ASSISTED_LISTENING_STREAM | Assisted listening stream. See bt_audio_assisted_listening_stream for valid values. |
BT_AUDIO_METADATA_TYPE_BROADCAST_NAME | UTF-8 encoded Broadcast name. |
BT_AUDIO_METADATA_TYPE_EXTENDED | Extended metadata. |
BT_AUDIO_METADATA_TYPE_VENDOR | Vendor specific metadata. |
#include <zephyr/bluetooth/assigned_numbers.h>
Parental rating defined by the Generic Audio assigned numbers (bluetooth.com).
The numbering scheme is aligned with Annex F of EN 300 707 v1.2.1 which defined parental rating for viewing.