Search found 2 matches

by Looping40
Mon Feb 19, 2018 8:51 am
Forum: ESP32 Arduino
Topic: How many BLE client is supported
Replies: 0
Views: 2894

How many BLE client is supported

Hello

Based on BLE_CLient example, I tried to add 2 other ble_client, connecting to 2 other servers.
I managed to connect client #2, but #3 hang on connect.
Is there a max number of client that ESP32 can handle ?

Regards
by Looping40
Mon Feb 19, 2018 8:12 am
Forum: ESP32 Arduino
Topic: ESP32 as BLE Client and remote server notification
Replies: 4
Views: 14969

Re: ESP32 as BLE Client and remote server notification

Hello
I had the same isue. Fixed with this:

const uint8_t v[]={0x1,0x0};
pRemoteCharacteristic->registerForNotify(notifyCallback);
pRemoteCharacteristic->getDescriptor(BLEUUID((uint16_t)0x2902))->writeValue((uint8_t*)v,2,true);

Regards