Stop advertising does not work?


Hi all,

I want to totally disable the BLE server while keeping the BLE client functionality available. Because I did not find out how to do this, I tried to stop advertising at least. But calling ‘mgos_bt_gap_set_adv_enable(false)’ does not stop advertising.

Does anybody know this problem and has a solution?

Kind regards


Last time I checked, it was working… 2.17.0
Check the return value and check you actually are passing a false… I called it several seconds after enabling advertising.