79258954

Date: 2024-12-06 18:15:33
Score: 3
Natty:
Report link

libmodbus does handle the reconnecting internally, see

https://libmodbus.org/reference/modbus_set_error_recovery/

Also each libmodbus function will return an error (if so) and set "errno" so can fetch the error from there using "modbus_strerror(errno);"

cheers!

Reasons:
  • Blacklisted phrase (1): cheers
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ERic