Page 1 of 1

How can I read from this bluetooth button from esp32?

Posted: Tue Apr 24, 2018 5:09 am
by andrews
I have this bluetooth button and I want my esp32 to listen to a button press.

This article shows how to do it from Linux: https://shkspr.mobi/blog/2016/02/cheap- ... and-linux/

I have the same button, but I can't find any esp32 keyboard pairing example which I presume is the basic approach to interface with this button. Anyone point me in the right direction to some esp32 bluetooth keyboard pairing sample code that might be a starting point?

Re: How can I read from this bluetooth button from esp32?

Posted: Wed Apr 25, 2018 4:11 am
by chegewara
If this is really device that is serving as hid keyboard then only i can say it can be done. Maybe this can help you:

https://github.com/nkolban/esp32-snippe ... -383315534

Re: How can I read from this bluetooth button from esp32?

Posted: Wed Apr 25, 2018 8:41 pm
by andrews
Hello Chegawara

The example code you reference seems to be BLE rather than BlueTooth Classic - will it still work?

Thanks

Re: How can I read from this bluetooth button from esp32?

Posted: Wed Apr 25, 2018 8:57 pm
by chegewara
If this is classic bluetooth button then no, sorry, my mistake.