|
nanoMODBUS
|
#include <nanomodbus.h>

Data Fields | ||
| struct { | ||
| uint8_t buf [260] | ||
| uint16_t buf_idx | ||
| uint8_t unit_id | ||
| uint8_t fc | ||
| uint16_t transaction_id | ||
| bool broadcast | ||
| bool ignored | ||
| bool complete | ||
| } | msg | |
| nmbs_callbacks | callbacks | |
| int32_t | byte_timeout_ms | |
| int32_t | read_timeout_ms | |
| nmbs_platform_conf | platform | |
| uint8_t | address_rtu | |
| uint8_t | dest_address_rtu | |
| uint16_t | current_tid | |
nanoMODBUS client/server instance type. All struct members are to be considered private, it is not advisable to read/write them directly.