Skip to content

Commit

Permalink
samples: dect_phy: hello_dect: modem 1.1 support
Browse files Browse the repository at this point in the history
Updates for libmodem 3.0.0 API changes. Adds support for configuring
the band group index for using band 4 with the sample.

Signed-off-by: Eivind Jølsgard <[email protected]>
  • Loading branch information
eivindj-nordic committed Jan 27, 2025
1 parent f4d9d26 commit 1154e27
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 77 deletions.
26 changes: 26 additions & 0 deletions samples/dect/dect_phy/hello_dect/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,35 @@
config CARRIER
int "Carrier to use"
default 0
range 525 551 if BAND_GROUP_INDEX_1
help
The availability of the channels and the exact regulation to use them varies in different countries.
See ETSI TS 103 636-2 5.4.2 for the calculation.
When using band group index 1, you must not use the carriers outside the range of
525 to 551 as they interfere with other radio devices, including LTE devices.

config BAND_GROUP_INDEX_NUM
int
default 0 if BAND_GROUP_INDEX_0
default 1 if BAND_GROUP_INDEX_1

choice BAND_GROUP_INDEX
prompt "Band group index"
default BAND_GROUP_INDEX_0

config BAND_GROUP_INDEX_0
bool "Band group index 0"
help
Use RF frequencies operating near 2GHz.

config BAND_GROUP_INDEX_1
bool "Band group index 1"
help
RF frequencies near 1 GHz.
When using band group index 1, you must not use the carriers outside the range of
525 to 551 as they interfere with other radio devices, including LTE devices.

endchoice

config NETWORK_ID
int "Network ID"
Expand Down
12 changes: 12 additions & 0 deletions samples/dect/dect_phy/hello_dect/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ CONFIG_CARRIER
The availability of the channels and the exact regulations for using them vary in different countries.
See section 5.4.2 of `ETSI TS 103 636-2`_ for the calculation.

.. _CONFIG_BAND_GROUP_INDEX:
.. _CONFIG_BAND_GROUP_INDEX_0:
.. _CONFIG_BAND_GROUP_INDEX_1:

CONFIG_BAND_GROUP_INDEX
The band group index defines which RF frequencies the modem will operate on.
This is configured before the modem is activated.
All nRF91 Series devices with DECT NR+ PHY support have support for band index 0.
DECT NR+ band 4 (band index 1) is supported by the nRF9151 LACA A0 SiP for research and development evaluation purposes.
The nRF9151 LACA A0AB SiP will be qualified for DECT NR+ band 4 support.
To select the band group index 0 and 1, enable the :ref:`CONFIG_BAND_GROUP_INDEX_0 <CONFIG_BAND_GROUP_INDEX_0>` and :ref:`CONFIG_BAND_GROUP_INDEX_1 <CONFIG_BAND_GROUP_INDEX_1>` Kconfig options, respectively.

.. _CONFIG_NETWORK_ID:

CONFIG_NETWORK_ID
Expand Down
Loading

0 comments on commit 1154e27

Please sign in to comment.