Skip to content

Callback #371

Open
Open
@hugoinfante83

Description

@hugoinfante83

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...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions