Ejemplo n.º 1
0
 public static bool SetModeListen()
 {
     m_opmode = OPMODE.LISTEN;
     return(true);
 }
Ejemplo n.º 2
0
 public static bool SetModeTransmit()
 {
     m_opmode = OPMODE.TRANSMIT;
     return(true);
 }
Ejemplo n.º 3
0
 public static bool SetModeDisplayAll()
 {
     m_opmode = OPMODE.DISPLAY_ALL;
     return(true);
 }
Ejemplo n.º 4
0
 internal static void initialize_LIN_frames()
 {
     m_stopwatch = new Stopwatch();
     m_opmode = OPMODE.LISTEN;
     m_working_frame.FrameInfo.FrameData = new byte[9];
     reset_working_frame();
     Reset_LIN_Frame_Buffers();
     m_FrameStartTimer = new Timer(new TimerCallback(LIN.frame_has_timed_out), null, -1, -1);
     m_working_frame.BuildState.we_have_transmitted = false;
     m_working_frame.BuildState.transmit_data_byte_count_zero = false;
     m_working_frame_is_done = new AutoResetEvent(false);
     m_slave_profile_id_read = new AutoResetEvent(false);
     m_slave_profile_id.ByteCount = 0;
     m_slave_profile_id.FrameID = 0;
     m_slave_profile_id.Data = new byte[0xff];
 }
Ejemplo n.º 5
0
 public static bool SetModeTransmit()
 {
     m_opmode = OPMODE.TRANSMIT;
     return true;
 }
Ejemplo n.º 6
0
 public static bool SetModeListen()
 {
     m_opmode = OPMODE.LISTEN;
     return true;
 }
Ejemplo n.º 7
0
 public static bool SetModeDisplayAll()
 {
     m_opmode = OPMODE.DISPLAY_ALL;
     return true;
 }