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

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 rs232.c.

void cprintf ( int  comport_number,
const char *  text 
)

Definition at line 382 of file rs232.c.

int IsCTSEnabled ( int  comport_number)

Definition at line 368 of file rs232.c.

int OpenComport ( int  comport_number,
int  baudrate 
)

Definition at line 229 of file rs232.c.

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

Definition at line 322 of file rs232.c.

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

Definition at line 349 of file rs232.c.

int SendByte ( int  comport_number,
unsigned char  byte 
)

Definition at line 337 of file rs232.c.


Variable Documentation

char baudr[64]

Definition at line 226 of file rs232.c.

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 rs232.c.

HANDLE Cport[16]

Definition at line 218 of file rs232.c.



orientus_sdk_c
Author(s): Advanced Navigation, Nick Otero
autogenerated on Thu Jun 6 2019 20:17:59