void Reset(IsoConnectionParameters cp) { m_COTP_dstref = 0x0000; m_COTP_srcref = 0x0008; m_COTP_option = 0x00; options = new CotpOptions(cp); }
private void _read() { _tptk = new TptkHeader(m_io, this, m_root); _cotp = new CotpHeader(m_io, this, m_root); __raw_opts = m_io.ReadBytes((Cotp.Length - 1)); var io___raw_opts = new KaitaiStream(__raw_opts); _opts = new CotpOptions(Cotp.PduType, io___raw_opts, this, m_root); _payload = m_io.ReadBytes((Tptk.Length - M_Io.Pos)); }