BLE Authentication

pablogurjao
Posts: 7
Joined: Thu Jun 08, 2017 6:34 pm

BLE Authentication

Postby pablogurjao » Thu Jul 20, 2017 6:49 pm

I am working with bluetooth low energy at esp32 and I want to put some security in my device, but my device has no display or keyboard, looking into BLE protocol and I found that in this case, the authentication must be in Just Works mode, in other words, this mode just put zero as passkey and do the connection and I have no security.

Somebody already works with ble authentication in case that the device has no display or keyboard? is just this mode (Just Works) that I can apply in this situation?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: BLE Authentication

Postby kolban » Thu Jul 20, 2017 6:57 pm

Since the ESP32 has flash memory, you could make it such that when the ESP32 with BLE boots for the first time, it will accept connections from anyone. When you then connect your desired device, it could remember the address of that device and only allow connections from it in the future.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 58 guests