diff --git a/src/SonyBraviaConfig.cs b/src/SonyBraviaConfig.cs index 1d9889e..94d58bb 100644 --- a/src/SonyBraviaConfig.cs +++ b/src/SonyBraviaConfig.cs @@ -10,5 +10,6 @@ public class SonyBraviaConfig public long? WarmingTimeMs { get; set; } public long? CoolingTimeMs { get; set; } + public bool ForceRs232 { get; set; } } } \ No newline at end of file diff --git a/src/SonyBraviaDevice.cs b/src/SonyBraviaDevice.cs index a04329d..549ab41 100644 --- a/src/SonyBraviaDevice.cs +++ b/src/SonyBraviaDevice.cs @@ -63,7 +63,7 @@ public SonyBraviaDevice(DeviceConfig config, IBasicCommunication comms) _coms = comms; var socket = _coms as ISocketStatus; - _comsIsRs232 = socket == null; + _comsIsRs232 = socket == null || props.ForceRs232; if (_comsIsRs232) { _queueRs232 = new CrestronQueue(50);