![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
| BRP_LIB brp_errcode brp_set_rs232_interbyte_timeout | ( | brp_protocol | protocol, |
| brp_time | timeout | ||
| ) |
Sets the interbyte timeout for RS232 communication (Windows only).
The interbyte timeout is the maximum time to wait between receiving individual bytes after the first byte of a frame has been received. This is particularly relevant when using USB-to-serial converters (e.g., FTDI chips) that may introduce delays between bytes.
Note: This function is only supported on Windows. On Linux/macOS, it will always return BRP_ERR_INVALID_API_CALL.
| protocol | RS232 protocol instance |
| timeout | Timeout value in milliseconds |