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
Use/handle interfaces as "raw stream" to the underlaying device.
But to be able to (un-)wrap command payloads, like creating modbus requests/response, remove the adapter stack from interface stuff, and implement methods to set/unset adapter stacks.
Pseudo code:
constModbus=require("../adapter/modbus.js");constiface="bla bla bla";conststream=iface.adapter([Modbus.FNC_6,]);
Or completly remove it and let the plugin author/device integrator deal with it?