Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNM: Crypto sample entropy (for testing) #20119

Open
wants to merge 84 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
668e1b1
scripts: ncs_west_helpers: Update revert SHA workaround
anangl Jan 2, 2025
8436ce6
manifest: Update zephyr and mcuboot
anangl Dec 30, 2024
b2e450b
checkpatch: Remove --ignore BRACES statement
anangl Dec 30, 2024
494105b
bluetooth: rpc: remove unnecessary source
gmarull Jan 2, 2025
6d340d6
doc: upmerge fixes
gmarull Jan 2, 2025
8159197
doc: zephyr: add missing Doxygen input folder
gmarull Jan 8, 2025
65d9007
doc: adjust doxyrunner/doxybridge settings
gmarull Dec 9, 2024
57b1b0d
doc: doxygen: change standalone docsets layout
gmarull Dec 9, 2024
091d1ab
samples: suit: use CONFIG_SOC_NRF54H20_GENERATE_BICR
gmarull Nov 28, 2024
1e50057
dts: bindings: Adapt nordic,bt-hci-sdc to recent upstream changes
anangl Jan 7, 2025
fd846c1
esb: kconfig: Fix ESB_DYNAMIC_INTERRUPTS dependencies
anangl Jan 8, 2025
74f8ff3
bluetooth: rpc: Remove dependency on BT_DRIVERS
anangl Jan 8, 2025
5c49fee
boards: thingy91x: Update discharge current limit for npm1300
anangl Jan 9, 2025
7564713
net: lib: hostap_crypto: Remove cmake entries for deleted files
anangl Jan 9, 2025
f4d48e3
bluetooth: controller: Kconfig: Adapt to upstream Zephyr changes
anangl Jan 10, 2025
e26e416
treewide: Adapt to upstream Zephyr changes related to BT_CTLR
anangl Jan 11, 2025
7a1e99a
tests: nrfx_integration_test: Kconfig: Adapt to upstream Zephyr changes
anangl Jan 10, 2025
75de8c4
zigbee: osif: Replace net_pkt_set_txtime with net_pkt_set_timestamp_ns
anangl Jan 11, 2025
0c4f31d
samples: Disable CDC_ACM logging when CDC_ACM is used for shell/console
anangl Jan 11, 2025
b0b2b4b
samples: Rename cdc_acm_uart node label to board_cdc_acm_uart
anangl Jan 11, 2025
a491902
samples: direction_finding: Remove unnecessary configuration entries
anangl Jan 13, 2025
233eb0d
Kconfig.nrf: Add NRF_SECURITY_ENABLER
anangl Jan 14, 2025
f7512c6
samples: bluetooth: Update to no longer use deprecated adv resume
sean-madigan Nov 20, 2024
2d3a110
treewide: Remove redefinitions of SEC_PER_HOUR and SEC_PER_DAY
anangl Jan 14, 2025
aa93532
treewide: Synchronize wifi_credentials and wifi_mgmt_ext with upstream
rado17 Dec 4, 2024
3458af8
openthread: Add default file system configuration
maciejbaczmanski Jan 16, 2025
5705693
tests: benchmarks: idle_spim_loopback: Enable dma_fast_region for spi120
anangl Jan 16, 2025
59ab9ad
samples: bluetooth: Set CONFIG_BT_SMP_SC_PAIR_ONLY=n when needed
anangl Jan 16, 2025
6d40784
suit: Increase the default number of mbedTLS keys
tomchy Jan 16, 2025
3af8000
Bluetooth: Mesh: adapting configuration parameters
alxelax Jan 15, 2025
efb25a4
samples: matter: remove `zephyr,priority` phandle
maciejbaczmanski Jan 16, 2025
00967fe
net: lib: hostap_crypto: Remove legacy crypto
krish2718 Jan 15, 2025
8a937f4
net: lib: hostap_crypto: Fix 54L/TF-M build
krish2718 Jan 15, 2025
182b50c
treewide: Update after removal of CONFIG_NET_SOCKETS_POSIX_NAMES
anangl Jan 20, 2025
a63aefa
samples: suit: smp_transfer: Use PRNG entropy
Vge0rge Dec 4, 2024
cc62f68
suit: Use legacy PRNG in recovery app
tomchy Jan 17, 2025
70ad3bb
net: lib: Switch to zsock_* API
rlubos Jan 21, 2025
3200e6e
lib: pdn: Switch to zsock_* API
anangl Jan 29, 2025
5bdba35
bluetooth: mesh: PSA requires RNG enabled
m-alperen-sener Jan 20, 2025
8ab4085
samples: bluetooth: mesh: Update mesh sample configs for MBEDTLS PSA
m-alperen-sener Jan 20, 2025
27afc81
scripts: quarantine: nRF52832 is added for mesh light ctrl sample
m-alperen-sener Jan 21, 2025
bdaad5c
suit: Enable crypto in BT variant
tomchy Jan 21, 2025
307384d
samples: lwm2m_client: Enable ZVFS event fd
juhaylinen Jan 21, 2025
11186b4
net: lib: lwm2m_client_utils: Use zsock_* API
juhaylinen Jan 21, 2025
0f06052
applications: serial_lte_modem: Enable POSIX APIs
anangl Jan 21, 2025
56fab45
applications: nrf_desktop: Rename cdc-acm-uart node
mkapala-nordic Jan 21, 2025
871c587
tests: bluetooth: mesh: add persistante storage selection
m-alperen-sener Jan 21, 2025
b31c241
applications: asset_tracker_v2: Enable POSIX APIs in LWM2M configurat…
anangl Jan 22, 2025
c752fdf
application: asset_tracker_v2: Enable ZVFS event fd
anangl Jan 22, 2025
f818788
samples: cellular: Enable POSIX APIs in relevant samples
anangl Jan 22, 2025
01a689a
samples: nrf_rpc: protocols_serialization: Fix configurations
anangl Jan 22, 2025
84c56c6
bluetooth: Remove references to BT_TINYCRYPT_ECC
anangl Jan 22, 2025
0fa9010
quarantine: add revision values to nrf91 an nr54h entires
PerMac Jan 22, 2025
53c4260
applications: nrf5340_audio: Upmerge fixes
alexsven Jan 20, 2025
b1e1175
samples: matter: Add workaround for building Matter Lock
ArekBalysNordic Jan 22, 2025
77c551e
suit: Fix warnings in unit tests
tomchy Jan 23, 2025
b9744d7
samples: Aligned ram0x overlays in Multicore Tests/Matter samples
ArekBalysNordic Nov 26, 2024
5530b97
samples: bluetooth: Update channel sounding samples for new enum
sean-madigan Jan 24, 2025
ca5a7cf
samples: bluetooth: Update kconfigs in iso_combined_bis_and_cis
sean-madigan Jan 24, 2025
f271e7d
tests: event_manager_proxy: Remove no longer needed overlays
anangl Jan 24, 2025
f97e59c
applications|samples: Disable NCS boot banner in mcuboot on Thingy:53
anangl Jan 24, 2025
4217ae3
samples: nrf_auraconfig: Upmerge API fix
alexsven Jan 24, 2025
308bb7d
samples: bluetooth/DTM and Radio Test - add GPPI config explicitly
grochu Jan 21, 2025
e537d11
boards: thingy91x: Use default memory partitioning files
anangl Jan 24, 2025
45f5c36
samples: nrf5340: empty_app_core: Use new DT node to check lfxo enabled
sean-madigan Jan 24, 2025
3fc8774
tests: download_client: Update after zsock_close_ctx() signature change
anangl Jan 25, 2025
e538bde
samples: bluetooth: conn_time_sync: Enable nrfx_gppi explicitly
anangl Jan 25, 2025
dd8c456
samples: wifi: twt: Remove assignment to CONFIG_NET_TCP_ACK_TIMEOUT
anangl Jan 25, 2025
2b7761d
samples: bluetooth: iso_time_sync: Update configuration
anangl Jan 27, 2025
33d6f01
net: lib: nrf70_fw_ext: Rectify the BUILD_ONLY flag name
rado17 Jan 27, 2025
7804e14
wifi: samples: Shell: Set CONFIG_HOSTAP_CRYPTO_ALT_LEGACY_PSA
frkv Jan 28, 2025
dac4051
wifi: Add internal support for DES for CONFIG_HOSTAP_CRYPTO_ENTERPRISE
frkv Jan 28, 2025
df02542
wifi: Enable MBEDTLS_SSL_SERVER_NAME_INDICATION for enterprise
frkv Jan 28, 2025
dcd2f05
tests: nrfx_integration_tests: Kconfig: Use NRFX_GPPI to enable PPIs
anangl Jan 28, 2025
298d786
tests: bluetooth: mesh: Add setting kconfig for the test case
m-alperen-sener Jan 28, 2025
d64ccb0
mesh: tests: Deprecate usage of TinyCrypt in tests
frkv Jan 27, 2025
7ff2d75
mesh: Add link to mbedTLS for simulator tests to find psa/crypto.h
frkv Jan 27, 2025
98d98c1
ble: mesh: tests: Disabling QEMU target for BLE mesh test-cases
frkv Jan 28, 2025
5975db3
quarantine: Add quarantine for applications.connectivity_bridge
katgiadla Jan 29, 2025
8eedfb6
suit: Remove dependency between dfu_target and SSF
tomchy Jan 29, 2025
e30bd5d
suit: Link envelope info with platform error lib
tomchy Jan 29, 2025
f5c7eb2
tests: Disable SSF if interface is mocked
tomchy Jan 29, 2025
ad66bd4
quarantine_zephyr: Add new secure_storage samples/tests for nRF54H20 PPR
anangl Jan 29, 2025
f9449ef
crypto: samples: Unify crypto sample prj.conf
frkv Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .checkpatch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
--min-conf-desc-length=1
--typedefsfile=scripts/checkpatch/typedefsfile

