Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Frame struct used internally and for raw ADU support. More...
#include <modbus.h>
Data Fields | |
uint16_t | trans_id |
Transaction Identifier. | |
uint16_t | proto_id |
Protocol Identifier. | |
uint16_t | length |
Length of the data only (not the length of unit ID + PDU) | |
uint8_t | unit_id |
Unit Identifier. | |
uint8_t | fc |
Function Code. | |
uint8_t | data [CONFIG_MODBUS_BUFFER_SIZE - 4] |
Transaction Data. | |
uint16_t | crc |
RTU CRC. | |
Frame struct used internally and for raw ADU support.
uint16_t modbus_adu::crc |
RTU CRC.
uint8_t modbus_adu::data[CONFIG_MODBUS_BUFFER_SIZE - 4] |
Transaction Data.
uint8_t modbus_adu::fc |
Function Code.
uint16_t modbus_adu::length |
Length of the data only (not the length of unit ID + PDU)
uint16_t modbus_adu::proto_id |
Protocol Identifier.
uint16_t modbus_adu::trans_id |
Transaction Identifier.
uint8_t modbus_adu::unit_id |
Unit Identifier.