zephyr/subsys/bluetooth/audio
Emil Gydesen 8703381764 Bluetooth: Host: Add conversion macros from ms to various units
Add conversion macros from milliseconds to various units.
The purpose of these macros is to make it more clear/easier
for users to set and read values using milliseconds rather
than the various BT units which may be in 0.625, 1.25 or 10ms
units.

This is especially useful when comparing related values using
different units, such as advertising interval (0.625ms units)
and periodic advertising interval units (1.25ms units).

Users will have to be aware that these macros can provide slightly
different values than what is provided, if the provided values
do not match the units.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-11-16 14:06:03 -05:00
..
shell Bluetooth: Host: Add conversion macros from ms to various units 2024-11-16 14:06:03 -05:00
CMakeLists.txt Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
Kconfig Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
Kconfig.aics Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.ascs Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
Kconfig.bap Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.cap Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.csip
Kconfig.gmap
Kconfig.has Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.mcs Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.mctl
Kconfig.micp Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.mpl Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
Kconfig.pacs
Kconfig.pbp
Kconfig.tbs Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.tmap
Kconfig.vcp Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.vocs
aics.c
aics_client.c Bluetooth: AICS: Fix race condition in AICS free inst get 2024-09-20 11:07:57 +02:00
aics_internal.h
ascs.c Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
ascs_internal.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
audio.c Bluetooth: Audio: Add bt_audio_data_get_val 2024-10-25 14:01:42 +02:00
audio_internal.h
bap_base.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_broadcast_assistant.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_broadcast_sink.c Bluetooth: Host: Add conversion macros from ms to various units 2024-11-16 14:06:03 -05:00
bap_broadcast_source.c Bluetooth: audio: Add possibility to use static broadcast id 2024-10-25 14:07:25 +02:00
bap_endpoint.h Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_internal.h Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_iso.c
bap_iso.h
bap_scan_delegator.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_stream.c Bluetooth: BAP: Fix bad check in bt_audio_valid_qos_pref 2024-10-08 16:58:09 +02:00
bap_stream.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_client.c Bluetooth: BAP: Disallow bt_bap_stream_stop when CIS is not connected 2024-10-23 16:53:44 +02:00
bap_unicast_client_internal.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_server.c Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_server.h
cap_acceptor.c
cap_commander.c Bluetooth: Audio: CAP implement broadcast reception stop 2024-10-02 09:59:23 +02:00
cap_common.c Bluetooth: Audio: CAP implement broadcast reception stop 2024-10-02 09:59:23 +02:00
cap_initiator.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
cap_internal.h Bluetooth: CAP: Add support for handling ASE errors 2024-10-23 16:53:44 +02:00
cap_stream.c Bluetooth: CAP: Add support for handling ASE errors 2024-10-23 16:53:44 +02:00
ccid.c Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
codec.c Bluetooth: Audio: Add bt_audio_data_get_val 2024-10-25 14:01:42 +02:00
csip_crypto.c
csip_crypto.h
csip_internal.h
csip_set_coordinator.c Bluetooth: CSIP: Fix off-by-one in in lock restore 2024-11-08 09:24:43 -06:00
csip_set_member.c
gmap_client.c Bluetooth: GMAP: Replace busy bool with atomic 2024-09-11 14:00:09 -04:00
gmap_server.c Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
has.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
has_client.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
has_internal.h
mcc.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
mcc_internal.h Bluetooth: MCC: Replace busy bool with atomic 2024-09-11 14:00:16 -04:00
mcs.c
mcs_internal.h
media_proxy.c
media_proxy_internal.h
micp_internal.h Bluetooth: MICP: Replace busy bool with atomic 2024-09-12 14:48:40 +02:00
micp_mic_ctlr.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
micp_mic_dev.c
mpl.c Bluetooth: CCID: Improved CCID allocation 2024-10-15 04:10:28 -04:00
mpl_internal.h
pacs.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
pacs_internal.h
pbp.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tbs.c Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
tbs_client.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
tbs_internal.h Bluetooth: TBS: Replace busy bool with atomic 2024-09-12 14:48:23 +02:00
tmap.c
vcp_internal.h Bluetooth: VCP: Replace bools with atomic 2024-09-17 14:52:37 -04:00
vcp_vol_ctlr.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
vcp_vol_rend.c
vocs.c
vocs_client.c Bluetooth: VOCS: Replace bools with atomic 2024-09-13 11:38:27 -05:00
vocs_internal.h Bluetooth: VOCS: Replace bools with atomic 2024-09-13 11:38:27 -05:00