Module Integration Guides
...
Rust ESP-IDF
Setting up Bytebeam ESP-RS SDK
5 min
this section provides step by step instructions on how to set up and start using the https //github com/bytebeamio/esp bytebeam sdk https //github com/bytebeamio/esp bytebeam sdk https //github com/bytebeamio/bytebeam esp idf 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 $ git clone https //github com/bytebeamio/bytebeam esp rs sdk git $ cd bytebeam esp rs sdk/tools/provision 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 https //github com/esp rs/espflash to build the project and flash it connect your esp board using usb and run the following command inside provision project cargo espflash release monitor partition table partitions csv 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 cargo add bytebeam esp rs this will add an entry in your cargo toml like toml \[dependency] bytebeam esp rs = "0 1 0" now you can start using bytebeam client in your project / other imports / use bytebeam esp rs bytebeamclient; fn main() > anyhow result<()> { / setup esp for rust connect to internet and initialize sntp/ntp to sync time / let bytebeam client = bytebeamclient init()?; // use bytebeam client here! } check out https //github com/bytebeamio/bytebeam esp rs sdk/tree/main/examples for more details build and flash run this command within your application project cargo espflash release monitor partition table partitions csv note use the same partitions csv that you used for provisioning! if you didn't use a custom table, you can download and use https //github com/bytebeamio/bytebeam esp rs sdk/blob/main/tools/provision/partitions csv from the provision app!


