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\(cqt 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.

RELATED TO modbus_receive_confirmation…

AUTHORS

The libmodbus documentation was written by St\('ephane Raimbault <\m[blue][email protected]\m[]\s-2\u[1]\d\s+2>

NOTES