Skip to main content

How do I enable the Command-Response feature on the device side?

  1. Enable CONFIG_ESP_RMAKER_CMD_RESP_ENABLE in menuconfig.
  2. Call esp_rmaker_cmd_register to register each command and its handler function.

See the led_light example for a reference implementation.