modbus_receive_confirmation man page

modbus_receive_confirmation — receive a confirmation request

Synopsis

int modbus_receive_confirmation(modbus_t *ctx, uint8_t *rsp);

Description

The modbus_receive_confirmation() function shall receive a request via the socket of the context ctx. This function must be used for debugging purposes because the received response isn’t checked against the initial request. This function can be used to receive request not handled by the library.

Return Value

The modbus_receive_confirmation() function shall store the confirmation request in rsp and return the response length if sucessful. Otherwise it shall return -1 and set errno.

See Also

modbus_send_raw_request(3)

Authors

The libmodbus documentation was written by Stéphane Raimbault <stephane.raimbault@gmail.com[1]>

Notes

1.

stephane.raimbault@gmail.com

mailto:stephane.raimbault@gmail.com

Referenced By

libmodbus(7), modbus_send_raw_request(3).

04/02/2014 libmodbus 3.0.6 Libmodbus Manual