コード例 #1
0
ファイル: SerialConnection.cpp プロジェクト: xeedjr/ModBus
void SerialConnection::timer_expired(const boost::system::error_code& error) {
	if (error)
	{
		/// errror
		return;
	}

	/// frame received
	if (recv_raw_data_.size() > 0)
	{
		stop_frame();
	}
}
コード例 #2
0
void
first_frame ()
{
  stop_frame ();
}