When the protocol is the same and only the medium (and the setup of that medium) changes, typically a single driver is used for both and it creates a socket or serial port as required, and there are just two manifest files that have setup for the different connection schemes (which causes that setup method to be called on the driver which tells it which type of connection to create.) The built in message reading methods in the driver base class can work in terms of either a serial port or a socket, or otherwise you just do an if socket do this, else do that.
If the protocol is different it would get somewhat messier and have more if this/that stuff.
(05-20-2020, 07:40 PM)Dean Roddey Wrote: When the protocol is the same and only the medium (and the setup of that medium) changes, typically a single driver is used for both and it creates a socket or serial port as required, and there are just two manifest files that have setup for the different connection schemes (which causes that setup method to be called on the driver which tells it which type of connection to create.) The built in message reading methods in the driver base class can work in terms of either a serial port or a socket, or otherwise you just do an if socket do this, else do that.
If the protocol is different it would get somewhat messier and have more if this/that stuff.
Dean,
I reached out to Russound today and they confirm the RNET protocol is implemented on the MCA series but only on the RS232 port. This means that my initial plan will not work. My backup plan is to try to add a RS232 to IP converter to the MCA-66. Then will create a virtual com port on the CQC Server and use the regular serial driver. In theory it should work.
I guess that this closes this thread of writing a new driver for the new Russound MCA series. But it would be nice to have a RIO driver for the new Russound devices on TCP/IP.
05-24-2020, 06:23 AM (This post was last modified: 05-24-2020, 06:23 AM by gReatAutomation.)
Check out Global Cache for RS232 control. The devices are rock solid.
Depending on your needs you could go with the iTach or GC-100. The nice thing about the iTach series is that they have a Wifi to Serial model for those installs where having a network cable is not possible.