modbus_receive_confirmation.txt 925 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. modbus_receive_confirmation(3)
  2. ==============================
  3. NAME
  4. ----
  5. modbus_receive_confirmation - receive a confirmation request
  6. SYNOPSIS
  7. --------
  8. *int modbus_receive_confirmation(modbus_t *'ctx', uint8_t *'rsp');*
  9. DESCRIPTION
  10. -----------
  11. The _modbus_receive_confirmation()_ function shall receive a request via the
  12. socket of the context 'ctx'. This function must be used for debugging purposes
  13. because the received response isn't checked against the initial request. This
  14. function can be used to receive request not handled by the library.
  15. RETURN VALUE
  16. ------------
  17. The _modbus_receive_confirmation()_ function shall store the confirmation
  18. request in 'rsp' and return the response length if sucessful. Otherwise it shall
  19. return -1 and set errno.
  20. SEE ALSO
  21. --------
  22. linkmb:modbus_send_raw_request[3]
  23. AUTHORS
  24. -------
  25. The libmodbus documentation was written by Stéphane Raimbault
  26. <stephane.raimbault@gmail.com>