sprint 1-alpha
Classes | Namespaces | Defines | Functions
sprint/io/serial.h File Reference

handle serial (Es RS232, BT) comunication More...

#include <windows.h>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

class  sprint::io::serial
 a serial (es RS232) communication object More...

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


namespace  sprint::io
 

the sprint::io namespace, which contains API to read and write from various device


Defines

#define OUTPUTDEBUGSTRING(a)

Functions

BOOL sprint::io::Win32_Serial_Write (HANDLE hComm, const char *lpBuf, DWORD dwToWrite)
 win32 helper function to write on a serial in thread safe mode
DWORD sprint::io::Win32_Serial_Read (HANDLE hComm, char *buffer, DWORD buffer_lenght)
 win32 helper function to read from a serial in thread safe mode

Detailed Description

handle serial (Es RS232, BT) comunication

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines