Skip to content
Commit b65f53dd authored by Kyra Lengfeld's avatar Kyra Lengfeld Committed by Benjamin Cabé
Browse files

Bluetooth: Mesh: enable scanner before enabling proxy gatt



Once proxy gatt is enabled, due to the nature of gatt advertisements
being continuous, the controller will reject starting the scanner after
enabling proxy gatt. As such we should start the scanner first.

Currently the order works as we are using k_work to postpone the proxy
gatt service registration, because services can't be registered between
initializing BT and loading the settings.
Once we start using the new settings priority feature, we are sure to
envoke enabling proxy gatt after loading the settings, so the delayed
enabling can and should be removed.

This preventetive fix has been tested by running relevant bsim tests
after rearranging in which order the settings of the subsystems are
loaded via `h_commit`.

Signed-off-by: default avatarKyra Lengfeld <kyra.lengfeld@nordicsemi.no>
parent 2000ae6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment