The Generic Serial Driver is intended for end users to have the ability to control simple serial (RS232) devices.
It is for one direction control (no feedback). If a two way driver is needed, Allonis can be retained to develop that as a full driver for you.
ASCII and HEX commands are supported.
The primary command is "SEND".
Each Device requires one Device license unit to enable it.
The gets imported in Dashboard / Management / Generic Serial. Put the file in the myServer/data folder. Then from dashboard ImportSerialModel|JVC-Projector.serial
genericserial database management like IR management is done in dashboard. The genericserial driver like the globalcache driver gets its serial commands from the stored database
IP serial devices are commonly on telnet port 23. You should consult the protocol documentation for specifics for your device.
Prefix is the string that is used to start the command. Optional.
Suffix is the string that is used to end the command. Optional.
Terminator is the string termination character. Optional but usually \r or \n.
Mode tells the system if the devices talks plain text (Ascii) or binary (Hex).
Each device can support an unlimited set of commands.
Generic serial won't support a rest api.
Use the myServer GetUrl|<<any url>> like GetUrl|http://192.168.20.57:9529/ZidooControlCenter/RemoteControl/sendkey?key=Key.Right
You could create a macro called "SoundBar"
The macro would look like:
Then from the designer buttons you can call the macro with the button press using a server command like
Macros accept parameters and the <p1> reference means replace the first parameter passed here.
Parameters are referenced in numerical order <p1>,<p2>,<pN>