Search found 6 matches

by wuzipu
Fri Jan 04, 2019 10:42 am
Forum: ESP32 Arduino
Topic: BLE connection status
Replies: 5
Views: 1367

Re: BLE connection status

Hi,
Thank you isConnected() is now being called on pClient and it is working :)
by wuzipu
Thu Jan 03, 2019 6:03 pm
Forum: ESP32 Arduino
Topic: BLE connection status
Replies: 5
Views: 1367

Re: BLE connection status

I added following lines of code:
  1. bool status;
  2. BLEClient* getStatus;
  3.  
  4. status=getStatus->isConnected();                
  5. Serial.println(status);
This leads to a Guru Meditation error but it should actually give me the connection status, hmmm
by wuzipu
Thu Jan 03, 2019 4:40 pm
Forum: ESP32 Arduino
Topic: BLE connection status
Replies: 5
Views: 1367

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 ...
by wuzipu
Thu Nov 01, 2018 1:42 pm
Forum: ESP32 Arduino
Topic: BLE between two ESP32
Replies: 3
Views: 2695

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
by wuzipu
Thu Nov 01, 2018 1:24 pm
Forum: ESP32 Arduino
Topic: BLE between two ESP32
Replies: 3
Views: 2695

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...
by wuzipu
Thu Nov 01, 2018 10:17 am
Forum: ESP32 Arduino
Topic: BLE between two ESP32
Replies: 3
Views: 2695

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...

Go to advanced search