Functions | Variables
rs232.cpp File Reference
#include "rs232.h"
Include dependency graph for include/rs232/rs232.cpp:

Go to the source code of this file.

Functions

void CloseComport (int comport_number)
void cprintf (int comport_number, const char *text)
int IsCTSEnabled (int comport_number)
int OpenComport (int comport_number, int baudrate)
int PollComport (int comport_number, unsigned char *buf, int size)
int SendBuf (int comport_number, unsigned char *buf, int size)
int SendByte (int comport_number, unsigned char byte)

Variables

char baudr [64]
char comports [16][10]
HANDLE Cport [16]

Function Documentation

void CloseComport ( int  comport_number)

Definition at line 362 of file include/rs232/rs232.cpp.

void cprintf ( int  comport_number,
const char *  text 
)

Definition at line 382 of file include/rs232/rs232.cpp.

int IsCTSEnabled ( int  comport_number)

Definition at line 368 of file include/rs232/rs232.cpp.

int OpenComport ( int  comport_number,
int  baudrate 
)

Definition at line 229 of file include/rs232/rs232.cpp.

int PollComport ( int  comport_number,
unsigned char *  buf,
int  size 
)

Definition at line 322 of file include/rs232/rs232.cpp.

int SendBuf ( int  comport_number,
unsigned char *  buf,
int  size 
)

Definition at line 349 of file include/rs232/rs232.cpp.

int SendByte ( int  comport_number,
unsigned char  byte 
)

Definition at line 337 of file include/rs232/rs232.cpp.


Variable Documentation

char baudr[64]

Definition at line 226 of file include/rs232/rs232.cpp.

char comports[16][10]
Initial value:
{"\\\\.\\COM1",  "\\\\.\\COM2",  "\\\\.\\COM3",  "\\\\.\\COM4",
                       "\\\\.\\COM5",  "\\\\.\\COM6",  "\\\\.\\COM7",  "\\\\.\\COM8",
                       "\\\\.\\COM9",  "\\\\.\\COM10", "\\\\.\\COM11", "\\\\.\\COM12",
                       "\\\\.\\COM13", "\\\\.\\COM14", "\\\\.\\COM15", "\\\\.\\COM16"}

Definition at line 221 of file include/rs232/rs232.cpp.

HANDLE Cport[16]

Definition at line 218 of file include/rs232/rs232.cpp.



dynamic
Author(s): wnl
autogenerated on Tue Feb 25 2014 12:52:52