1
|
[root@OM-A8-L200:NandFlash]# ./sscomx
|
2
|
Input the com prot: RS485-8
|
3
|
baudrate: 9600
|
4
|
Parity(n\o\e): n
|
5
|
DataBit(5\6\7\8): 8
|
6
|
StopBit(1\2): 1
|
7
|
data types:
|
8
|
1. hex
|
9
|
2. ascii
|
10
|
select data type: 1
|
11
|
select com prot: /dev/RS485-8, 9600, n, 8, 1 for hex
|
12
|
send: 01 03 00 00 00 1E C5 C2
|
13
|
rece: 01 03 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7F FF EA 60 00 00 00 61 7F FF EA 60 00 00 00 7D 00 00 00 00 00 00 00 00 00 64 4A CC
|
14
|
send: 01 03 00 00 00 1E C5 C2
|
15
|
rece: 01 03 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E6 00 E5 00 E5 01 8E 01 8D 01 8E 01 FA 00 00 00 00 00 00 7F FF EA 60 01 88 03 4E 7F FF EA 60 05 F2 00 8C 00 8E 00 00 00 00 00 00 00 64 04 C8
|
16
|
send: 01 03 00 00 00 1E C5 C2
|
17
|
rece: 01 03 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E6 00 E6 00 E5 01 8E 01 8E 01 8E 02 00 00 00 00 00 00 00 7F FF EA 60 01 9B 03 6B 7F FF EA 60 05 FC 00 8C 00 8E 00 00 00 00 00 00 00 64 ED 8F
|
18
|
send:
|