Skip to content

Commit f395682

Browse files
committed
bluetooth: fast_pair: fmdn: add restriction for fmdn tx power
Added a restriction on the CONFIG_BT_FAST_PAIR_FMDN_TX_POWER Kconfig option in the Find My Device Network (FMDN) extension configuration. This Kconfig option should now be set to 0 at minimum as the Fast Pair specification now requires that the conducted Bluetooth transmit power for FMDN advertisements must not be lower than 0 dBm. Ref: NCSDK-30857 Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
1 parent ef49118 commit f395682

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

doc/nrf/external_comp/bt_fast_pair.rst

+1
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ For example, the "It's here" status message is displayed in the "Hot & Cold" exp
580580

581581
You can set the TX power for the FMDN advertising and connections using the :kconfig:option:`CONFIG_BT_FAST_PAIR_FMDN_TX_POWER` Kconfig option.
582582
The configured value is directly used to set the TX power in the Bluetooth LE controller using an HCI command.
583+
This Kconfig option must be set to 0 at minimum as the Fast Pair specification requires that the conducted Bluetooth transmit power for FMDN advertisements must not be lower than 0 dBm.
583584
By default, 0 dBm is used for the FMDN TX power configuration.
584585

585586
You can use the :kconfig:option:`CONFIG_BT_FAST_PAIR_FMDN_TX_POWER_CORRECTION_VAL` Kconfig option to define a correction value that is added to TX power readout from the Bluetooth LE controller (usually equal to the :kconfig:option:`CONFIG_BT_FAST_PAIR_FMDN_TX_POWER` Kconfig option), when calculating the calibrated TX power reported in the Read Beacon Parameters response.

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

+3
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,9 @@ Bluetooth libraries and services
588588

589589
* :ref:`bt_fast_pair_readme` library:
590590

591+
* Added a restriction on the :kconfig:option:`CONFIG_BT_FAST_PAIR_FMDN_TX_POWER` Kconfig option in the Find My Device Network (FMDN) extension configuration.
592+
This Kconfig option must now be set to 0 at minimum as the Fast Pair specification now requires that the conducted Bluetooth transmit power for FMDN advertisements must not be lower than 0 dBm.
593+
591594
* Updated the automatically generated ``bt_fast_pair`` partition definition (located in the :file:`subsys/partition_manager/pm.yml.bt_fast_pair`) to work correctly when building with TF-M.
592595

593596
* :ref:`bt_mesh` library:

subsys/bluetooth/services/fast_pair/fmdn/Kconfig

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ config BT_FAST_PAIR_FMDN_TX_POWER
2626
procedure of this library. The actual TX power value will be as close to
2727
the desired configuration as possible.
2828

29+
This must should be set to zero at minimum. The Fast Pair specification
30+
requires that the conducted Bluetooth transmit power for FMDN advertisements
31+
must be set to at least 0 dBm.
32+
2933
config BT_FAST_PAIR_FMDN_TX_POWER_CORRECTION_VAL
3034
int "TX power correction value [dBm]"
3135
default 0

subsys/bluetooth/services/fast_pair/fmdn/state.c

+3
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ enum utp_control_flags_bit_num {
9898
UTP_CONTROL_FLAGS_BIT_NUM_RING_AUTH_SKIP = 0,
9999
};
100100

101+
/* Verify if the conducted Bluetooth TX power for FMDN advertisements is set to at least 0 dBm. */
102+
BUILD_ASSERT(CONFIG_BT_FAST_PAIR_FMDN_TX_POWER >= 0);
103+
101104
/* Verify if the length of the EIK is consistent with the storage module. */
102105
BUILD_ASSERT(FP_FMDN_STATE_EIK_LEN == FP_STORAGE_EIK_LEN);
103106

0 commit comments

Comments
 (0)