Skip to main content

engine_reply

Function engine_reply 

Source
pub fn engine_reply(bytes: &[u8]) -> Result<Reply, String>
Expand description

Decode what the engine has sent of one run — its bytes arrive in pieces, so a reply cut short is not an error, only not over yet. Bytes before the first record or frame (the engine’s power-on byte) are skipped. A program that calls the host is refused by name: the board answers no host calls.