Agile Modbus  1.1.4
Lightweight modbus protocol stack.
agile_modbus_rtu.h File Reference

Agile Modbus package RTU header file. More...

#include <stdint.h>
Include dependency graph for agile_modbus_rtu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  agile_modbus_rtu
 RTU structure. More...
 

Macros

#define AGILE_MODBUS_RTU_HEADER_LENGTH   1
 
#define AGILE_MODBUS_RTU_PRESET_REQ_LENGTH   6
 
#define AGILE_MODBUS_RTU_PRESET_RSP_LENGTH   2
 
#define AGILE_MODBUS_RTU_CHECKSUM_LENGTH   2
 
#define AGILE_MODBUS_RTU_MAX_ADU_LENGTH   256
 

Typedefs

typedef struct agile_modbus_rtu agile_modbus_rtu_t
 RTU structure. More...
 

Functions

int agile_modbus_rtu_init (agile_modbus_rtu_t *ctx, uint8_t *send_buf, int send_bufsz, uint8_t *read_buf, int read_bufsz)
 RTU initialization. More...
 

Detailed Description

Agile Modbus package RTU header file.

Author
Ma Longwei (25440.nosp@m.4721.nosp@m.3@qq..nosp@m.com)
Date
2021-12-02
Attention

© Copyright (c) 2021 Ma Longwei. All rights reserved.

Definition in file agile_modbus_rtu.h.