Module Integration Guides
...
ESP32
Rust ESP-IDF

Pushing data to Bytebeam

1min

You can use ByteBeam Client to push data to Streams. Follow Creating a Stream guide to create streams.

Rust


Payload you want to publish must be something that can be Serialized to JSON.

Lets say you have "led_status" stream with field "status". You can create a struct and use serde::Serialize attribute.

Rust


NOTE: Every stream has id and timestamp fields as well, we add them internally, so it is recommended to not include them in your custom struct!