--ignore BRACES
--ignore PRINTK_WITHOUT_KERN_LEVEL
--ignore SPLIT_STRING
--ignore VOLATILE
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:

for docset in "${DOXYGEN[@]}"; do
OUTDIR=doc/_build/html-doxygen/$docset-apis
mv doc/_build/html/$docset "$OUTDIR"
mv doc/_build/html/$docset/html "$OUTDIR"

# Populate custom.properties, tags.yml
cp doc/_zoomin/$docset.apis.custom.properties "$OUTDIR/custom.properties"
Expand Down
3 changes: 0 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@
/include/net/download_client* @nrfconnect/ncs-modem
/include/net/downloader* @nrfconnect/ncs-modem
/include/net/nrf_cloud_* @nrfconnect/ncs-nrf-cloud
/include/net/wifi_credentials.h @nrfconnect/ncs-cia
/include/nfc/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-si-muffin
/include/nrf_compress/ @nordicjm
/include/nrf_rpc/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-si-muffin
Expand Down Expand Up @@ -762,7 +761,6 @@
/subsys/net/lib/nrf_cloud/ @nrfconnect/ncs-nrf-cloud
/subsys/net/lib/nrf_provisioning/ @nrfconnect/ncs-iot-oulu
/subsys/net/lib/zzhc/ @junqingzou
/subsys/net/lib/wifi_credentials/ @nrfconnect/ncs-cia
/subsys/net/lib/softap_wifi_provision/ @nrfconnect/ncs-cia
/subsys/net/openthread/ @nrfconnect/ncs-co-networking @nrfconnect/ncs-thread
/subsys/net/openthread/rpc/ @nrfconnect/ncs-protocols-serialization
Expand Down Expand Up @@ -872,7 +870,6 @@
/tests/subsys/net/lib/mqtt_helper/ @nrfconnect/ncs-cia
/tests/subsys/net/lib/nrf_cloud/ @nrfconnect/ncs-nrf-cloud
/tests/subsys/net/lib/nrf_provisioning/ @nrfconnect/ncs-iot-oulu
/tests/subsys/net/lib/wifi_credentials*/ @nrfconnect/ncs-cia
/tests/subsys/net/openthread/rpc/ @nrfconnect/ncs-protocols-serialization
/tests/subsys/nfc/rpc/ @nrfconnect/ncs-protocols-serialization
/tests/subsys/nrf_compress/ @nordicjm
Expand Down
6 changes: 6 additions & 0 deletions Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ config FLASH_SIZE
default 1524
endif

