API

Find the details for USB serial devices. More...

#include <iostream>
#include <libudev.h>
#include <string>
#include <cstring>
#include <boost/filesystem.hpp>
#include <mx/ioutils/fileUtils.hpp>
#include "ttyUSB.hpp"
#include "ttyErrors.hpp"
Include dependency graph for ttyUSB.cpp:

Go to the source code of this file.

Namespaces

 MagAOX
 
 MagAOX::tty
 

Functions

int MagAOX::tty::ttyUSBDevName (std::string &devName, const std::string &vendor, const std::string &product, const std::string &serial)
 Get the ttyUSB device name for a specific device. More...
 
int MagAOX::tty::ttyUSBDevNames (std::vector< std::string > &devNames, const std::string &vendor, const std::string &product)
 Get the ttyUSB device name for a set of devices specified by their vendor and product ids. More...
 

Detailed Description

Find the details for USB serial devices.

Author
Jared R. Males

Definition in file ttyUSB.cpp.