10 #ifndef __RS232_PROTOCOL_H__ 11 #define __RS232_PROTOCOL_H__ 48 #define BRP_DEFAULT_RS232_INTERBYTE_TIMEOUT 20 unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
BRP_LIB brp_protocol brp_create_rs232(char *dev_name, unsigned baudrate, char parity)
Creates a protocol object for RS232/CDC interfaces from the device name.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
unsigned long brp_time
absolute/relative timeout/delay in ms.
BRP_LIB brp_errcode brp_set_rs232_interbyte_timeout(brp_protocol protocol, brp_time timeout)
Sets the interbyte timeout for RS232 communication (Windows only).
This file primarly defines the common part of all protocol's data structures (:brp_protocol_t) and AP...