When I use the SDK 15.2.0 & Mesh 3.10.
This light_switch example of advertising bearer(Mesh Profile 3.3.1) default to using the channel 37.
So,I try to change the advertising bearer channel to other(channel 38 or channel 39).And then,my find and add some code of about RF channels to only channel 39.But the LOG display error 6(mean unsupported data length or advertising parameter configuration).
Could you tell me how to change the advertising bearer to 39 channel?
The light switch example are using all the channels(37, 38, 39) by default, check the define NRF_MESH_ADV_CHAN_DEFAULT. You can change this define if you want to advertise on channel 39 only.