class Samsung::Displays::MDCProtocol

Included Modules

Defined in:

samsung/displays/mdc_protocol.cr

Constant Summary

DEVICE_SETTINGS = {network_standby: Bool, auto_off_timer: Bool, auto_power: Bool, volume: Num, contrast: Num, brightness: Num, sharpness: Num, colour: Num, tint: Num, red_gain: Num, green_gain: Num, blue_gain: Num}
INDICATOR = 170_u8

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def auto_off_timer(value : Bool, **options) #

[View source]
def auto_power(value : Bool, **options) #

[View source]
def blue_gain(value : Num, **options) #

[View source]
def brightness(value : Num, **options) #

[View source]
def colour(value : Num, **options) #

[View source]
def connected #

[View source]
def contrast(value : Num, **options) #

[View source]
def disconnected #

[View source]
def do_device_config #

[View source]
def do_poll #

[View source]
def green_gain(value : Num, **options) #

[View source]
def hard_off #

[View source]
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo) #

Mutes both audio/video


[View source]
def mute_audio(state : Bool = true) #

Emulate audio mute


[View source]
def mute_video(state : Bool = true) #

Adds video mute state compatible with projectors


[View source]
def network_standby(value : Bool, **options) #

[View source]
def on_load #

[View source]
def on_update #

[View source]
def power(state : Bool) #

As true power off disconnects the server we only want to power off the panel


[View source]
def power?(**options) : Bool #

[View source]
def received(data, task) #

[View source]
def red_gain(value : Num, **options) #

[View source]
def serial_number #

[View source]
def sharpness(value : Num, **options) #

[View source]
def software_version #

check software version


[View source]
def speaker_select(mode : SpeakerMode, **options) #

[View source]
def switch_to(input : Input, **options) #

[View source]
def tint(value : Num, **options) #

[View source]
def volume(value : Num, **options) #

[View source]
def volume_down #

[View source]
def volume_up #

[View source]