Setting up Bytebeam ESP-RS SDK
Learn how to set up and utilize the Bytebeam ESP-RS SDK on any ESP32 board with this comprehensive document. Get step-by-step instructions on provisioning the device, integrating the Bytebeam client into your project, and building and flashing the applica
This section provides step by step instructions on how to set up and start using the Bytebeam ESP-RS SDK . This SDK can be used with any ESP32 board. The only requirements are WiFi and a working internet connection.
Provision device with device config data
bytebeam-esp-rs requires device_config.json file in SPIFFS partition. We provide a tool for provisioning device.
Download the device configuration JSON file from Bytebeam cloud by following the Provisioning a Device guide and place it inside the provision project with the name device_config.json
You can use cargo espflash to build the project and flash it.
Connect your ESP board using USB and run the following command inside provision project :
NOTE: If you want to use custom partition table for your application, please replace partitions.csv file provided in provision project
You will see a log line with “Provisioning Done” message! You can then terminate it and move on to next step.
Let’s use bytebeam-esp-rs!
Add bytebeam-esp-rs as a dependency in your Cargo.toml
This will add an entry in your Cargo.toml like:
Now you can start using Bytebeam client in your project
Check out examples for more details.
Build and Flash
Run this command within your application project :
NOTE: Use the same partitions.csv that you used for provisioning! If you didn’t use a custom table, you can download and use partitions.csv from the provision app!