config NRF_SECURITY_ENABLER
def_bool y
imply NRF_SECURITY if BT_CRYPTO || BT_HOST_CRYPTO || BT_MESH_USES_MBEDTLS_PSA || BT_FAST_PAIR_CRYPTO_PSA
imply ENTROPY_GENERATOR if BOARD_NATIVE_SIM
imply PSA_WANT_GENERATE_RANDOM if BT_HOST_CRYPTO_PRNG
depends on !SOC_NRF5340_CPUNET

rsource "samples/Kconfig"
rsource "subsys/Kconfig"
Expand Down
3 changes: 3 additions & 0 deletions applications/asset_tracker_v2/overlay-lwm2m.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ CONFIG_LWM2M_RW_JSON_SUPPORT=n
CONFIG_LWM2M_SECURITY_INSTANCE_COUNT=3
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=4000
CONFIG_BASE64=y
CONFIG_POSIX_API=y
CONFIG_ZVFS_EVENTFD=y
CONFIG_ZVFS_EVENTFD_MAX=2

# Transmission buffers.
CONFIG_LWM2M_ENGINE_MAX_OBSERVER=5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_NUS=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_SMP=y
CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_RX_BUFFERS=10
CONFIG_BT_BUF_ACL_TX_COUNT=10
CONFIG_BT_BUF_ACL_TX_SIZE=251
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void adv_start(void)

