68
3. Application layer
The application layer designates the command structure and contents.
3.1 Command data format
4
th
5th
6th
7th
8th
9th
10th
11th
…
Command
group
Operated
#0
Operated
#1
Operated
#2
Operated
#3
Operated
#4
Operated
#5
Operated
#6
…
1) The command group
03h(base 16) = SE800 control command
2) The operated refer to section 4.
3.2 Return data format
4
th
5th
6th
7
th
8th
9th
10th
11th
…
Command
status
parameter
#0
parameter
#1
parameter
#2
parameter
#3
parameter
#4
parameter
#5
parameter
#6
…
1) The command status
03h=SE800 control command status
2) The parameter refers to section 6.
4. The operated of SE800 control command
5th
6th
7th
8th
9th
10th
11th
Operated
#0
Operated
#1
Operated
#2
Operated
#3
Operated
#4
Operated
#5
Operated
#6
Key
code
T-bar
low
T-bar
high
X_low
X_high
Y_low
Y_high
4.1. OP#0 = control key code.( refer to section 5)
4.2. OP#1 and OP#2 = T-BAR control value
The T-bar control value is 10 bits and 1 enable bit.
The bit7 of OP#1 = T-bar control enable bit
The bit4 to bit 0 of OP#1 = the low 5 bits of the T-bar control value.
The bit4 to bit 0 of OP#2 = the high5 bits of the T-bar control value.
4.3. OP#3 to OP#6 = joy-stick control value
The joy-stick control value is 1 enable bit ,10 bits of X value and 10 bits Y value.
The bit7 of OP#3 = joy-stick control enable bit.
The bit4 to bit 0 of OP#3 = the low 5 bits of the joy-stick’s X control value.
The bit4 to bit 0 of OP#4 = the high5 bits of the joy-stick’s X control value.
The bit4 to bit 0 of OP#5 = the low 5 bits of the joy-stick’s Y control value.
The bit4 to bit 0 of OP#6 = the high5 bits of the joy-stick’s Y control value.