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

Agile Modbus package TCP header file. More...

#include <stdint.h>
Include dependency graph for agile_modbus_tcp.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_tcp
 TCP structure. More...
 

Macros

#define AGILE_MODBUS_TCP_HEADER_LENGTH   7
 
#define AGILE_MODBUS_TCP_PRESET_REQ_LENGTH   12
 
#define AGILE_MODBUS_TCP_PRESET_RSP_LENGTH   8
 
#define AGILE_MODBUS_TCP_CHECKSUM_LENGTH   0
 
#define AGILE_MODBUS_TCP_MAX_ADU_LENGTH   260
 

Typedefs

typedef struct agile_modbus_tcp agile_modbus_tcp_t
 TCP structure. More...
 

Functions

int agile_modbus_tcp_init (agile_modbus_tcp_t *ctx, uint8_t *send_buf, int send_bufsz, uint8_t *read_buf, int read_bufsz)
 TCP initialization. More...
 

Detailed Description

Agile Modbus package TCP 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_tcp.h.