I have some issues trying to connect a ESP32 Client to another ESP32 Server using BLE C++, with SampleClient and SampleServer :
With basic programs, when i run the application on both ESP32, it works well, and the Client can connect to the Server, and then, the server characteristic is written. For now, everything is normal.
The server is initialized with the following code :
Code: Select all
BLEDevice::init("ESP32")
BLEServer* pServer = BLEDevice::createServer();
...
However, when i want to change my server name ( ESP322 in my example ) with :
Code: Select all
BLEDevice::init("New name")
Thank you.