Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/zephyr/bluetooth/audio/bap.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@
#include <stddef.h>
#include <stdint.h>

#include <zephyr/autoconf.h>
#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gap.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/bluetooth/uuid.h>
#include <zephyr/net_buf.h>
#include <zephyr/sys/slist.h>
#include <zephyr/sys/util_macro.h>
Expand Down
3 changes: 2 additions & 1 deletion include/zephyr/bluetooth/audio/ccp.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
* The profile is not limited to carrier phone calls and can be used with common applications like
* Discord and Teams.
*/
#include <stdint.h>

#include <stddef.h>

#include <zephyr/autoconf.h>
#include <zephyr/bluetooth/audio/tbs.h>
Expand Down
1 change: 1 addition & 0 deletions subsys/bluetooth/audio/audio_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
Expand Down
1 change: 1 addition & 0 deletions subsys/bluetooth/audio/bap_iso.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>

#include <zephyr/autoconf.h>
Expand Down
1 change: 0 additions & 1 deletion subsys/bluetooth/audio/bap_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/

#include <stdbool.h>
#include <stdint.h>

#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/bluetooth/audio/bap.h>
Expand Down
1 change: 1 addition & 0 deletions subsys/bluetooth/audio/ccp_call_control_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions subsys/bluetooth/audio/ccp_call_control_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions subsys/bluetooth/audio/shell/bap.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

#include <errno.h>
#include <math.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions subsys/bluetooth/audio/shell/ccp_call_control_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/audio/shell/ccp_call_control_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <errno.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>

#include <zephyr/autoconf.h>
Expand Down
1 change: 0 additions & 1 deletion subsys/bluetooth/audio/shell/tmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <errno.h>
#include <stddef.h>
#include <stdint.h>

#include <zephyr/autoconf.h>
#include <zephyr/bluetooth/audio/tmap.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/ascs/include/test_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stdint.h>

#include <zephyr/bluetooth/audio/bap.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/ascs/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 2 additions & 0 deletions tests/bluetooth/audio/ascs/src/test_ase_control_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

#include <zephyr/bluetooth/gap.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/bluetooth/uuid.h>
Expand Down
2 changes: 0 additions & 2 deletions tests/bluetooth/audio/ascs/src/test_ase_register.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>

#include <zephyr/autoconf.h>
Expand All @@ -26,7 +25,6 @@
#include <zephyr/ztest_assert.h>
#include <zephyr/ztest_test.h>

#include "assert.h"
#include "bap_unicast_server.h"
#include "bap_stream.h"

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/ascs/src/test_ase_state_transition.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/ascs/src/test_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/ascs/uut/bap_unicast_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Expand Down
3 changes: 2 additions & 1 deletion tests/bluetooth/audio/bap_base/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/bluetooth/audio/bap.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/bap_broadcast_source/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/cap_commander/src/test_micp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/cap_commander/src/test_vcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/cap_commander/uut/aics.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/cap_commander/uut/csip.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/cap_commander/uut/vocs.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#ifndef MOCKS_CCP_CALL_CONTROL_CLIENT_H_
#define MOCKS_CCP_CALL_CONTROL_CLIENT_H_

#include <stdint.h>

#include <zephyr/bluetooth/audio/ccp.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/fff.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdint.h>

#include <zephyr/bluetooth/audio/ccp.h>
#include <zephyr/bluetooth/conn.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/bluetooth/audio/ccp_call_control_server/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*/

#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

Expand Down
2 changes: 2 additions & 0 deletions tests/bluetooth/audio/mocks/include/bap_stream_expects.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef MOCKS_BAP_STREAM_EXPECTS_H_
#define MOCKS_BAP_STREAM_EXPECTS_H_

#include <stdbool.h>

#include <zephyr/bluetooth/audio/bap.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/net_buf.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/mocks/include/conn.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <stdint.h>

#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/fff.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/mocks/include/gatt.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#ifndef MOCKS_GATT_H_
#define MOCKS_GATT_H_
#include <stdbool.h>
#include <stdint.h>

#include <zephyr/fff.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/mocks/include/hci_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#ifndef MOCKS_HCI_CORE_H_
#define MOCKS_HCI_CORE_H_

#include <stdbool.h>
#include <stdint.h>

#include <zephyr/bluetooth/addr.h>
Expand Down
2 changes: 2 additions & 0 deletions tests/bluetooth/audio/mocks/include/mock_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#ifndef MOCKS_KERNEL_H_
#define MOCKS_KERNEL_H_

#include <stdbool.h>

#include <zephyr/fff.h>
#include <zephyr/kernel.h>
#include <zephyr/kernel_structs.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/mocks/src/gatt.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/mocks/src/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <stdbool.h>
#include <stdint.h>

#include <zephyr/bluetooth/addr.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/mocks/src/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/audio/mocks/src/pacs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stddef.h>

#include <zephyr/bluetooth/audio/audio.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/bluetooth/audio/pacs/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

#include <errno.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>

#include <zephyr/bluetooth/att.h>
Expand Down
4 changes: 3 additions & 1 deletion tests/bsim/bluetooth/audio/src/bap_stream_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <stdbool.h>
#include <string.h>

#include <zephyr/bluetooth/audio/bap.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/logging/log.h>
#include <zephyr/logging/log_core.h>
#include <zephyr/net_buf.h>

#include "common.h"
#include <string.h>

LOG_MODULE_REGISTER(bap_stream_rx, LOG_LEVEL_INF);

Expand Down
2 changes: 2 additions & 0 deletions tests/bsim/bluetooth/audio/src/bap_stream_rx.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <stdbool.h>

#include <zephyr/bluetooth/audio/bap.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/net_buf.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/audio/src/bap_stream_tx.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef STREAM_TX_H
#define STREAM_TX_H

#include <stdint.h>
#include <stdbool.h>

#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/audio/bap.h>
Expand Down
Loading