Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
ce10696
Bluetooth: PACS: Improve handling of notify on reconnect
Thalley Sep 8, 2025
4e1a07b
Bluetooth: AVCTP: support fragmented packet transmission and reception
makeshi Aug 15, 2025
82b47ef
Bluetooth: AVRCP: Implement subunit message reception on the AVRCP TG
makeshi Jun 9, 2025
0562df7
Bluetooth: Shell: AVRCP: support subunit info request and response
makeshi Jun 9, 2025
a1eb0cf
Bluetooth: AVRCP: Implement Pass Through command reception on TG
makeshi Jun 9, 2025
1364c35
Bluetooth: shell: Add support for AVRCP TG passthrough
makeshi Jul 23, 2025
b9e0526
Bluetooth: AVRCP: Dropping the connection when error response failure
makeshi Jul 29, 2025
22f20f4
include: bluetooth: Deprecate bt_hci_bus enumeration
ydamigos Aug 27, 2025
88bb2a8
bluetooth: a2dp: add bt_a2dp_stream_create_pdu
MarkWangChinese Aug 28, 2025
68ed5e3
bluetooth: a2dp: save the reconfig to stream
MarkWangChinese Sep 9, 2025
2537b0a
Bluetooth: BAP: SD: Remove address lookups
Thalley Sep 3, 2025
d2bfc41
tests: Bluetooth: BAP: SD: Update test to set PA sync state
Thalley Sep 4, 2025
b906cf0
Bluetooth: DID: add did profile
chengkai15 Jul 2, 2025
d452ea9
Bluetooth: Classic: SDP: Check max attr byte count for req and rsp
lylezhu2012 Sep 10, 2025
0841776
Bluetooth: SDP: Partial resolved if no space for next SDP SSA discover
lylezhu2012 Sep 11, 2025
8c40d1c
Bluetooth: SDP: Check tail room of allocated buffer
lylezhu2012 Sep 11, 2025
8d3632b
Bluetooth: tester: Add service for SDP
lylezhu2012 Sep 4, 2024
5b0e4f0
Bluetooth: tester: Add SDP discover command
lylezhu2012 Sep 6, 2024
033fa0f
bluetooth: host: move assigned numbers out of gap.h
PavelVPV Aug 26, 2025
fdfac3a
bluetooth: host: audio: move audio assigned numbers to dedicated header
PavelVPV Aug 28, 2025
89320d2
bluetooth: mesh: move mesh assigned numbers to dedicated header
PavelVPV Aug 28, 2025
ae396b8
bluetooth: host: l2cap: fix issue that can't get chan by psm
CC0918 Sep 15, 2025
02a7d33
bluetooth: l2cap: support the classic l2cap rx flush timeout
MarkWangChinese Sep 1, 2025
5b52d1a
bluetooth: l2cap: accept the default flush timeout (0xFFFF) in conf_rsp
MarkWangChinese Sep 2, 2025
1de3f22
bluetooth: host: move bt_gatt_authorization_cb_register to gatt.c
PavelVPV Sep 16, 2025
c96dd71
Bluetooth: SMP: Print extra state information on timeout
sjanc Sep 18, 2025
24049e7
Bluetooth: Host: Fix use of local variable as atomic target
dottspina May 5, 2025
d710464
Bluetooth: Host: Fix possible inconsistent access to connection state
dottspina Aug 18, 2025
a0e4511
Bluetooth: Host: Amend recycled() callback documentation
dottspina May 5, 2025
8a864ce
Bluetooth: Host: Amend disconnected() callback documentation
dottspina Aug 5, 2025
8a58e7e
Bluetooth: Host: Fix some MISRA c:M23_112 warnings
dottspina May 12, 2025
73bae6f
bluetooth: host: conn: handle `bt_le_create_conn_cancel` error
JordanYates Feb 5, 2025
fa07315
tests: Bluetooth: Tester: Always enable ISO for GAP
sjanc Sep 16, 2025
9958894
bluetooth: mesh: access: doxygen improvements
kartben Sep 18, 2025
6e287fe
bluetooth: hci: userchan: Improve discardable events handling
sjanc Sep 18, 2025
0952634
Bluetooth: HFP: Fix +BSIR=0 not being recognized issue
jerryyang35 Aug 26, 2025
3be928b
samples: Bluetooth: make cap_acceptor work with Google Pixel
ChangNice Sep 15, 2025
f1529d9
Bluetooth: tester: Tune native_sim HCI configuration
sjanc Sep 18, 2025
fcc13cd
samples: bluetooth: bap_broadcast: add LIBLC3 support for MIMXRT1062
VinitMehta7492 Sep 5, 2025
6b9a27d
bluetooth: BAP: fix select bug
mjchen0 Sep 17, 2025
54187eb
Bluetooth: BAP: Add NULL check in bt_bap_stream_detach
Thalley Sep 6, 2025
33290fe
bluetooth: a2dp: fix spelling error of STEREO
MarkWangChinese Sep 16, 2025
e6e4309
tests: bluetooth: fix various shadowed declarations
fabiobaltieri Sep 26, 2025
9b7a4d6
Bluetooth: Classic: AVRCP : Enable AVRCP features in shell test config
makeshi Sep 22, 2025
863e6c2
Bluetooth: CAP: Implement broadcast to unicast handover
Thalley Jul 1, 2025
ec03587
doc: Bluetooth: Update CAP Commander status
Thalley Aug 26, 2025
bd12fb0
Bluetooth: BAP: Add missing check for unicast server ep
Thalley Sep 6, 2025
aaf2052
Bluetooth: BAP: Rename and fix bt_bap_is_x_ep
Thalley Sep 6, 2025
8ffa08c
Bluetooth: Host: Add userdefined fixed l2cap chans
HaavardRei Sep 9, 2025
7a1f5b7
Bluetooth: Host: bsim: Add fixed L2CAP chan test
HaavardRei Sep 9, 2025
14adeba
samples: bluetooth: peripheral_ht: Use dht0 temperature sensor
asmellby Sep 25, 2025
18f1ab5
Bluetooth: BAP: Shell add common unicast_group struct
Thalley Aug 25, 2025
50bf7f1
Bluetooth: CAP: Shell: Move ac_create_unicast_group to CAP
Thalley Aug 25, 2025
e3a3cc4
Bluetooth: CAP: Shell: Change to use default_unicast_group
Thalley Aug 25, 2025
7740e59
samples: bluetooth: Add testcase for ESP32-H2
Sep 11, 2025
ec9e103
Bluetooth: Host: Add note about recycled for BT_LE_ADV_OPT_CONN
Thalley Sep 27, 2025
004498a
tests: Bluetooth: Audio: Fix uninitalized value
Thalley Sep 29, 2025
1b6799b
bluetooth: hci: userchan: Implement close callback
sjanc Sep 30, 2025
caf9d03
Bluetooth: BAP: UC: Move iso_bind_ep to config instead of QoS
Thalley Sep 18, 2025
55940f0
Bluetooth: BAP: Add check to verify that eps have correct iso
Thalley Sep 18, 2025
45a996f
Bluetooth: BAP: Add conn check assert in bt_bap_iso_bind_ep
Thalley Sep 18, 2025
6788889
tests: Bluetooth: CAP: Update unicast audio start unittests
Thalley Sep 19, 2025
392b740
drivers: bluetooth: hci: Introduce bt_spi_close to support bt_disable
HoZHel May 12, 2025
20f3088
MAINTAINERS: Add one collaborator for Bluetooth Classic
lylezhu2012 Sep 23, 2025
88fecbb
Bluetooth: Host: Remove bt_le_set_auto_conn
Thalley Oct 2, 2025
7772a81
Bluetooth: Remove CONFIG_BT_BUF_ACL_RX_COUNT
Thalley Oct 2, 2025
013d7c3
tests: Bluetooth: Shell: Add bluetooth.shell.audio.no_assert
Thalley Oct 1, 2025
ab39262
Bluetooth: CAP: Mark err used for assert as __maybe_unused
Thalley Oct 1, 2025
73c22a4
Bluetooth: Tester: Fixed read_multiple_var
mahori-ravinder Oct 3, 2025
e7a560f
Bluetooth: BAP: Shell: 0-init some global variables
Thalley Sep 8, 2025
dd4a94a
tests: Bluetooth: BAP: Modify BASE unittests to native_sim
Thalley Sep 25, 2025
106134a
tests: Bluetooth: Controller: Fix bad string formats
Thalley Oct 2, 2025
f37d514
tests: Bluetooth: Codec: Modify unittests to native_sim
Thalley Sep 29, 2025
f53424c
tests: Bluetooth: PACS: Modify unittests to native_sim
Thalley Sep 29, 2025
dd1e68c
tests: bluetooth: tester: Fix extra newline in logs
sjanc Oct 7, 2025
6bfc8da
samples: Bluetooth: Fix BAP unicast client and server buffer counts
cvinayak Sep 7, 2025
37d7f5f
Bluetooth: ISO: rm extra log statements in chan_send
Thalley Oct 7, 2025
b115707
bluetooth: hci: Add data fields to event and meta event structs
sjanc Oct 7, 2025
6c73115
bluetooth: hci: userchan: Improve RX allocation handling
sjanc Oct 7, 2025
9dbdf6c
Bluetooth: Shell: BR: Add SDP discovery support for AVRCP CT/TG
makeshi Sep 10, 2025
f619c55
Bluetooth: Host: Change WRN->DBG for not connect for TX
Thalley Oct 8, 2025
039715b
bluetooth: host: remove API for automatic advertising resumption
dottspina Sep 25, 2025
3a97e21
bluetooth: host: remove transitional option _BT_LE_ADV_OPT_CONNECTABLE
dottspina Sep 25, 2025
753f5ae
bluetooth: host: remove transitional option _BT_LE_ADV_OPT_ONE_TIME
dottspina Sep 25, 2025
56432dc
bluetooth: host: do not use freed connection to resume advertising
dottspina Sep 28, 2025
61f3de6
bluetooth: host: do not resume periodic connectable advertisers
dottspina Sep 28, 2025
58af4f9
bluetooth: host: do not attempt to resume terminated advertising sets
dottspina Sep 28, 2025
3b6660f
bluetooth: host: remove no longer used internal API bt_le_adv_resume()
dottspina Sep 28, 2025
95d4439
bluetooth: host: remove useless internal flag BT_ADV_PERSIST
dottspina Sep 28, 2025
bcf56e2
Bluetooth: GOEP: Fix L2CAP segmented RX data handling issue
lylezhu2012 Sep 24, 2025
176d7c4
Bluetooth: Controller: Deprecate bt_ctlr_set_public_addr
Thalley Sep 26, 2025
6e7ff46
Bluetooth: Classic: GOEP: Support multiple OBEX sessions
lylezhu2012 Aug 27, 2025
cf0b527
Bluetooth: Classic: OBEX: Optimize MOPL configuration
lylezhu2012 Sep 25, 2025
25fb0fd
tests: bsim: bluetooth: host: misc: hfc: Enable auto-initated procedures
PavelVPV Oct 7, 2025
888d1dd
Bluetooth: CCP: Client: Add support for get provider name
Thalley Oct 2, 2024
ae75176
test: Bluetooth: tester: Add support for EAD peripheral
petrip-slab Jul 2, 2025
7d99a77
tests: Bluetooth: BR: fix import error in smp_io_cap test suite.
CanWang001 Oct 10, 2025
3026825
tests: Bluetooth: Tester: Add support for scan parameters
petrip-slab Sep 3, 2025
fd22159
bluetooth: a2dp: remove the aborted stream callback
MarkWangChinese Sep 8, 2025
580caf9
bluetooth: a2dp: improve the stream l2cap release
MarkWangChinese Sep 9, 2025
007b5a7
bluetooth: a2dp: ep->stream is cleared when stream l2cap is released
MarkWangChinese Sep 18, 2025
fe562a1
bluetooth: avdtp: save avdtp session to ep
MarkWangChinese Sep 18, 2025
21759e0
bluetooth: remove blocking operation in bt_conn_get_info
liuX10 Oct 14, 2025
e786e90
Revert "Bluetooth: tester: Tune native_sim HCI configuration"
sjanc Oct 8, 2025
a6f0832
Bluetooth: tests: bsim: Fix double advertising in test_connect2
jhedberg Oct 13, 2025
f96f378
Bluetooth: Host: Add role-specific auto PHY update options
jhedberg Oct 10, 2025
8623e50
include: drivers: rtc: counter: deprecate counter-based DS3231 driver
kartben Aug 30, 2025
43ea814
doc/releases: Document deprecation of bt_hci_bus enumeration
ydamigos Aug 27, 2025
5bc0570
doc: release: 4.3: deprecate CONFIG_POSIX_READER_WRITER_LOCKS
cfriedt Sep 15, 2025
3daa5ef
doc: Releases: Add notes about deprecated bt_ctlr_set_public_addr
Thalley Sep 26, 2025
8e0167c
doc: releases: Add entry for new ISO info fields
Thalley Aug 14, 2025
c6cc445
doc: releases: Document new field sid in bt_le_ext_adv_info
Thalley Aug 25, 2025
7524917
doc: release-notes-4.3: Document Bluetooth auto PHY update changes
jhedberg Oct 10, 2025
6a09794
Bluetooth: samples/tests: Update auto PHY usage to recent changes
jhedberg Oct 10, 2025
c7aed93
Bluetooth: Update TX buffer calculation with auto PHY changes
jhedberg Oct 10, 2025
c8b8651
Bluetooth: tests: bsim: Restore auto PHY config
jhedberg Oct 13, 2025
cdbacd4
Bluetooth: HFP_AG: Fix SLC connected event early notify issue
lylezhu2012 Sep 23, 2025
a85ab88
bluetooth: a2dp: implement delay report
MarkWangChinese Aug 13, 2025
de7053d
bluetooth: a2dp: implement get_config
MarkWangChinese Aug 27, 2025
9c9e4b2
bluetooth: avdtp: check buf tail room
MarkWangChinese Aug 28, 2025
db927d4
bluetooth: a2dp: use avdtp struct to fill data to net buf
MarkWangChinese Aug 28, 2025
99da3c6
bluetooth: a2dp: remove meaningless if
MarkWangChinese Sep 16, 2025
7fbfb74
bluetooth: a2dp: avoid clearing the cmd req
MarkWangChinese Sep 16, 2025
9cbb108
bluetooth: avdtp: unify the avdtp error code based on Zephyr err code
MarkWangChinese Sep 16, 2025
e55032d
bluetooth: a2dp: save configuration when cmd success
MarkWangChinese Sep 18, 2025
a6623ce
bluetooth: a2dp: remove the digital hardcode
MarkWangChinese Sep 29, 2025
42ed240
bluetooth: avdtp: add copyright
MarkWangChinese Sep 29, 2025
7350bec
bluetooth: shell: a2dp: remove unused function
MarkWangChinese Oct 15, 2025
effd5bb
bluetooth: shell: a2dp: use static for functions
MarkWangChinese Oct 14, 2025
1fc7144
Bluetooth: Host: bt_iso_reset before bt_conn_cleanup_all
Thalley Oct 13, 2025
899b9f7
Bluetooth: Mesh: Provisioner closes link on failed
ludvigsj Oct 13, 2025
561a271
Bluetooth: Mesh: Minor cleanup of prov link close on success
ludvigsj Oct 14, 2025
7356b9d
tests: bsim: Bluetooth: Fail on advertising start error
cvinayak Oct 13, 2025
5425179
Bluetooth: CAP: Add missing failed_conn for reception_start
Thalley Oct 7, 2025
211f0a8
Bluetooth: BAP: BA: Improve some logging
Thalley Oct 7, 2025
e9f25ce
Bluetooth: Classic: HFP_HF: Fix `AT+CLCC` can not be sent issue
lylezhu2012 Sep 23, 2025
f33ef55
bluetooth: a2dp set right endpoint state for start and abort cmd
MarkWangChinese Sep 5, 2025
fa6d386
bluetooth: a2dp: set req->status as 0
MarkWangChinese Sep 16, 2025
eb40465
bluetooth: a2dp: check the reject response's error code
MarkWangChinese Sep 29, 2025
8c96f61
tests: bluetooth: controller: Fix too many arguments for format error
tpambor Oct 16, 2025
ea7c075
doc: bluetooth: add a2dp API doc
MarkWangChinese Aug 27, 2025
5335644
bluetooth: mesh: use new Kconfig CONFIG_PSA_CRYPTO
valeriosetti Oct 10, 2025
43c959d
drivers: bluetooth: hci: siwx91x: create dependency with nwp
Martinhoff-maker Oct 15, 2025
19127ad
doc: Bluetooth: shell: Add document for Classic L2CAP
lylezhu2012 Oct 11, 2025
247dbf0
doc: Bluetooth: shell: Add document for Classic HFP
lylezhu2012 Oct 11, 2025
fe07b39
doc: Bluetooth: shell: Add document for Classic RFCOMM
lylezhu2012 Oct 11, 2025
cebba13
doc: Bluetooth: shell: Add document for Classic GOEP
lylezhu2012 Oct 11, 2025
387cb3a
bluetooth: mesh: Fix build without settings under asan
PavelVPV Oct 15, 2025
19c3b79
tests: Bluetooth: Tester: Enable CONFIG_ASAN for native target
sjanc Oct 15, 2025
37c2dc4
Bluetooth: Host: Add documentation for L2CAP tx buffer callbacks
alwa-nordic Oct 16, 2025
3598217
Bluetooth: Classic: HFP: Fix fixed MTU issue
lylezhu2012 Oct 16, 2025
4e44aaf
bluetooth: shell: a2dp: fix warning when enable sink or source only
CC0918 Oct 17, 2025
5bcff26
bluetooth: avdtp: fix the pointer check
MarkWangChinese Oct 16, 2025
3997d13
Bluetooth: Mesh: Filter duplicates in brg subnets list
ludvigsj Oct 15, 2025
15a3739
Bluetooth: Mesh: Test brg duplicate subnets filtering
ludvigsj Oct 15, 2025
3db23a4
Bluetooth: Classic: HFP_HF: Support users to query current call list
lylezhu2012 Sep 25, 2025
315922a
Bluetooth: classic: shell: Add command `query_calls` for HFP HF
lylezhu2012 Sep 25, 2025
6192c95
Bluetooth: Classic: HF: Fix invalid query current calls list issue
lylezhu2012 Sep 25, 2025
520a9c1
drivers: bluetooth: hci: fix a typo in stm32wbax ble hci driver
asm5878 Oct 21, 2025
f428686
Bluetooth: Host: Make use of common array helper macros
jhedberg Oct 20, 2025
ac10b03
tests: bluetooth: Recycle ext_adv_sets when stopping adv
alexsven Oct 20, 2025
f423ea6
tests: bsim: bluetooth: host: enable conn_stress
ardo-nordic Oct 14, 2025
e2e89fd
tests: bsim: bluetooth: host: robust subscription proc
ardo-nordic Oct 17, 2025
a64f7b6
Bluetooth: BAP: BASE: Split bt_bap_base_get_base_from_ad
Thalley Sep 6, 2025
48dfc74
Bluetooth: Host: Add BT_APP_PASSKEY Kconfig option
HaavardRei Oct 20, 2025
bd8d1fe
Bluetooth: Host: Deprecate BT_FIXED_PASSKEY
HaavardRei Oct 20, 2025
ebb8e5b
Bluetooth: Host: shell: Don't use BT_FIXED_PASSKEY
HaavardRei Oct 20, 2025
25f2171
Bluetooth: Classic: add power mode control for sniff mode
chengkai15 Oct 21, 2025
cc356d8
Bluetooth: Classic: add mode change notification for sniff mode
chengkai15 Oct 21, 2025
8178e36
Bluetooth: shell: add sniff mode control command
chengkai15 Oct 21, 2025
8b1cd6c
tests: bluetooth: mesh: remove its emulation leftovers
alxelax Oct 21, 2025
44afbb4
samples: Bluetooth: hci_uart: Make bt_ll_sw_split conf consistent
cvinayak Sep 9, 2025
4f304da
samples: Bluetooth: hci_uart: Reuse hci_vs_err_assert
cvinayak Sep 9, 2025
c7f6f0d
Bluetooth: Controller: Enable OUTPUT_DISASSEMBLY_WITH_SOURCE with LTO
cvinayak Sep 9, 2025
8678f05
Bluetooth: ISO: Fix issue with CIG being terminated
Thalley Oct 9, 2025
884a8dc
Bluetooth: Host: remove unnecessary assignment in bt_conn_unref()
r-c-n Oct 21, 2025
3a73d96
tests: Bluetooth: Tester: Fix accessing out of scope variables in VCP
sjanc Oct 22, 2025
a48cf38
tests: Bluetooth: BR: fix import error in smp_general test suite.
CanWang001 Oct 10, 2025
e04ab71
Bluetooth: Classic: SDP: Add protocol identifier codes
lylezhu2012 Oct 20, 2025
47f6fe6
Bluetooth: SDP: Add helper functions to parse discovered record
lylezhu2012 Oct 21, 2025
14fa7c7
Bluetooth: classic: shell: Support attribute parsing helper
lylezhu2012 Oct 21, 2025
b03a72b
Bluetooth: SDP: Optimize functions `bt_sdp_get_XXX()`
lylezhu2012 Oct 22, 2025
67af1c5
Bluetooth: Conn: add connection type helper functions
chengkai15 Oct 22, 2025
64b0bee
Bluetooth: BAP: Add bt_bap_unicast_client_unregister_cb
Thalley Sep 30, 2025
93aa368
Bluetooth: Host: Fix unnecessary random address update
LingaoM Oct 21, 2025
776aba5
Bluetooth: Host: Fix Periodic Advertising random address update
LingaoM Oct 23, 2025
c3012d6
tests: bluetooth: audio: fix bsim timing
LingaoM Oct 23, 2025
8f91132
bluetooth: mesh: adv_ext: Fix scheduling with multiple relay adv sets
PavelVPV Oct 23, 2025
46627de
tests: Bluetooth: SDP: Wait for DUT connect event before send any cmd
lylezhu2012 Oct 24, 2025
2e673a0
samples: Bluetooth: central_hr: Fix prj_minimal.conf use
cvinayak Oct 27, 2025
d7ae5eb
bluetooth: classic: HFP_AG: Fix early SCO connection req sending
lylezhu2012 Oct 16, 2025
bdb01ee
drivers: bluetooth: h4: Fix check for sufficient buffer size
nngt88 Oct 28, 2025
338d683
Bluetooth: Host: Fix crash on bt_disable() with limited advertising
sjanc Oct 28, 2025
ab4561f
drivers: bluetooth: hci: Fix the issue about the TRNG peripheral inst…
HoZHel Oct 23, 2025
246e00c
Bluetooth: Classic: L2CAP: Reset rx.cid when channel is deleted
lylezhu2012 Oct 29, 2025
6299ec6
Bluetooth: Mesh: Fix invalid write in private beacon server
sjanc Oct 28, 2025
8a2c082
Bluetooth: tester: Fix TBS Originate Call BTP command
sjanc Oct 7, 2025
fb13d47
drivers: bluetooth: hci: siwx91x: add RF power config
Arunnagelly Nov 4, 2025
45e4cf9
Revert "Bluetooth: Controller: Deprecate bt_ctlr_set_public_addr"
JordanYates Oct 31, 2025
2d3cd06
Bluetooth: Host: Fix handling of adv reports when scanning for connec…
zhongzhijie1 Oct 28, 2025
c49302c
tests: Bluetooth: Tester: Implement TBS Terminate Call BTP command
sjanc Oct 24, 2025
4ce6be9
Bluetooth: Host: Fix build error with observer-only config
jhedberg Nov 4, 2025
6ace72d
tests: Bluetooth: Tester: Fix GATT Notify Multiple BTP command
sjanc Oct 28, 2025
df88256
Bluetooth: Decode Bluetooth 6.2 version number
alexstanoev-nordic Nov 6, 2025
db61366
tests: bsim: bluetooth: mesh: Fix pb_cancel test
PavelVPV Nov 5, 2025
ff3af97
tests: bsim: bluetooth: mesh: Fix brg duplicate filtering test
PavelVPV Nov 5, 2025
11da1b0
Bluetooth: Classic: RFCOMM: Fix NULL pointer access issue
lylezhu2012 Nov 6, 2025
c0ac7a8
tests: Bluetooth: Tester: Fix NULL pointer dereference
sjanc Nov 6, 2025
be9441c
bluetooth: mesh: Increase BT RX Stack Size for PB-GATT
PavelVPV Nov 5, 2025
a3ea610
boards: 96boards: carbon: Increase main stack size when using Bluetooth
HoZHel May 5, 2025
2fcbba7
Bluetooth: MPL: Fix NULL pointer dereference in on_obj_selected
sjanc Nov 7, 2025
94f2692
Bluetooth: Controller: Various fixes for CIS termination handling
Tronil Nov 4, 2025
5463dcd
Bluetooth: hci_nxp: Improve MAC address uniqueness using CRC-32 hash
kaabia Oct 31, 2025
4a01172
tests: Bluetooth: tester: Add info on running with native_sim
Thalley Nov 7, 2025
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
1 change: 1 addition & 0 deletions MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ Bluetooth Classic:
- MarkWangChinese
- gzh-terry
- makeshi
- chengkai15
files:
- doc/connectivity/bluetooth/shell/classic/a2dp.rst
- subsys/bluetooth/common/
Expand Down
3 changes: 3 additions & 0 deletions boards/96boards/carbon/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ config SPI_STM32_INTERRUPT
default y
depends on SPI

