/virkey

Virkey firmware for ESP32 boards.

Primary LanguageC

virkey

High security multi-purpose Bluetooth Low Energy (BLE) relays.

Main characteristics

  • Asymmetric encryption algorithm (libsodium)
  • Unlimited users per device.
  • Over-the-Air (OTA) firmware updates. The upgrades are transparent through users normal utilization. For example, when users open a garage door they send firmware chunks transparently. When all chunks are received, virkey hardware switches to new firmware version. This feature is crucial to correct potential security or functionality flaws.
  • Supports complex time restriction rules.
  • Android and iOS app (they are free but not open-source right now).

Supported ESP32 boards

Compile

Follow esp-idf install instructions.

Virkey uses version 3.0 of esp-idf. So you must checkout this branch on esp-idf working directory.

git checkout release/v3.0
git submodule update

If you want reproduce the same official binary, you must checkout esp-idf to commit referred in idfver file.

"master" branch points to last stable release. Development unstable code lives in "develop" branch.

Once esp-idf is installed, you must select the right board. On virkey working directory:

$ make menuconfig
--> Component config
    --> Virkey.com config
        --> Board

Compile and flash:

$ make -j4
$ make erase_flash
$ make flash

Execute make monitor after successful flash if you want see virkey's debug output.

Using virkey

After successful flash, launch virkey APP and follow instructions.