esp_local_ctrl_handlers struct
Handlers for receiving and responding to local control commands for getting and setting properties.
Fields
Handler function to be implemented for retrieving current values of properties.
Handler function to be implemented for changing values of properties.
Context pointer to be passed to above handler functions upon invocation. This is different from the property level context, as this is valid throughout the lifetime of the `esp_local_ctrl` service, and freed only when the service is stopped.
Pointer to function which will be internally invoked on `usr_ctx` for freeing the context resources when `esp_local_ctrl_stop()` is called.