node-modbus-serial icon indicating copy to clipboard operation
node-modbus-serial copied to clipboard

ServerTCP doesn't return Illegal function exception if the getXXX/setXXX function is not defined in the vector of server functions

Open jla opened this issue 3 years ago • 0 comments

Hi,

If for example, the getCoil function is not defined in the server vector, the read coil requests from a client are just ignored.

I'm not sure if this is by design or it should return an Illegal function exception by default.

Thanks for this wonderful module.

jla avatar Mar 25 '22 12:03 jla