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 5485448
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 77 deletions.
27 changes: 27 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,36 @@
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
Loading

0 comments on commit 5485448

Please sign in to comment.