forked from vokkim/sony-sdcp-com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.js
44 lines (39 loc) · 787 Bytes
/
commands.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
Commands acquired from Sony video projector PROTOCOL MANUAL 1st Edition.
(Shady PDF from: https://www.digis.ru/upload/iblock/f5a/VPL-VW320,%20VW520_ProtocolManual.pdf )
*/
const actions = {
GET: '01',
SET: '00'
}
const commands = {
SET_POWER: '0130',
CALIBRATION_PRESET: '0002',
ASPECT_RATIO: '0020',
INPUT: '0001',
GET_STATUS_ERROR: '0101',
GET_STATUS_POWER: '0102',
GET_STATUS_LAMP_TIMER: '0113'
}
const aspectRatio = {
NORMAL: '0001',
V_STRETCH: '000B',
ZOOM_1_85: '000C',
ZOOM_2_35: '000D',
STRETCH: '000E',
SQUEEZE: '000F'
}
const powerStatus = {
STANDBY: '0000',
START_UP: '0001',
START_UP_LAMP: '0002',
POWER_ON: '0003',
COOLING: '0004',
COOLING2: '0005'
}
module.exports = {
commands,
actions,
aspectRatio,
powerStatus
}