Switch Controller
Loading...
Searching...
No Matches
Functions
SerialPort.h File Reference
#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>
Include dependency graph for SerialPort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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)
 

Function Documentation

◆ 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 
)