public static bool SetModeListen() { m_opmode = OPMODE.LISTEN; return(true); }
public static bool SetModeTransmit() { m_opmode = OPMODE.TRANSMIT; return(true); }
public static bool SetModeDisplayAll() { m_opmode = OPMODE.DISPLAY_ALL; return(true); }
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]; }
public static bool SetModeTransmit() { m_opmode = OPMODE.TRANSMIT; return true; }
public static bool SetModeListen() { m_opmode = OPMODE.LISTEN; return true; }
public static bool SetModeDisplayAll() { m_opmode = OPMODE.DISPLAY_ALL; return true; }