Skip to main content

encode_counter

Function encode_counter 

Source
pub fn encode_counter(count: u8) -> [u8; 1]
Expand description

The data field of a counting SYNC carrying count.

The empty (counter-less) SYNC has no data field, so there is nothing to encode for it — transmit a zero-length frame.