aquostv

package module
v0.0.0-...-f6ec48d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2015 License: MIT Imports: 6 Imported by: 0

README

aquostv

GoDoc

Go Library for SHARP AQUOS TV

Installation

go get github.com/tknhs/aquostv

Usage

See example

Verification Model Number

[Status] LC-20E5 / LC-16E5

License

This library is licensed under the MIT license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AQUOS_AUDIO_SWITCHING

type AQUOS_AUDIO_SWITCHING struct {
	COMMAND string
	TOGGLE  string
}

type AQUOS_AV_POSITION

type AQUOS_AV_POSITION struct {
	COMMAND       string
	STATUS        string
	TOGGLE        string
	NORMAL        string
	MOVIE         string
	GAME          string
	AV_MEMORY     string
	DYNAMIC_FIXED string
	DYNAMIC       string
	PC            string
}

type AQUOS_INPUT_SELECTION

type AQUOS_INPUT_SELECTION struct {
	INP3 *INPUT_SELECTION_3
	INP4 *INPUT_SELECTION_4
}

type AQUOS_MUTE

type AQUOS_MUTE struct {
	COMMAND string
	STATUS  string
	TOGGLE  string
	MUTE    string
	UNMUTE  string
}

type AQUOS_OFF_TIMER

type AQUOS_OFF_TIMER struct {
	COMMAND   string
	STATUS    string
	TIMER_OFF string
	TIMER_30  string
	TIMER_60  string
	TIMER_90  string
	TIMER_120 string
	TIMER_150 string
}

type AQUOS_POWER

type AQUOS_POWER struct {
	COMMAND string
	STATUS  string
	OFF     string
	ON      string
}

type AQUOS_SCREEN_SIZE

type AQUOS_SCREEN_SIZE struct {
	COMMAND    string
	STATUS     string
	TOGGLE     string
	NORMAL     string
	SMART_ZOOM string
	WIDE       string
	CINEMA     string
	FULL       string
	FULL_1     string
	FULL_2     string
	UNDER_SCAN string
	DOT_BY_DOT string
}

type AQUOS_SURROUND

type AQUOS_SURROUND struct {
	COMMAND string
	STATUS  string
	TOGGLE  string
	ON      string
	OFF     string
}

type AQUOS_VOLUME

type AQUOS_VOLUME struct {
	COMMAND   string
	STATUS    string
	VOLUME_00 string
	VOLUME_01 string
	VOLUME_02 string
	VOLUME_03 string
	VOLUME_04 string
	VOLUME_05 string
	VOLUME_06 string
	VOLUME_07 string
	VOLUME_08 string
	VOLUME_09 string
	VOLUME_10 string
	VOLUME_11 string
	VOLUME_12 string
	VOLUME_13 string
	VOLUME_14 string
	VOLUME_15 string
	VOLUME_16 string
	VOLUME_17 string
	VOLUME_18 string
	VOLUME_19 string
	VOLUME_20 string
	VOLUME_21 string
	VOLUME_22 string
	VOLUME_23 string
	VOLUME_24 string
	VOLUME_25 string
	VOLUME_26 string
	VOLUME_27 string
	VOLUME_28 string
	VOLUME_29 string
	VOLUME_30 string
	VOLUME_31 string
	VOLUME_32 string
	VOLUME_33 string
	VOLUME_34 string
	VOLUME_35 string
	VOLUME_36 string
	VOLUME_37 string
	VOLUME_38 string
	VOLUME_39 string
	VOLUME_40 string
	VOLUME_41 string
	VOLUME_42 string
	VOLUME_43 string
	VOLUME_44 string
	VOLUME_45 string
	VOLUME_46 string
	VOLUME_47 string
	VOLUME_48 string
	VOLUME_49 string
	VOLUME_50 string
	VOLUME_51 string
	VOLUME_52 string
	VOLUME_53 string
	VOLUME_54 string
	VOLUME_55 string
	VOLUME_56 string
	VOLUME_57 string
	VOLUME_58 string
	VOLUME_59 string
	VOLUME_60 string
}

type INPUT_SELECTION_3

type INPUT_SELECTION_3 struct {
	COMMAND        string
	STATUS         string
	AUTO           string
	D_TERMINAL     string
	VIDEO_TERMINAL string
}

type INPUT_SELECTION_4

type INPUT_SELECTION_4 struct {
	COMMAND        string
	STATUS         string
	AUTO           string
	S_TERMINAL     string
	VIDEO_TERMINAL string
}

type INPUT_SWITCHING_BROADCAST_SWITCHING

type INPUT_SWITCHING_BROADCAST_SWITCHING struct {
	COMMAND string
	TOGGLE  string
}

type INPUT_SWITCHING_INPUT

type INPUT_SWITCHING_INPUT struct {
	COMMAND string
	STATUS  string
	INPUT_1 string
	INPUT_2 string
	INPUT_3 string
	INPUT_4 string
	INPUT_5 string
}

type INPUT_SWITCHING_TOGGLE

type INPUT_SWITCHING_TOGGLE struct {
	COMMAND string
	TOGGLE  string
}

type INPUT_SWITCHING_TV

type INPUT_SWITCHING_TV struct {
	COMMAND string
	DEFAULT string
}

type TV

type TV struct {
	POWER           *AQUOS_POWER
	INPUT_SWITCHING *AQUOS_INPUT_SWITCHING
	INPUT_SELECTION *AQUOS_INPUT_SELECTION
	AV_POSITION     *AQUOS_AV_POSITION
	VOLUME          *AQUOS_VOLUME
	SCREEN_SIZE     *AQUOS_SCREEN_SIZE
	MUTE            *AQUOS_MUTE
	SURROUND        *AQUOS_SURROUND
	AUDIO_SWITCHING *AQUOS_AUDIO_SWITCHING
	OFF_TIMER       *AQUOS_OFF_TIMER
	// contains filtered or unexported fields
}

func New

func New(name string) (*TV, error)

func (*TV) Close

func (tv *TV) Close() error

func (*TV) SendCommand

func (tv *TV) SendCommand(aPart, bPart string) (string, string, error)

Directories

Path Synopsis
example
audioswitching command
avposition command
inputselection command
inputswitching command
mute command
offtimer command
power command
screensize command
surround command
volume command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL