#include <commserial.h>
Inheritance diagram for CommSerial:


A set of all functions, parameters and data related to the transmition and reception of data through the serial port.
Public Member Functions | |
| CommSerial (const char *device) | |
| Initializes the serial communication. | |
| ~CommSerial (void) | |
| Finishes the communication and resets the initial values of the serial port. | |
| int | send (unsigned char const *buffer, int numBytes) |
| Transmits data through the serial port. | |
| int | receive (unsigned char *buffer_receive, int numBytes) |
| Receives data from the serial port. | |
|
|
Initializes the serial communication. Sets the communication parameters such as baud rate, parity, etc. |
|
||||||||||||
|
Receives data from the serial port.
Implements Communication. |
|
||||||||||||
|
Transmits data through the serial port.
Implements Communication. |
1.3.7