rodbus (C API) 1.3.1
Loading...
Searching...
No Matches
rodbus_write_result_t Struct Reference

Describes to the server if a write operation was successful or not. More...

#include <rodbus.h>

Data Fields

bool success
 true if the operation was successful, false otherwise. Error details found in the exception field. More...
 
rodbus_modbus_exception_t exception
 Exception enumeration. If RODBUS_MODBUS_EXCEPTION_UNKNOWN, look at the raw value. More...
 
uint8_t raw_exception
 Raw exception value when rodbus_write_result_t::exception field is RODBUS_MODBUS_EXCEPTION_UNKNOWN. More...
 

Detailed Description

Describes to the server if a write operation was successful or not.

May either be 'success' or an exception code returned to the client.

Used in implementations of the rodbus_write_handler_t.

Field Documentation

◆ exception

rodbus_modbus_exception_t rodbus_write_result_t::exception

Exception enumeration. If RODBUS_MODBUS_EXCEPTION_UNKNOWN, look at the raw value.

◆ raw_exception

uint8_t rodbus_write_result_t::raw_exception

◆ success

bool rodbus_write_result_t::success

true if the operation was successful, false otherwise. Error details found in the exception field.


The documentation for this struct was generated from the following file: