|
Defines |
|
#define | DEFAULT_BAUDRATE B57600 |
|
#define | DEFAULT_SERIAL_DEV "/dev/ttyS0" |
|
#define | BAUD_RATE 0 |
|
#define | PARITY 1 |
Functions |
|
void | serial_init_fd () |
| | This will initialize the filedescriptor for the serial device.
|
| uint8_t | serial_init () |
| | Setup the serial port and register with the com layer.
|
| uint8_t | serial_send (comBuf *buf) |
| | Send the buffer out over the serial port.
|
| uint8_t | serial_mode (uint8_t mode) |
| | See full description.
|
|
uint8_t | serial_ioctl (uint8_t request, va_list ap) |
| | Generic control function for doing things like changing the properties of the serial connection etc...
|
|
uint8_t | serial_get_mode () |
| | get the current mode of the serial device
|
|
void | serial_close () |
| | Close the serial device this command returns control of the serial back to the system.
|