forked from andresarmento/modbus-esp8266
-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Labels
Description
Is it possible to improve callback?
instead of
bool cbf0(Modbus::ResultCode event, uint16_t transactionId, void* data)
to
bool cbfx(Modbus::ResultCode event, uint16_t transactionId, void* data, int idSlave)
in case of multiples slaves inside the call back would be there the idSlave and would make it easier to work on the errors.
the transationid is just that...