pub fn encode_result( buf: &mut [u8], tid: u8, data: &[u8], ) -> Result<usize, WriteError>
Encode a CMD_I2C_RESULT frame carrying data: the octets a transfer read, or the addresses a scan found.
CMD_I2C_RESULT
data