Skip to content

Commit

Permalink
Bluetooth: Remove 3w Bluetooth coex
Browse files Browse the repository at this point in the history
The Bluetooth 3w COEX implementation is being removed.

Signed-off-by: Johan Stridkvist <[email protected]>
  • Loading branch information
jostn authored and nordicjm committed Mar 6, 2023
1 parent 2b537b7 commit 9dfc95d
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 783 deletions.
50 changes: 0 additions & 50 deletions doc/nrf/external_comp/bt_coex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,56 +15,6 @@ The feature can only be used with the SoftDevice Controller, and only on nRF52 S

The implementation is based on :ref:`nrfxlib:bluetooth_coex` which is integrated into nrfxlib's MPSL library.

3-Wire coexistence protocol
---------------------------

.. _ug_bt_coex_3w_requirements:

Resources
*********

The Bluetooth 3-wire coexistence implementation requires exclusive access to NRF_TIMER1, in addition to the GPIO, GPIOTE and PPI resources listed in :ref:`nrfxlib:bluetooth_coex`.

Enabling 3-wire coexistence and MPSL
************************************

Make sure that the following Kconfig options are enabled:

* :kconfig:option:`CONFIG_MPSL_CX`
* :kconfig:option:`CONFIG_MPSL_CX_BT_3WIRE`

.. _ug_bt_coex_3w_config:

Configuring 3-wire coexistence
******************************

For more information about devicetree overlays, see :ref:`zephyr:use-dt-overlays`.
A sample devicetree overlay is available at :file:`samples/bluetooth/radio_coex_3wire/boards/nrf52840dk_nrf52840.overlay`.
The elements are described in the bindings: :file:`dts/bindings/radio_coex/sdc-radio-coex-three-wire.yaml`.

Priorities and scanner mode can be configured or updated at run time.

Role-based priorities
*********************

You can use a different priority for a session when requesting it, based on the session's role: advertiser, scanner, or being connected as central or as peripheral.
To do so, use the HCI VS command :c:enum:`SDC_HCI_OPCODE_CMD_VS_COEX_PRIORITY_CONFIG`.
Its parameters are described in :c:type:`sdc_hci_cmd_vs_coex_priority_config_t`.

Scanner request mode
********************

You can configure how the scanner requests coexistence sessions: either it requests a session as soon as it has received a valid access address, or it only requests a session before transmitting.
To do so, use the HCI VS command :c:enum:`SDC_HCI_OPCODE_CMD_VS_COEX_SCAN_MODE_CONFIG`.
Its parameters are described in :c:type:`sdc_hci_cmd_vs_coex_scan_mode_config_t`.

.. _ug_bt_coex_3w_sample:

Sample application
******************

A sample application for 3-wire coexistence can be found at :file:`samples/bluetooth/radio_coex_3wire`.

1-Wire coexistence protocol
---------------------------

Expand Down
4 changes: 3 additions & 1 deletion doc/nrf/releases/release-notes-changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ Samples
Bluetooth samples
-----------------

|no_changes_yet_note|
* Removed:

* The Bluetooth 3-wire coex sample because of the removal of the 3-wire implementation.

Bluetooth mesh samples
----------------------
Expand Down
37 changes: 0 additions & 37 deletions dts/bindings/radio_coex/sdc-radio-coex-three-wire.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions samples/bluetooth/radio_coex_3wire/CMakeLists.txt

This file was deleted.

79 changes: 0 additions & 79 deletions samples/bluetooth/radio_coex_3wire/README.rst

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions samples/bluetooth/radio_coex_3wire/prj.conf

This file was deleted.

10 changes: 0 additions & 10 deletions samples/bluetooth/radio_coex_3wire/sample.yaml

This file was deleted.

Loading

0 comments on commit 9dfc95d

Please sign in to comment.