Agile Modbus  1.1.4
Lightweight modbus protocol stack.
RTU Exported Functions
Collaboration diagram for RTU Exported Functions:

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

Function Documentation

◆ agile_modbus_rtu_init()

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.

Parameters
ctxRTU handle
send_bufsend buffer
send_bufszsend buffer size
read_bufreceive buffer
read_bufszreceive buffer size
Returns
0: success

Definition at line 282 of file agile_modbus_rtu.c.

Here is the call graph for this function: