ESP-IDF
Receiving actions
Guide on receiving actions in Rust ESP-IDF
Actions are commands that platform sends to the client. The JSON format for Actions would look like:
On device end, we need to write an action handler for handling individual action based on the name. Following example shows a way to create action handler and mapping it to a particular action:
Have a look at toggle_led example app for a full fledged example showing how to add the action and publish the action status response to bytebeam cloud.