Hi,
Thank you isConnected() is now being called on pClient and it is working
Search found 6 matches
- Fri Jan 04, 2019 10:42 am
- Forum: ESP32 Arduino
- Topic: BLE connection status
- Replies: 5
- Views: 12164
- Thu Jan 03, 2019 6:03 pm
- Forum: ESP32 Arduino
- Topic: BLE connection status
- Replies: 5
- Views: 12164
Re: BLE connection status
I added following lines of code:
This leads to a Guru Meditation error but it should actually give me the connection status, hmmm
- bool status;
- BLEClient* getStatus;
- status=getStatus->isConnected();
- Serial.println(status);
- Thu Jan 03, 2019 4:40 pm
- Forum: ESP32 Arduino
- Topic: BLE connection status
- Replies: 5
- Views: 12164
BLE connection status
Hello everyone, I'm currently worken on a project where I let two ESP32 communicate with each other via BLE and it is working pretty fine. There is only one problem: When the ESP32 running as BLE client disconnects form the ESP32 running as server (because it is too far away or whatever) the client ...
- Thu Nov 01, 2018 1:42 pm
- Forum: ESP32 Arduino
- Topic: BLE between two ESP32
- Replies: 4
- Views: 22200
Re: BLE between two ESP32
Alright I got the problem solved. The name of the server device "MyESP32" was too long. As i read on this topic https://github.com/nkolban/esp32-snippets/issues/269 the name needs to be 5 characters or less so I changed it to "MyESP" and it is working now. I thank you so much for helping me chegewara
- Thu Nov 01, 2018 1:24 pm
- Forum: ESP32 Arduino
- Topic: BLE between two ESP32
- Replies: 4
- Views: 22200
Re: BLE between two ESP32
Short answer, yes it is possible. Long answer, you are missing one important thing. BLE_client will connect to BLE_server device if and only when BLE_server will advertise serviceUUID and advertised serviceUUID is the same BLE_client is looking for: https://github.com/nkolban/ESP32_BLE_Arduino/blob...
- Thu Nov 01, 2018 10:17 am
- Forum: ESP32 Arduino
- Topic: BLE between two ESP32
- Replies: 4
- Views: 22200
BLE between two ESP32
Hello everybody, I have been wondering if it was possible to use BLE to make 2 ESP32 communicate with each other. I have already tried uploading the Arduino IDE BLE_server example to the first ESP32 and the BLE_client example to the second Arduino. Also I have watched Kolban's videos about this topi...