pub fn sync(
    msg_id: u8,
    sync_cycle_ticks: u16,
    cycles: &[[u16; 249]],
    tx: &mut TxDatagram
) -> Result<()>