Functions
serial.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <termios.h>
#include <unistd.h>
#include "serial.h"
Include dependency graph for serial.cpp:

Go to the source code of this file.

Functions

void SerialFree (struct serial *sn)
 
const char * SerialInit (struct serial *sn, const char *Device, enum SerialBaud Baud, enum SerialStopbits StopBits, enum SerialProtocol Protocol, enum SerialParity Parity, enum SerialDatabits DataBits, int dowrite)
 
int SerialRead (struct serial *sn, char *buffer, size_t size)
 
int SerialWrite (struct serial *sn, const char *buffer, size_t size)
 

Function Documentation

void SerialFree ( struct serial sn)

Definition at line 32 of file serial.cpp.

const char* SerialInit ( struct serial sn,
const char *  Device,
enum SerialBaud  Baud,
enum SerialStopbits  StopBits,
enum SerialProtocol  Protocol,
enum SerialParity  Parity,
enum SerialDatabits  DataBits,
int  dowrite 
)

Definition at line 43 of file serial.cpp.

int SerialRead ( struct serial sn,
char *  buffer,
size_t  size 
)

Definition at line 73 of file serial.cpp.

int SerialWrite ( struct serial sn,
const char *  buffer,
size_t  size 
)

Definition at line 86 of file serial.cpp.



dgps_ros
Author(s):
autogenerated on Wed Jan 20 2021 03:38:34