err = bt_le_adv_start(
BT_LE_ADV_PARAM(
BT_LE_ADV_OPT_CONNECTABLE,
BT_LE_ADV_OPT_CONN,
BT_GAP_ADV_SLOW_INT_MIN,
BT_GAP_ADV_SLOW_INT_MAX,
NULL),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ CONFIG_USB_CDC_ACM=y
CONFIG_CBPRINTF_NANO=y
CONFIG_TIMESLICING=n
CONFIG_BOOT_BANNER=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_CONSOLE=n
CONFIG_CONSOLE_HANDLER=n
CONFIG_UART_CONSOLE=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
};
};

/* Set IPC thread priority to the highest value to not collide with other threads. */
&ipc0 {
zephyr,priority = <0 PRIO_COOP>;
};

/* Disable unused peripherals to reduce power consumption */
&adc {
status = "disabled";
Expand Down
5 changes: 0 additions & 5 deletions applications/matter_weather_station/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
};
};

/* Set IPC thread priority to the highest value to not collide with other threads. */
&ipc0 {
zephyr,priority = <0 PRIO_COOP>;
};

&i2c1 {
bme688@76 {
compatible = "bosch,bme680";
Expand Down
18 changes: 0 additions & 18 deletions applications/nrf5340_audio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,6 @@ config TRANSPORT_CIS
endchoice

#----------------------------------------------------------------------------#
if (TRANSPORT_BIS && AUDIO_DEV = 1)
rsource "broadcast_sink/Kconfig.defaults"
endif # TRANSPORT_BIS && AUDIO_DEV = 1

if (TRANSPORT_BIS && AUDIO_DEV = 2)
rsource "broadcast_source/Kconfig.defaults"
endif # TRANSPORT_BIS && AUDIO_DEV = 2

if (TRANSPORT_CIS && AUDIO_DEV = 1)
rsource "unicast_server/Kconfig.defaults"
endif # TRANSPORT_CIS && AUDIO_DEV = 1

if (TRANSPORT_CIS && AUDIO_DEV = 2)
rsource "unicast_client/Kconfig.defaults"
endif # TRANSPORT_CIS && AUDIO_DEV = 2



rsource "Kconfig.defaults"
rsource "src/audio/Kconfig"
rsource "src/bluetooth/Kconfig"
Expand Down
109 changes: 0 additions & 109 deletions applications/nrf5340_audio/broadcast_sink/Kconfig.defaults

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_TRANSPORT_BIS=y

## ACL related configs ##
CONFIG_BT_OBSERVER=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP=y
CONFIG_BT_AUDIO=y
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_GATT_CACHING=n

CONFIG_SETTINGS=y
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y

CONFIG_BT_BUF_ACL_TX_COUNT=18

CONFIG_BT_CAP_ACCEPTOR=y
CONFIG_BT_CSIP_SET_MEMBER=y
CONFIG_BT_CAP_ACCEPTOR_SET_MEMBER=y
CONFIG_BT_GAP_PERIPHERAL_PREF_PARAMS=y
CONFIG_BT_VCP_VOL_REND=y

CONFIG_BT_PERIPHERAL_PREF_MIN_INT=64
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=69
CONFIG_BT_PERIPHERAL_PREF_LATENCY=0
CONFIG_BT_PERIPHERAL_PREF_TIMEOUT=200

# Generic Audio Sink - 0x0840
CONFIG_BT_DEVICE_APPEARANCE=2112
CONFIG_BT_PER_ADV_SYNC_MAX=2

## ISO related configs ##
CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT=2
CONFIG_BT_BAP_BROADCAST_SNK_COUNT=2
CONFIG_BT_ISO_MAX_CHAN=2
CONFIG_BT_ISO_MAX_BIG=2

CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER=y

## PACS related configs ##
CONFIG_BT_PAC_SNK_NOTIFIABLE=y
CONFIG_BT_PAC_SNK=y
CONFIG_BT_PAC_SRC_NOTIFIABLE=y
CONFIG_BT_PAC_SRC=y

## Audio related configs ##
CONFIG_AUDIO_MUTE=n
CONFIG_AUDIO_TEST_TONE=n

CONFIG_BT_ISO_SYNC_RECEIVER=y
CONFIG_BT_BAP_SCAN_DELEGATOR=y
CONFIG_BT_BAP_BROADCAST_SINK=y

## LC3 related configs ##
CONFIG_LC3_DEC_CHAN_MAX=1



Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_TRANSPORT_BIS=y

CONFIG_BT_CAP_INITIATOR=y
CONFIG_BT_AUDIO=y

CONFIG_BT_DEVICE_APPEARANCE=2181

CONFIG_BT_ISO_BROADCASTER=y

CONFIG_BT_BAP_BROADCAST_SOURCE=y

CONFIG_BT_ISO_TX_BUF_COUNT=2

CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT=2

CONFIG_BT_ISO_MAX_CHAN=2

CONFIG_BT_ISO_MAX_BIG=2

CONFIG_LC3_ENC_CHAN_MAX=2
CONFIG_ENTROPY_GENERATOR=y
1 change: 1 addition & 0 deletions applications/nrf5340_audio/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ CONFIG_STACK_USAGE=y
CONFIG_THREAD_RUNTIME_STATS=y
CONFIG_STACK_SENTINEL=y
CONFIG_INIT_STACKS=y
CONFIG_BT=y

# Uart driver
CONFIG_SERIAL=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,21 @@
CONFIG_BLE_ACL_EXT_ADV_INT_MIN, CONFIG_BLE_ACL_EXT_ADV_INT_MAX, NULL)

#define LE_AUDIO_EXTENDED_ADV_CONN_NAME \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONNECTABLE | \
BT_LE_ADV_OPT_USE_NAME, \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONN | BT_LE_ADV_OPT_USE_NAME, \
CONFIG_BLE_ACL_EXT_ADV_INT_MIN, CONFIG_BLE_ACL_EXT_ADV_INT_MAX, NULL)

