How to change another BLE advertising name on the fly?
Posted: Tue Aug 25, 2020 2:58 am
Hello,
I would like to change the advertising name after every BLE disconnection. For first connection: ADV_NAME_01, after disconnection then change to advertising name to ADV_NAME_02
I tried to call below functions before re-init the bluetooth but still no luck, anyone have experience to do this action?
esp_bluedroid_disable();
esp_bluedroid_deinit();
esp_bt_controller_disable();
esp_bt_controller_deinit();
Thanks and regards,
Kevin
I would like to change the advertising name after every BLE disconnection. For first connection: ADV_NAME_01, after disconnection then change to advertising name to ADV_NAME_02
I tried to call below functions before re-init the bluetooth but still no luck, anyone have experience to do this action?
esp_bluedroid_disable();
esp_bluedroid_deinit();
esp_bt_controller_disable();
esp_bt_controller_deinit();
Thanks and regards,
Kevin