setup_rpc_proto

Function setup_rpc_proto 

Source
pub fn setup_rpc_proto(buf: &mut [u8], message: RpcP) -> Result<usize, EspError>
Expand description

Sets up an RPC command to write using the automatic protbuf decoding from micropb. This is flexible, and allows writing arbitrary commands, but its interface isn’t as streamlined as our native impl.