configdefault MAIN_STACK_SIZE
default 1600 if MBEDTLS_INIT

endif # BOARD_96B_CARBON_STM32F401XE

if BOARD_96B_CARBON_NRF51822
Expand Down
10 changes: 10 additions & 0 deletions doc/connectivity/bluetooth/api/a2dp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _bt_a2dp:

Advanced Audio Distribution Profile (A2DP)
###########################################


API Reference
*************

.. doxygengroup:: bt_a2dp
Original file line number Diff line number Diff line change
Expand Up @@ -778,10 +778,10 @@ Bluetooth Audio Stack.
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Commander | | | - WIP | - Feature complete |
| | | | | | - Shell Module |
| | | | | | - BSIM test |
| | | | | | - Sample Application |
| | Commander | | | - Feature complete | - Shell Module |
| | | | | - BSIM test | - Sample Application |
| | | | | | |
| | | | | | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| HAP | Hearing Aid | 1.0.0 | 3.1 | - Feature complete | |
| | | | | - Shell Module | |
Expand Down
1 change: 1 addition & 0 deletions doc/connectivity/bluetooth/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Bluetooth Classic Host and profiles
hfp.rst
rfcomm.rst
sdp.rst
a2dp.rst

Bluetooth LE Audio
==================
Expand Down
38 changes: 36 additions & 2 deletions doc/connectivity/bluetooth/api/l2cap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,45 @@
Logical Link Control and Adaptation Protocol (L2CAP)
####################################################

