|
Agile Modbus 1.1.4
Lightweight modbus protocol stack.
|

Functions | |
| int | agile_modbus_compute_response_length_from_request (agile_modbus_t *ctx, uint8_t *req) |
| Calculate the expected response data length. | |
| int | agile_modbus_serialize_raw_request (agile_modbus_t *ctx, const uint8_t *raw_req, int raw_req_length) |
| Pack the original data into a request message. | |
| int | agile_modbus_deserialize_raw_response (agile_modbus_t *ctx, int msg_length) |
| parses the original response data | |
| int agile_modbus_compute_response_length_from_request | ( | agile_modbus_t * | ctx, |
| uint8_t * | req | ||
| ) |
Calculate the expected response data length.
| ctx | modbus handle |
| req | request data pointer |
Definition at line 984 of file agile_modbus.c.

| int agile_modbus_serialize_raw_request | ( | agile_modbus_t * | ctx, |
| const uint8_t * | raw_req, | ||
| int | raw_req_length | ||
| ) |
Pack the original data into a request message.
| ctx | modbus handle |
| raw_req | original message (PDU + Slave address) |
| raw_req_length | original message length |
Definition at line 1031 of file agile_modbus.c.
| int agile_modbus_deserialize_raw_response | ( | agile_modbus_t * | ctx, |
| int | msg_length | ||
| ) |
parses the original response data
| ctx | modbus handle |
| msg_length | received data length |
-128 -$return value) Definition at line 1073 of file agile_modbus.c.
