Page 1 of 1

GATT Server and autoconnect

Posted: Mon Jan 07, 2019 3:54 pm
by Marc-Aurele
Hello and happy new year,

I'm very new with ESP32 and espressif products. I'm starting an industrial product development and i started to test the GATT Server example. All is working fine, but i would like to know if it is possible to make an autoconnect device (in the same way as my bluetooth earphone that connects to my phone immediatly after having turn it on).

Thank you in advance,

Best regards,

Aurélien

Re: GATT Server and autoconnect

Posted: Tue Jan 08, 2019 12:41 pm
by chegewara
Hi,
esp32 BLE is following bluetooth specification so it should be easy to do this.
For example, you earphone is connecting with phone because both devices are paired first and earphone is using standard recognized by smartphone. This means that your smartphone knows it should autoconnect earphone when find it.

You can do it the same with esp32. You will need to use standard services and advertising or, if you are using custom services, you will need custom app on smartphone that will scan for you device even if its in background and then connect to it.

Re: GATT Server and autoconnect

Posted: Wed Jan 16, 2019 4:56 pm
by Marc-Aurele
Hi,

Thank you very much for your reply ;) I mainly wanted to know if it was possible. I will search for a solution on my own.

Thank you again,

Best regards,

Aurélien

Re: GATT Server and autoconnect

Posted: Mon Jan 28, 2019 5:53 pm
by PickyESP
Looking to do the same Aurélien, if you find something before I do, please forward, merci