L2CAP layer enables connection-oriented channels which can be enable with the
configuration option: :kconfig:option:`CONFIG_BT_L2CAP_DYNAMIC_CHANNEL`. This channels
L2CAP layer enables connection-oriented channels which can be enabled with the
configuration option: :kconfig:option:`CONFIG_BT_L2CAP_DYNAMIC_CHANNEL`. These channels
support segmentation and reassembly transparently, they also support credit
based flow control making it suitable for data streams.

The user can also define fixed channels using the :c:macro:`BT_L2CAP_FIXED_CHANNEL_DEFINE`
macro. Fixed channels are initialized upon connection, and do not support segmentation. An example
of how to define a fixed channel is shown below.

.. code-block:: c

static struct bt_l2cap_chan fixed_chan[CONFIG_BT_MAX_CONN];

/* Callbacks are assumed to be defined prior. */
static struct bt_l2cap_chan_ops ops = {
.recv = recv_cb,
.sent = sent_cb,
.connected = connected_cb,
.disconnected = disconnected_cb,
};

static int l2cap_fixed_accept(struct bt_conn *conn, struct bt_l2cap_chan **chan)
{
uint8_t conn_index = bt_conn_index(conn);

*chan = &fixed_chan[conn_index];

**chan = (struct bt_l2cap_chan){
.ops = &ops,
};

return 0;
}

