Skip to content

Commit 10b5112

Browse files
totyzktaborowski
authored andcommitted
samples: Set only lora on CONFIG_SIDEWALK_LINK_MASK_LORA
- Set CONFIG_SIDEWALK_LINK_MASK_LORA to LINK_TYPE_3 - Removed deprecated labels from physical link type prompts in Kconfig. - Updated documentation to reflect the new configuration options. Signed-off-by: Tomasz Tyzenhauz <[email protected]>
1 parent dfa092c commit 10b5112

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ config SIDEWALK_PAL_RADIO_SOURCE
3636
endif # SIDEWALK_SUBGHZ_SUPPORT
3737

3838
choice SIDEWALK_LINK_MASK
39-
prompt "Physical link type [DEPRICATED]"
39+
prompt "Physical link type"
4040
default SIDEWALK_LINK_MASK_BLE
4141
help
42-
Select the physical link type for Sidewalk connection.
42+
Choose the default physical link type for Sidewalk connection.
4343

4444
config SIDEWALK_LINK_MASK_BLE
45-
bool "Bluetooth Low Energy link [DEPRICATED]"
45+
bool "Bluetooth Low Energy link"
4646

4747
config SIDEWALK_LINK_MASK_FSK
48-
bool "Sub-GHz link for FSK [DEPRICATED]"
48+
bool "Sub-GHz link for FSK"
4949

5050
config SIDEWALK_LINK_MASK_LORA
51-
bool "Sub-GHz link for LORA [DEPRICATED]"
51+
bool "Sub-GHz link for LORA"
5252

5353
endchoice # SIDEWALK_LINK_MASK
5454

doc/includes/include_kconfig_common.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,21 @@
2121

2222
* ``CONFIG_SIDEWALK_ON_DEV_CERT`` -- Enables the on-device certification Shell.
2323

24-
* ``SIDEWALK_CRYPTO_PSA_KEY_STORAGE`` - Enables secure storage for persistent Sidewalk keys.
24+
* ``CONFIG_SIDEWALK_CRYPTO_PSA_KEY_STORAGE`` - Enables secure storage for persistent Sidewalk keys.
2525

26-
* ``SIDEWALK_MFG_STORAGE_SUPPORT_HEX_v7`` - Enables support for Sidewalk manufacturing HEX in version 7 and below.
26+
* ``CONFIG_SIDEWALK_MFG_STORAGE_SUPPORT_HEX_v7`` - Enables support for Sidewalk manufacturing HEX in version 7 and below.
2727

2828
* ``CONFIG_SID_END_DEVICE_AUTO_START`` -- Enables an automatic Sidewalk initialization and start.
2929

3030
* ``CONFIG_SID_END_DEVICE_AUTO_CONN_REQ`` -- Enables an automatic connection request before sending a message.
3131
If needed, the Bluetooth LE connection request is sent automatically.
3232

33-
* ``SID_END_DEVICE_PERSISTENT_LINK_MASK`` - Enables persistent link mask.
33+
* ``CONFIG_SID_END_DEVICE_PERSISTENT_LINK_MASK`` - Enables persistent link mask.
34+
35+
* ``CONFIG_SIDEWALK_LINK_MASK`` - Choose the default physical link type for Sidewalk connection to start with
36+
37+
* ``CONFIG_SIDEWALK_LINK_MASK_BLE`` -- Choose Bluetooth Low Energy link.
38+
39+
* ``CONFIG_SIDEWALK_LINK_MASK_FSK`` -- Choose Sub-GHz link for FSK.
40+
41+
* ``CONFIG_SIDEWALK_LINK_MASK_LORA`` -- Choose Sub-GHz link for LORA.

samples/sid_end_device/include/sidewalk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int sidewalk_event_send(event_handler_t event, void *ctx, ctx_free free);
5353
#elif CONFIG_SIDEWALK_LINK_MASK_FSK
5454
#define DEFAULT_LM (uint32_t)(SID_LINK_TYPE_2)
5555
#elif CONFIG_SIDEWALK_LINK_MASK_LORA
56-
#define DEFAULT_LM (uint32_t)(SID_LINK_TYPE_1 | SID_LINK_TYPE_3)
56+
#define DEFAULT_LM (uint32_t)(SID_LINK_TYPE_3)
5757
#else
5858
#define DEFAULT_LM (uint32_t)(SID_LINK_TYPE_1)
5959
#endif

0 commit comments

Comments
 (0)