Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
Assigned numbers to string API . More...
Functions | |
static char * | bt_audio_context_bit_to_str (enum bt_audio_context context) |
Returns a string representation of a specific bt_audio_context bit. | |
static char * | bt_audio_parental_rating_to_str (enum bt_audio_parental_rating parental_rating) |
Returns a string representation of a bt_audio_parental_rating value. | |
static char * | bt_audio_active_state_to_str (enum bt_audio_active_state state) |
Returns a string representation of a bt_audio_active_state value. | |
static char * | bt_audio_codec_cap_freq_bit_to_str (enum bt_audio_codec_cap_freq freq) |
Returns a string representation of a specific bt_audio_codec_cap_freq bit. | |
static char * | bt_audio_codec_cap_frame_dur_bit_to_str (enum bt_audio_codec_cap_frame_dur frame_dur) |
Returns a string representation of a specific bt_audio_codec_cap_frame_dur bit. | |
static char * | bt_audio_codec_cap_chan_count_bit_to_str (enum bt_audio_codec_cap_chan_count chan_count) |
Returns a string representation of a specific bt_audio_codec_cap_chan_count bit. | |
static char * | bt_audio_location_bit_to_str (enum bt_audio_location location) |
Returns a string representation of a specific bt_audio_location bit. | |
Assigned numbers to string API .
Functions to return string representation of Bluetooth Audio assigned number values.
|
inlinestatic |
#include <zephyr/bluetooth/audio/audio.h>
Returns a string representation of a bt_audio_active_state value.
state | The active state value |
|
inlinestatic |
#include <zephyr/bluetooth/audio/audio.h>
Returns a string representation of a specific bt_audio_codec_cap_chan_count bit.
If chan_count
contains multiple bits, it will return "Unknown channel count"
chan_count | A single frame channel count bit |
|
inlinestatic |
#include <zephyr/bluetooth/audio/audio.h>
Returns a string representation of a specific bt_audio_codec_cap_frame_dur bit.
If frame_dur
contains multiple bits, it will return "Unknown frame duration"
frame_dur | A single frame duration bit |
|
inlinestatic |
#include <zephyr/bluetooth/audio/audio.h>
Returns a string representation of a specific bt_audio_codec_cap_freq bit.
If freq
contains multiple bits, it will return "Unknown supported frequency"
freq | A single frequency bit |
|
inlinestatic |
#include <zephyr/bluetooth/audio/audio.h>
Returns a string representation of a specific bt_audio_context bit.
If context
contains multiple bits, it will return "Unknown context"
context | A single context bit |
|
inlinestatic |
#include <zephyr/bluetooth/audio/audio.h>
Returns a string representation of a specific bt_audio_location bit.
If location
contains multiple bits, it will return "Unknown location"
location | A single location bit |
|
inlinestatic |
#include <zephyr/bluetooth/audio/audio.h>
Returns a string representation of a bt_audio_parental_rating value.
parental_rating | The parental rating value |