Function flipperzero_sys::rpc_session_feed
source · [−]pub unsafe extern "C" fn rpc_session_feed(
session: *mut RpcSession,
buffer: *mut u8,
size: usize,
timeout: TickType_t
) -> usizeExpand description
Give bytes to RPC service to decode them and perform command
@param session pointer to RpcSession descriptor @param buffer buffer to provide to RPC service @param size size of buffer @param timeout max timeout to wait till all buffer will be consumed
@return actually consumed bytes