Search found 11 matches

by vcch75
Sat Feb 22, 2020 6:47 pm
Forum: General Discussion
Topic: Adding a pincode to a BLE connection
Replies: 1
Views: 3383

Adding a pincode to a BLE connection

Hi ! I developed a device that sends a long password through BLE. It is based on BLEKeyboard library for arduino. #include <BleKeyboard.h> // Creating object BleKeyboard bleKeyboard(DEVICE_NAME,"PassStrong",99); // if (bleKeyboard.isConnected()) { ....} To add a real security, I would like to add a ...
by vcch75
Sat Nov 16, 2019 9:09 am
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

In fact my PC does not appear in the scan (my phone does), but if I advertise the ESP32 as server, the PC can see it and connect. Then everything works (i tried as an HIFD device). My PC appears when I use a bluetooth scanner, though and on my phone's devices to connect list. My phone appears both i...
by vcch75
Sat Nov 16, 2019 9:06 am
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

Yes I know and I have done it. The device appears in the scan when I am using, but its name seems hidden. So my questions are: 1) What do I have to add to the code to get the names (most of them are not displayed) ? 2) How do I select devices by NAME and not by complex uids so that the ESP32 can ini...
by vcch75
Fri Nov 15, 2019 7:05 am
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

Yes i have these devices advertising. What i need is and android code for esp32 spanning devices by name, and connecting the ones matching specific names. But the pin code which runs well in android is a server not a client. And the android scan sample code does not find the name of most devices (no...
by vcch75
Thu Nov 14, 2019 8:57 pm
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

I could run the code but it is not exactly what I wanted to do.

What I would like to do is a soft that connects successively to all the bluetooth devices (which would trigger a message "ESP32 wants to connect with your PC" message on my PC for example). Any idea how to do this ?
by vcch75
Wed Nov 13, 2019 8:55 pm
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

I installed the latest ESP32 library and Neil Kolban's BLE library, but i still have the error message :

BLEPin:38:14: error: 'class BLESecurity' has no member named 'setStaticPIN'

pSecurity->setStaticPIN(123456);

^
by vcch75
Wed Nov 13, 2019 8:52 pm
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

BLEPin:38:14: error: 'class BLESecurity' has no member named 'setStaticPIN'

pSecurity->setStaticPIN(123456);
by vcch75
Sun Nov 10, 2019 9:58 am
Forum: ESP32 Arduino
Topic: Using non arduino code with arduino envt
Replies: 0
Views: 1819

Using non arduino code with arduino envt

There seems to be lots of nice stuff (Mesh, face recognition, bluetooth specific routines,...) that are not available with the simple arduino esp32 environment.

Are there easy steph to port them / or cases in which it is relatively simpler ? If not why ?
by vcch75
Sat Nov 09, 2019 6:55 pm
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

Thanks a lot. Will look at it more in details.
by vcch75
Wed Nov 06, 2019 7:42 pm
Forum: ESP32 Arduino
Topic: ESP32 bluetooth
Replies: 13
Views: 12930

Re: ESP32 bluetooth

Thanks a lot, exactly what I needed! Any advice on what to do to make this run in arduino/esp32 ?