Search found 5 matches

by degill
Wed May 08, 2019 7:34 pm
Forum: ESP32 Arduino
Topic: Activate BLE Bonding and security with Button and show special services
Replies: 12
Views: 30256

Re: Activate BLE Bonding and security with Button and show special services

Hello chegewara and thank you for your reply! :) I am using the CPP Utils library found here by nkolban: esp32-snippets . I am interested in using the latest code from esp-idf, but I don't know how to combine the sources I can clone from their repository from here with the current sources from nkolb...
by degill
Tue May 07, 2019 3:06 pm
Forum: ESP32 Arduino
Topic: Activate BLE Bonding and security with Button and show special services
Replies: 12
Views: 30256

Re: Activate BLE Bonding and security with Button and show special services

A little update from our progress. Our current idea to get things working is the following: We initially start our esp32 with advertisement to be scannable by everyone but connectable only by whitelisted smartphones: server->getAdvertising()->setScanFilter(false,true); BLESecurity *pSecurity = new B...
by degill
Thu May 02, 2019 8:51 am
Forum: ESP32 Arduino
Topic: Activate BLE Bonding and security with Button and show special services
Replies: 12
Views: 30256

Re: Activate BLE Bonding and security with Button and show special services

I still don't quite get how to achieve our goal :? The design of the two devices in our scenario are as follows: 1. BLE device with only one button and no display - we program this one 2. Smartphone We don't want anyone nearby to be able to pair with the BLE device and then read/write. We only want ...
by degill
Mon Apr 29, 2019 11:27 am
Forum: ESP32 Arduino
Topic: Activate BLE Bonding and security with Button and show special services
Replies: 12
Views: 30256

Re: Activate BLE Bonding and security with Button and show special services

Hi, there is no easy way to activate bonding for only 10 seconds. When you are using pairing with YES/NO or pin then you have 30 seconds to input pin or confirm pairing, this is by bluetooth specs. What you could try to do is to use that button to confirm pairing with YES/NO, but it will be used no...