Skip to content

Commit

Permalink
ble: Avoid using the same BLE name for SMP and app
Browse files Browse the repository at this point in the history
define new name for BLE ADV for Sidewalk services.

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed Nov 14, 2024
1 parent d9da400 commit ed56cc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Kconfig.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ config SIDEWALK_BLE
help
Sidewalk Bluetooth Low Energy (BLE) module

config SIDEWALK_BLE_NAME
string "BLE name adverticed for Sidewalk"
default "SID_APP"

config BT_ID_MAX
default 3 if SIDEWALK_DFU
default 2
Expand Down
2 changes: 1 addition & 1 deletion subsys/config/common/src/app_ble_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static const sid_ble_cfg_gatt_profile_t ble_profile[] = {
};

static const sid_ble_config_t ble_cfg = {
.name = CONFIG_BT_DEVICE_NAME,
.name = CONFIG_SIDEWALK_BLE_NAME,
.mtu = CONFIG_BT_L2CAP_TX_MTU,
.is_adv_available = true,
.mac_addr_type = SID_BLE_CFG_MAC_ADDRESS_TYPE_STATIC_RANDOM,
Expand Down

0 comments on commit ed56cc7

Please sign in to comment.