Valerio De Benedetto

Results 43 comments of Valerio De Benedetto

Yes, it is compliant with the `Modbus Application Protocol v1.1a`. Like any other library in the wild, it implements only a part of the specified function codes, though I think...

Yes, i think that preventing an (unlikely) implicit conversion is a good idea. However, clamping it to 0 will basically give the same result: the value will be altered unbeknownst...

I think returning an `NMBS_ERROR_INVALID_ARGUMENT` could suffice, since you should check the return value anyway to be sure that the exception was actually sent.