Module Integration Guides
...
ESP32
Rust ESP-IDF
Receiving Actions
2min
Actions are commands that platform sends to the client. The JSON format for Actions would look like :
NOTE: payload is optional, so it may or mayn't be there
To handle an incoming action, you need to define and register an action handler. An action handle must take Action and &ByteBeamClient as arguments :
We can also send the progress updates for actions using publish_action_status :
For example :
Check out examples for more details
Updated 01 Sep 2023
Did this page help you?