BT_L2CAP_FIXED_CHANNEL_DEFINE(fixed_channel) = {
.cid = 0x0010,
.accept = l2cap_fixed_accept,
};

Channels instances are represented by the :c:struct:`bt_l2cap_chan` struct which
contains the callbacks in the :c:struct:`bt_l2cap_chan_ops` struct to inform
when the channel has been connected, disconnected or when the encryption has
Expand Down
140 changes: 73 additions & 67 deletions doc/connectivity/bluetooth/autopts/autopts-linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,18 @@ For running with QEMU or :zephyr:board:`native_sim <native_sim>`, see :ref:`blue
Setup Linux
***********

Install nrftools (only required in the actual hardware test mode)
*****************************************************************
Please follow :ref:`getting_started` on how to setup Linux for building and flashing applications.

Download latest nrftools (version >= 10.12.1) from site
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download.

.. image:: download_nrftools_linux.png
:height: 350
:width: 600
:align: center

After you extract archive, you will see 2 .deb files, e.g.:

- JLink_Linux_V688a_x86_64.deb

- nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb

and README.md. To install the tools, double click on each .deb file or follow
instructions from README.md.

Setup Windows 10 virtual machine
********************************
Setup Windows 10/11 virtual machine
***********************************

Choose and install your hypervisor like VMWare Workstation(preferred) or
VirtualBox. On VirtualBox could be some issues, if your host has fewer than 6 CPU.

Create Windows virtual machine instance. Make sure it has at least 2 cores and
installed guest extensions.

Setup tested with VirtualBox 7.1.4 and VMWare Workstation 16.1.1 Pro.
Setup tested with VirtualBox 7.2.4 and VMWare Workstation 16.1.1 Pro.

Update Windows
==============
Expand Down Expand Up @@ -186,10 +168,10 @@ consoles. We will use Git Bash as Windows terminal.
:width: 400
:align: center

Install PTS 8
=============
Install PTS
===========

On Windows virtual machine, install latest PTS from https://www.bluetooth.org.
On Windows virtual machine, install the latest PTS from https://pts.bluetooth.com/download.
Remember to install drivers from installation directory
"C:/Program Files (x86)/Bluetooth SIG/Bluetooth PTS/PTS Driver/win64/CSRBlueCoreUSB.inf"

Expand Down Expand Up @@ -245,16 +227,6 @@ Connect devices (only required in the actual hardware test mode)
:width: 500
:align: center

Flash board (only required in the actual hardware test mode)
************************************************************

On Linux, go to ~/zephyrproject. There should be already ~/zephyrproject/build
directory. Flash board:

.. code-block::

west flash

Setup auto-pts project
**********************

Expand All @@ -279,7 +251,6 @@ Install required python modules:
.. code-block::

cd auto-pts
pip3 install --user wheel
pip3 install --user -r autoptsclient_requirements.txt

Autopts server on Windows virtual machine
Expand All @@ -301,9 +272,14 @@ Install required python modules:
Restart virtual machine.

Running AutoPTS
****************
***************

Please follow the information from
https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/bluetooth/tester on how to build,
flash and run the Bluetooth Tester application.

Server and client by default will run on localhost address. Run server:
Server and client by default will run on localhost address.
Run the server in the Windows virtual machine:

.. code-block::

Expand All @@ -314,59 +290,89 @@ Server and client by default will run on localhost address. Run server:
:width: 700
:align: center

Testing Zephyr Host Stack on QEMU:
See also https://github.com/auto-pts/auto-pts for additional information on how to run auto-pts.

Testing Zephyr Host Stack on hardware
=====================================

.. code-block::

# A Bluetooth controller needs to be mounted.
# For running with HCI UART, please visit: https://docs.zephyrproject.org/latest/samples/bluetooth/hci_uart/README.html#bluetooth-hci-uart
python ./autoptsclient-zephyr.py zephyr-master -t /dev/ttyACM0 -b BOARD -i SERVER_IP -l LOCAL_IP

python ./autoptsclient-zephyr.py "C:\Users\USER_NAME\Documents\Profile Tuning Suite\PTS_PROJECT\PTS_PROJECT.pqw6" \
~/zephyrproject/build/zephyr/zephyr.elf -i SERVER_IP -l LOCAL_IP
Where ``/dev/ttyACM0`` is the tty for the board,
``BOARD`` is the board to use (e.g. ``nrf53_audio``),
``SERVER_IP`` is the IP of the AutoPTS server,
``LOCAL_IP`` is the local IP of the Linux machine.

Testing Zephyr Host Stack on QEMU
=================================

Testing Zephyr Host Stack on :zephyr:board:`native_sim <native_sim>`:
A Bluetooth controller needs to be mounted.
For running with HCI UART, please visit :zephyr:code-sample:`bluetooth_hci_uart`.

.. code-block::

# A Bluetooth controller needs to be mounted.
# For running with HCI UART, please visit: https://docs.zephyrproject.org/latest/samples/bluetooth/hci_uart/README.html#bluetooth-hci-uart
python ./autoptsclient-zephyr.py zephyr-master BUILD_DIR/zephyr/zephyr.elf -i SERVER_IP -l LOCAL_IP

west build -b native_sim zephyr/tests/bluetooth/tester/ -DEXTRA_CONF_FILE=overlay-native.conf
Where ``BUILD_DIR`` is the build directory,
``SERVER_IP`` is the IP of the AutoPTS server,
``LOCAL_IP`` is the local IP of the Linux machine.

sudo python ./autoptsclient-zephyr.py "C:\Users\USER_NAME\Documents\Profile Tuning Suite\PTS_PROJECT\PTS_PROJECT.pqw6" \
~/zephyrproject/build/zephyr/zephyr.exe -i SERVER_IP -l LOCAL_IP --hci 0
Testing Zephyr Host Stack on :zephyr:board:`native_sim <native_sim>`
====================================================================

When tester application has been built for :zephyr:board:`native_sim <native_sim>` it produces a
``zephyr.exe`` file, that can be run as a native Linux application.
Depending on your system,
you may need to perform the following steps to successfully run ``zephyr.exe``.

Testing Zephyr combined (controller + host) build on nRF52:
Setting capabilities
--------------------

.. note::
Since the application will need access to connect to a socket for HCI,
you may need to perform the following

If the error "ImportError: No module named pywintypes" appeared after the fresh setup,
uninstall and install the pywin32 module:
.. code-block::

.. code-block::
setcap cap_net_raw,cap_net_admin,cap_sys_admin+ep zephyr.exe

pip install --upgrade --force-reinstall pywin32
This is not required if you run ``zephyr.exe`` or ``./autoptsclient-zephyr.py`` with e.g. ``sudo``.

Run client:
Downing the HCI controller
--------------------------

You may also need to "down" or "power off" the HCI controller before running ``zephyr.exe``.
This can be done either with ``hciconfig`` as

.. code-block::

python ./autoptsclient-zephyr.py zephyr-master ~/zephyrproject/build/zephyr/zephyr.elf -t /dev/ACM0 \
-b nrf52 -l 192.168.2.1 -i 192.168.2.2
hciconfig hciX down

.. image:: autoptsclient_run_2.png
:height: 100
:width: 800
:align: center
Where ``hciX`` is a value like ``hci0``. You may run ``hciconfig`` to get a list of your HCI devices.

At the first run, when Windows asks, enable connection through firewall:
Since ``hciconfig`` is deprecated on some systems, you may need to use

.. image:: allow_firewall_2.png
:height: 450
:width: 600
:align: center
.. code-block::

btmgmt -i hciX power off

Similar to ``hciconfig``, ``btmgmt info`` may be used to list current controllers and their states.

Both ``hciconfig`` and ``btmgmt`` may require ``sudo`` when powering down a controller.

Running the client
------------------

The application can be run as

.. code-block::

python ./autoptsclient-zephyr.py zephyr-master --hci HCI BUILD_DIR/zephyr/zephyr.exe -i SERVER_IP -l LOCAL_IP

Where ``HCI`` is the HCI index, e.g. ``0`` or ``1``,
``BUILD_DIR`` is the build directory,
``SERVER_IP`` is the IP of the AutoPTS server,
``LOCAL_IP`` is the local IP of the Linux machine.

Troubleshooting
****************
Expand Down
4 changes: 4 additions & 0 deletions doc/connectivity/bluetooth/bluetooth-shell.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ For specific Bluetooth functionality see also the following shell documentation
shell/audio/tmap.rst
shell/audio/pbp.rst
shell/classic/a2dp.rst
shell/classic/goep.rst
shell/classic/hfp.rst
shell/classic/l2cap.rst
shell/classic/rfcomm.rst
shell/host/gap.rst
shell/host/gatt.rst
shell/host/iso.rst
Expand Down
7 changes: 7 additions & 0 deletions doc/connectivity/bluetooth/shell/audio/ccp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,10 @@ Example Usage when connected

uart:~$ ccp_call_control_client discover
Discovery completed with GTBS and 1 TBS bearers

.. code-block:: console

uart:~$ ccp_call_control_client read_bearer_name
Bearer 0x20046254 name: Generic TBS
uart:~$ ccp_call_control_client read_bearer_name 1
Bearer 0x20046256 name: Telephone Bearer #1
Loading
Loading