int modbus_rtu_set_serial_mode(modbus_t *ctx, int mode) { if (ctx->backend->backend_type == _MODBUS_BACKEND_TYPE_RTU) { if HAVE_DECL_TIOCSRS485 modbus_rtu_t *ctx_rtu = ctx->backend_data; struct serial_rs485 rs485conf; memset(&rs485conf, 0x0, sizeof(struct serial_rs485));...