Go to the source code of this file.
|
static int | get_baud_speed (int baudRate) |
|
static int | serialPortAsyncReadPlatform (serial_port_t *serialPort, unsigned char *buffer, int readCount, pfnSerialPortAsyncReadCompletion completion) |
|
static int | serialPortClosePlatform (serial_port_t *serialPort) |
|
static int | serialPortFlushPlatform (serial_port_t *serialPort) |
|
static int | serialPortGetByteCountAvailableToReadPlatform (serial_port_t *serialPort) |
|
static int | serialPortGetByteCountAvailableToWritePlatform (serial_port_t *serialPort) |
|
static int | serialPortIsOpenPlatform (serial_port_t *serialPort) |
|
static int | serialPortOpenPlatform (serial_port_t *serialPort, const char *port, int baudRate, int blocking) |
|
int | serialPortPlatformInit (serial_port_t *serialPort) |
|
static int | serialPortReadTimeoutPlatform (serial_port_t *serialPort, unsigned char *buffer, int readCount, int timeoutMilliseconds) |
|
static int | serialPortReadTimeoutPlatformLinux (serialPortHandle *handle, unsigned char *buffer, int readCount, int timeoutMilliseconds) |
|
static int | serialPortSleepPlatform (serial_port_t *serialPort, int sleepMilliseconds) |
|
static int | serialPortWritePlatform (serial_port_t *serialPort, const unsigned char *buffer, int writeCount) |
|
static int | set_interface_attribs (int fd, int speed, int parity) |
|
◆ get_baud_speed()
static int get_baud_speed |
( |
int |
baudRate | ) |
|
|
static |
◆ serialPortAsyncReadPlatform()
◆ serialPortClosePlatform()
◆ serialPortFlushPlatform()
◆ serialPortGetByteCountAvailableToReadPlatform()
static int serialPortGetByteCountAvailableToReadPlatform |
( |
serial_port_t * |
serialPort | ) |
|
|
static |
◆ serialPortGetByteCountAvailableToWritePlatform()
static int serialPortGetByteCountAvailableToWritePlatform |
( |
serial_port_t * |
serialPort | ) |
|
|
static |
◆ serialPortIsOpenPlatform()
static int serialPortIsOpenPlatform |
( |
serial_port_t * |
serialPort | ) |
|
|
static |
◆ serialPortOpenPlatform()
static int serialPortOpenPlatform |
( |
serial_port_t * |
serialPort, |
|
|
const char * |
port, |
|
|
int |
baudRate, |
|
|
int |
blocking |
|
) |
| |
|
static |
◆ serialPortPlatformInit()
◆ serialPortReadTimeoutPlatform()
static int serialPortReadTimeoutPlatform |
( |
serial_port_t * |
serialPort, |
|
|
unsigned char * |
buffer, |
|
|
int |
readCount, |
|
|
int |
timeoutMilliseconds |
|
) |
| |
|
static |
◆ serialPortReadTimeoutPlatformLinux()
static int serialPortReadTimeoutPlatformLinux |
( |
serialPortHandle * |
handle, |
|
|
unsigned char * |
buffer, |
|
|
int |
readCount, |
|
|
int |
timeoutMilliseconds |
|
) |
| |
|
static |
◆ serialPortSleepPlatform()
static int serialPortSleepPlatform |
( |
serial_port_t * |
serialPort, |
|
|
int |
sleepMilliseconds |
|
) |
| |
|
static |
◆ serialPortWritePlatform()
static int serialPortWritePlatform |
( |
serial_port_t * |
serialPort, |
|
|
const unsigned char * |
buffer, |
|
|
int |
writeCount |
|
) |
| |
|
static |
◆ set_interface_attribs()
static int set_interface_attribs |
( |
int |
fd, |
|
|
int |
speed, |
|
|
int |
parity |
|
) |
| |
|
static |