#define LE_AUDIO_EXTENDED_ADV_CONN_NAME_FILTER \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONNECTABLE | \
BT_LE_ADV_OPT_USE_NAME | BT_LE_ADV_OPT_FILTER_CONN, \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONN | BT_LE_ADV_OPT_USE_NAME | \
BT_LE_ADV_OPT_FILTER_CONN, \
CONFIG_BLE_ACL_EXT_ADV_INT_MIN, CONFIG_BLE_ACL_EXT_ADV_INT_MAX, NULL)

#define LE_AUDIO_PERIODIC_ADV \
BT_LE_PER_ADV_PARAM(CONFIG_BLE_ACL_PER_ADV_INT_MIN, CONFIG_BLE_ACL_PER_ADV_INT_MAX, \
BT_LE_PER_ADV_OPT_NONE)

#define BT_LE_ADV_FAST_CONN \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE, BT_GAP_ADV_FAST_INT_MIN_1, \
BT_GAP_ADV_FAST_INT_MAX_1, NULL)
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONN, BT_GAP_ADV_FAST_INT_MIN_1, BT_GAP_ADV_FAST_INT_MAX_1, \
NULL)

/* Broadcast name can be max 32 bytes long, so this will be the limit for both.
* Add one for '\0' at the end.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void smp_adv(void)
{
int ret;

ret = bt_le_adv_start(BT_LE_ADV_CONN, ad_peer, ARRAY_SIZE(ad_peer), sd_peer,
ret = bt_le_adv_start(BT_LE_ADV_CONN_FAST_2, ad_peer, ARRAY_SIZE(ad_peer), sd_peer,
ARRAY_SIZE(sd_peer));
if (ret) {
LOG_ERR("SMP_SVR Advertising failed to start (ret %d)", ret);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void bt_mgmt_broadcast_code_ptr_get(uint8_t **broadcast_code_ptr)
void bt_mgmt_scan_delegator_init(void)
{
if (!scan_dlg_cb_registered) {
bt_bap_scan_delegator_register_cb(&scan_delegator_cbs);
bt_bap_scan_delegator_register(&scan_delegator_cbs);
scan_dlg_cb_registered = true;
}

Expand Down
Loading