esp_local_ctrl_transport struct
`esp_local_ctrl` transport specific structure Every supported transport layer should have the following functions implemented for starting, stopping and configuring a protocomm service
Fields
Handler for starting a protocomm service as per specified configuration.
Handler for stopping a protocomm service.
Handler for creating a copy of the transport specific configuration.
Handler for allocating resources corresponding to a protocomm endpoint. Usually when adding a new endpoint `protocomm_endpoint_add()` API is used, but the transport layer may need to perform resource allocation for each endpoint, prior to starting the protocomm instance. This handler is useful in that case, as it is called before `start_service()`.
Handler for freeing a transport specific configuration.
![]()
struct esp_local_ctrl_transport {