This library allows you to send and receive simple command messages via Bluetooth Low Energy.
Messages are sent as Bluetooth advertisement packets - no active connection or pairing is required.
- 128bit AES encryption: All messages are transmitted encrypted using 128bit AES encryption.
- NONCE: Each message contains a random NONCE value that increases the entropy of the encrypted message.
- Rolling code: Each message is provided with a rolling code to prevent replay attacks.
A receiver can (theoretically) manage up to 65,536 different remote controls and process 4,294,967,296 different or 32 simultaneous commands (the interpretation is left to the application / user).
Currently this library is neither registered with Arduino nor PlatformIO and therefore has to be installed / included manually.
Download the repository as a ZIP file.
Then select Sketch
/ Include Library
/ Add .ZIP library...
in the ArduinoIDE menu and select the downloaded ZIP file.
Add the following to your platformio.ini
:
lib_deps =
https://github.com/sivar2311/ESP32-BLE-RemoteControl.git
This library depends on NimBLE-Arduino.
This chapter needs to be recreated as there have been fundamental changes. Until then, please have a look at the examples.