#include "pch.h"
#include <boost/asio/io_service.hpp>
#include <boost/asio/read.hpp>
#include <boost/asio/serial_port.hpp>
#include <boost/asio/write.hpp>
#include <boost/bind/bind.hpp>
Go to the source code of this file.
|
std::unique_ptr< boost::asio::serial_port > | initializeSerialPort (std::string serialPort, unsigned int baud, boost::asio::io_service &io) |
|
void | testSerialPort (std::unique_ptr< boost::asio::serial_port > &serialPort, boost::asio::io_service &io) |
|
◆ initializeSerialPort()
std::unique_ptr< boost::asio::serial_port > initializeSerialPort |
( |
std::string |
serialPort, |
|
|
unsigned int |
baud, |
|
|
boost::asio::io_service & |
io |
|
) |
| |
◆ testSerialPort()
void testSerialPort |
( |
std::unique_ptr< boost::asio::serial_port > & |
serialPort, |
|
|
boost::asio::io_service & |
io |
|
) |
| |