Installation
PlatformIO (Recommended)
Section titled “PlatformIO (Recommended)”Add RadioKit to your platformio.ini:
[env:esp32]platform = espressif32board = esp32devframework = arduinolib_deps = h2zero/NimBLE-Arduino@^2.1.0 RadioKit=symlink://../rk-arduinoFor WiFi/Cloud support, add the build flag:
build_flags = -D RADIOKIT_ENABLE_WIFIArduino IDE
Section titled “Arduino IDE”- Download the latest release from GitHub
- Extract the ZIP into
Documents/Arduino/libraries/RadioKit - Restart the Arduino IDE
- Open
File -> Examples -> RadioKit -> BasicSwitch
Dependencies
Section titled “Dependencies”| Dependency | Version | Required |
|---|---|---|
| NimBLE-Arduino | ^2.1.0 | Yes (for BLE) |
| WebSockets | ^2.7.3 | Yes (for WiFi/Cloud) |
| ESP32 Board Package | latest | Yes |
| LittleFS | built-in | Optional (for filesystem) |
Supported Platforms
Section titled “Supported Platforms”| Platform | BLE | Serial | WiFi | Cloud |
|---|---|---|---|---|
| ESP32 | Yes | Yes | Yes | Yes |
| nRF52 | Yes | Yes | No | No |
| STM32 | No | Yes | No | No |
| SAMD | No | Yes | No | No |