You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
other: reportSlaveId: allow slaves to provide custom responses
At present, function code 17, "Report Slave ID" is hardcoded to reply
with a string joined form of the "device identification" fields from
function code 43, subcode 14 (0x2b, 0x0e)
There's nothing that actually implies these should be related. This
change allows slave contexts to provide custom data to return via the
ModbusServerContext property reportSlaveIdData
If this is not provided, the existing fallback to the device
identification fields is used.
Signed-off-by: Karl Palsson <karlp@etactica.com>
0 commit comments