Page 1 of 1

BLE connecting 2 devices

Posted: Thu Sep 12, 2019 5:08 pm
by Elivander Pereira
Greetings,

I'm trying to create a project with two ESP32 using Bluetooth Low Energy, I need to connect them and keep connection alive for an undefined time.

But I never worked with Bluetooth stack before, I'm reading the NimBLE documentation and I already compiled some examples using NimBLE host api.

Someone can help me? I don't know how to connect them peer-to-peer.

Re: BLE connecting 2 devices

Posted: Mon Sep 16, 2019 9:31 pm
by Elivander Pereira
I'm trying to keep connected two devices using blephpr and blecent examples. But it always is in a connecting and disconnecting loop. How can I keep the connection alive?