-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeer.proto
65 lines (55 loc) · 1.18 KB
/
meer.proto
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Terminator = CR;
# General Get/Set
sendCommand {
out "#\$1%(SEQ)04X\$2%0<xmodem>";
in "!\$1%(SEQ)=04X\?\?\?\?";
}
setSpeed {
out "#\$1%(SEQ)04X\$2%08X%0<xmodem>";
in "!\$1%(SEQ)=04X\?\?\?\?";
}
getFirmwareID {
out "#\$1%(SEQ)04X\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%20c\?\?\?\?";
@init {
out "#\$1%(SEQ)04X\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%20c\?\?\?\?";
}
}
# Parameter Get/Set
getStringParam {
out "#\$1%(SEQ)04X?VR\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%20c\?\?\?\?";
@init {
out "#\$1%(SEQ)04X?VR\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%20c\?\?\?\?";
}
}
setStringParam {
out "#\$1%(SEQ)04X\$2%s%0<xmodem>";
in "!\$1%(SEQ)=04X\?\?\?\?";
}
getIntParam {
out "#\$1%(SEQ)04X?VR\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%08X%0<xmodem>";
@init {
out "#\$1%(SEQ)04X?VR\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%08X%0<xmodem>";
}
}
setIntParam {
out "#\$1%(SEQ)04XVS\$2%08X%0<xmodem>";
in "!\$1%(SEQ)=04X\?\?\?\?";
}
getFloatParam {
out "#\$1%(SEQ)04X?VR\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%08X%0<xmodem>";
@init {
out "#\$1%(SEQ)04X?VR\$2%0<xmodem>";
in "!\$1%(SEQ)=04X%08X%0<xmodem>";
}
}
setFloatParam {
out "#\$1%(SEQ)04XVS\$2%08X%0<xmodem>";
in "!\$1%(SEQ)=04X\?\?\?\?";
}