项目

一般

简介

维帝精密空调协议测试.txt

黄 正梁, 2023-03-07 18:40

 
1
login as: root
2
root@192.168.16.7's password:
3
[root@M28x ~]# cd /NandFlash
4
[root@M28x NandFlash]# top
5
Mem: 36496K used, 87964K free, 0K shrd, 0K buff, 21624K cached
6
CPU:   0% usr  16% sys   0% nic  83% idle   0% io   0% irq   0% sirq
7
Load average: 2.04 2.45 2.74 1/57 11683
8
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
9
11683 11667 root     R     2268   2%  17% top
10
 1276  1275 root     S    15384  12%   0% ./goahead --log /opt/log.txt:2 /NandFl
11
 1328     1 root     S    14464  12%   0% ./omTray
12
11641 11440 root     S     6668   5%   0% sshd: root@pts/0
13
  435     1 root     S     5032   4%   0% ./omAppPost
14
11440     1 root     S     4056   3%   0% /usr/sbin/sshd
15
11667 11641 root     S     2712   2%   0% -sh
16
 1205     1 dbus     S     2336   2%   0% dbus-daemon --system
17
 1353     1 root     S     2272   2%   0% /sbin/getty -L ttyAM0 115200 vt100
18
    1     0 root     S     2268   2%   0% init
19
 1356     1 root     S     2268   2%   0% /usr/bin/tail -f /var/log/messages
20
 1355     1 root     S     2268   2%   0% /sbin/klogd -n
21
 1354     1 root     S     2268   2%   0% /sbin/syslogd -n -m 0
22
11431     1 root     S     2268   2%   0% /usr/sbin/telnetd -l /bin/login
23
 1181     1 root     S <   1764   1%   0% /sbin/udevd -d
24
 1194     1 daemon   S     1620   1%   0% portmap
25
 1275     1 root     S     1548   1%   0% wr ./goahead --log /opt/log.txt:2 /Nan
26
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
27
    4     2 root     SW       0   0%   0% [events/0]
28
 1187     2 root     SW       0   0%   0% [ubi_bgt1d]
29
[root@M28x NandFlash]# ls
30
SM/               libomalm.so*      omApp.ini         omOneNetPost*
31
bak/              libomdb.so*       omAppPost*        omOneNetPost.ini*
32
dbCfg.db3         libomdev.so*      omAppPost.ini*    omTray*
33
dbData.db3        libomser-bak.so*  omAppSU*          omTray.ini*
34
dbLog.db3*        libomser.so*      omAppSU.ini*      sscomx*
35
dbUpd.ini*        libomsm.so*       omDemo1*          tmp/
36
hwtest*           libomsuw.so*      omMonitor.ini*    www/
37
[root@M28x NandFlash]# ./sscomx
38
Input the com prot: ttySP3
39
baudrate: 115200
40
Parity(n\o\e): n
41
DataBit(5\6\7\8): 8
42
StopBit(1\2): 1
43
data types:
44
   1. hex
45
   2. ascii
46
select data type: 1
47
select com prot: /dev/ttySP3, 115200, n, 8, 1 for hex
48
send: 01 04 00 09 00 02 A1 C9
49
no data receive!
50
send: 01 04 00 09 00 02 A1 C9
51
no data receive!
52
send: ^C
53
[root@M28x NandFlash]# ^C
54
[root@M28x NandFlash]# ^C
55
[root@M28x NandFlash]# ./sscomx
56
Input the com prot: ttySP3
57
baudrate: 19200
58
Parity(n\o\e): n
59
DataBit(5\6\7\8): 8
60
StopBit(1\2): 1
61
data types:
62
   1. hex
63
   2. ascii
64
select data type: 1
65
select com prot: /dev/ttySP3, 19200, n, 8, 1 for hex
66
send: 01 04 00 09 00 02 A1 C9
67
no data receive!
68
send: 01 04 00 09 00 02 A1 C9
69
no data receive!
70
send: 01 04 00 09 00 02 A1 C9
71
no data receive!
72
send: ^C
73
[root@M28x NandFlash]# ./sscomx
74
Input the com prot: ttySP4
75
baudrate: 19200
76
Parity(n\o\e): n
77
DataBit(5\6\7\8): 8
78
StopBit(1\2): 1
79
data types:
80
   1. hex
81
   2. ascii
82
select data type: 1
83
select com prot: /dev/ttySP4, 19200, n, 8, 1 for hex
84
send: 01 04 00 09 00 02 A1 C9
85
no data receive!
86
send: 01 04 00 09 00 02 A1 C9
87
no data receive!
88
send: ^C
89
[root@M28x NandFlash]# ./sscomx
90
Input the com prot: ttySP3
91
baudrate: 19200
92
Parity(n\o\e): n
93
DataBit(5\6\7\8): 8
94
StopBit(1\2): 1
95
data types:
96
   1. hex
97
   2. ascii
98
select data type: 1
99
select com prot: /dev/ttySP3, 19200, n, 8, 1 for hex
100
send: 01 04 00 09 00 02 A1 C9
101
no data receive!
102
send: 01 04 00 09 00 02 A1 C9
103
no data receive!
104
send: 01 43 00 09 00 02 15 C6
105
rece: 01 43 04 00 C8 00 DE F5 55
106
send: 01 43 02 79 00 01 55 A4
107
rece: 01 C3 02 F1 31
108
send: 01 42 02 79 00 01 68 64
109
rece: 01 C2 03 31 61
110
send: 01 44 02 79 00 01 E0 64
111
rece: 01 C4 03 32 C1
112
send: 01 44 00 75 00 01 21 DF
113
rece: 01 C4 03 32 C1
114
send: 01 44 00 6E 00 01 51 D8
115
rece: 01 C4 03 32 C1
116
send: 01 43 00 6E 00 01 E4 18
117
rece: 01 43 02 00 00 AD 84
118
send: 01 43 00 1F 00 01 B4 03
119
rece: 01 43 02 00 01 6C 44
120
send: 01 43 00 11 00 02 95 C1
121
rece: 01 43 04 00 D3 7F FF 65 7A
122
send: