B4R Question Change BlueTooth name in the middle of the program

Gerardo Tenreiro

Active Member
Licensed User
Hello good
I need to change the name of the BLUETOOTH connection in the middle of the program, let me explain
The program starts with a BLUETOOTH name with this code:


Afterwards via BLUETOOTH they send me a new name that I have to load, I save this name in the EEPROM memory.

If I restart the ESP32 it starts with the new name without problems

The question is if the name of the BLUTOOTH connection can be changed after initializing it with another name or if it is necessary to restart the ESP32.

How can I reset the ESP32 by code?

Thank you so much
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…