07.01.2017, 09:21
Hi,
There are various examples provided that show we can read from an 3rd tcp device or write to a tcp device. I haven't seen a clear example of two way communication with a device. Take the Denon receiver as an example, http://openrb.com/example-use-lm2-as-tcp...e-theater/
Its clear how this resident script uses an single TCP connection to update an object that shows which Source is selected or the volume level. The Denon is capable handling a single network connection. Which means its not possible to use an event based script for a object that would be used to set the volume of the denon. Given that we cannot create a new connection to the denon, the resident script should be the one that instructs the denon to change its volume.
Thanks,
Roger
There are various examples provided that show we can read from an 3rd tcp device or write to a tcp device. I haven't seen a clear example of two way communication with a device. Take the Denon receiver as an example, http://openrb.com/example-use-lm2-as-tcp...e-theater/
Its clear how this resident script uses an single TCP connection to update an object that shows which Source is selected or the volume level. The Denon is capable handling a single network connection. Which means its not possible to use an event based script for a object that would be used to set the volume of the denon. Given that we cannot create a new connection to the denon, the resident script should be the one that instructs the denon to change its volume.
Thanks,
Roger