libosmocore 0.9.6-23.20170220git32ee5af8.fc42
Osmocom core library
Loading...
Searching...
No Matches
#include <termios.h>

Go to the source code of this file.

Functions

int osmo_serial_init (const char *dev, speed_t baudrate)
 Open serial device and does base init.
 
int osmo_serial_set_baudrate (int fd, speed_t baudrate)
 Change current baudrate.
 
int osmo_serial_set_custom_baudrate (int fd, int baudrate)
 Change current baudrate to a custom one using OS specific method.
 
int osmo_serial_clear_custom_baudrate (int fd)
 Clear any custom baudrate.
 

Detailed Description

Osmocom serial port helpers