项目

一般

简介

sscom.txt

UPS的主机sscomx测试 - 陆 志毅, 2024-10-09 14:47

 
1
login as: root
2
root@192.168.0.16's password:
3
[root@iSmartSite:~]# cd /NandFlash
4
[root@iSmartSite:NandFlash]# ls
5
SM/                      libomdev.so*             omOneNetPost*
6
SerialPortQuickDef.ini   libomser-quick.so*       omOneNetPost.ini
7
bak/                     libomser.so*             omTray*
8
dbCfg.db3*               libomserd.so*            omTray.ini
9
dbData.db3               libomsm.so*              omapp.conf
10
dbLog.db3                libomsuw.so*             readme.txt
11
device.id*               omApp.ini                sscomx*
12
hwtest*                  omAppPost*               test/
13
hwtestC0.ini*            omAppPost.ini            tmp/
14
hwtestEx*                omAppSU*                 update_dbcfg_quick.sh
15
hwtestEx.ini*            omAppSU.ini*             update_dbcfg_xxx_bak.sh*
16
libomalm.so              omDemo1*                 www/
17
libomdb.so*              omMonitor.ini
18
[root@iSmartSite:NandFlash]# ./sscomx
19
Input the com prot: RS232-2
20
baudrate: 2400
21
Parity(n\o\e): n
22
DataBit(5\6\7\8): 8
23
StopBit(1\2): 1
24
data types:
25
   1. hex
26
   2. ascii
27
select data type: 1
28
select com prot: /dev/RS232-2, 2400, n, 8, 1 for hex
29
send: 4F23
30
no data receive!
31
send: ^C
32
[root@iSmartSite:NandFlash]# ./sscomx
33
Input the com prot: RS232-2
34
baudrate: 2400
35
Parity(n\o\e): n
36
DataBit(5\6\7\8): 8
37
StopBit(1\2): 1
38
data types:
39
   1. hex
40
   2. ascii
41
select data type: 2
42
select com prot: /dev/RS232-2, 2400, n, 8, 1 for ascii
43
send: ^P700QGS1
44
no data receive!
45
send: ^P700QGS1
46
rece: ^D006NAK▒▒
47
send: ^P700QGS1
48
no data receive!
49
send: ^P700QGS1
50
^D006NAK▒▒6NAK▒▒
51
send: ^P700QGS1
52
no data receive!
53
send: O#
54
^D006NAK▒▒6NAK▒▒
55
send: O#
56
no data receive!
57
send: O#
58
^D006NAK▒▒6NAK▒▒
59
send: ^C
60
[root@iSmartSite:NandFlash]# ^C
61
[root@iSmartSite:NandFlash]# ./sscomx
62
Input the com prot: RS232-2
63
baudrate: 2400
64
Parity(n\o\e): n
65
DataBit(5\6\7\8): 8
66
StopBit(1\2): 1
67
data types:
68
   1. hex
69
   2. ascii
70
select data type: 1
71
select com prot: /dev/RS232-2, 2400, n, 8, 1 for hex
72
send: 4F23
73
no data receive!
74
send: 4F23
75
no data receive!
76
send: 4F23
77
no data receive!
78
send: 4F23
79
no data receive!
80
send: 4F23
81
no data receive!
82
send: 4F23
83
no data receive!
84
send: 5E 50 30 30 37 51 47 53 31 4F 23
85
no data receive!
86
send: 5E 50 30 30 37 51 47 53 31 4F 23
87
no data receive!
88
send: 5E 50 30 30 37 51 47 53 31 4F 23
89
no data receive!
90
send: 5E 50 30 30 37 51 47 53 31 4F 23
91
no data receive!
92
send: 5E 50 30 30 37 51 47 53 31 4F 23
93
no data receive!
94
send: 5E 50 30 30 37 51 47 53 31 4F 23
95
no data receive!
96
send: 5E 50 30 30 37 51 47 53 31 4F 23
97
no data receive!
98
send: 5E 50 30 30 37 51 47 53 31 4F 23
99
no data receive!
100
send: 5E 50 30 30 37 51 47 53 31 4F 23
101
no data receive!
102
send: 5E 50 30 30 37 51 47 53 31 4F 23
103
no data receive!
104
send: 5E 50 30 30 37 51 47 53 31 4F 23
105
no data receive!
106
send: 5E 50 30 30 37 51 47 53 31 4F 23
107
no data receive!
108
send: 5E 50 30 30 37 51 47 53 31 4F 23
109
no data receive!
110
send: 5E 50 30 30 37 51 47 53 31 4F 23
111
no data receive!
112
send: 5E 50 30 30 37 51 47 53 31 4F 23
113
no data receive!
114
send: 5E 50 30 30 37 51 47 53 31 4F 23
115
no data receive!
116
send: 5E 50 30 30 37 51 47 53 31 4F 23
117
no data receive!
118
send: 5E 50 30 30 37 51 47 53 31 4F 23
119
no data receive!
120
send: 5E 50 30 30 37 51 47 53 31 4F 23
121
no data receive!
122
send: 5E 50 30 30 37 51 47 53 31 4F 23
123
no data receive!
124
send: 5E 50 30 30 37 51 47 53 31 4F 23
125
no data receive!
126
send: 5E 50 30 30 37 51 47 53 31 4F 23
127
no data receive!
128
send: 5E 50 30 30 37 51 47 53 31 4F 23
129
no data receive!
130
send: 5E 50 30 30 37 51 47 53 31 4F 23
131
no data receive!
132
send: 5E 50 30 30 37 51 47 53 31 4F 23
133
no data receive!
134
send: 5E 50 30 30 37 51 47 53 31 4F 23
135
no data receive!
136
send: 5E 50 30 30 37 51 47 53 31 4F 23
137
no data receive!
138
send: 5E 50 30 30 37 51 47 53 31 4F 23
139
no data receive!
140
send: 5E 50 30 30 37 51 47 53 31 4F 23
141
no data receive!
142
send: 5E 50 30 30 37 51 47 53 31 4F 23
143
no data receive!
144
send: ^C
145
[root@iSmartSite:NandFlash]# ./sscomx
146
Input the com prot: RS232-2
147
baudrate: 2400
148
Parity(n\o\e): n
149
DataBit(5\6\7\8): 8
150
StopBit(1\2): 1
151
data types:
152
   1. hex
153
   2. ascii
154
select data type: 2
155
select com prot: /dev/RS232-2, 2400, n, 8, 1 for ascii
156
send: ^P007QGS1O#
157
no data receive!
158
send: ^P007QGS1O#
159
rece: ^D006NAK▒▒
160
send: ^P007QGS1O#
161
rece: ^D130229.9,234.0,232.8,50.0,219.7,219.5,219.6,010.5,011.1,006.3,50.0,219.7,219.5,219.6,50.0,004.3,004.4,000.5,229.8,50.0,233.8,232.8▒
162
send: ^P007QGS1O#
163
rece: ^D130230.0,234.1,233.0,50.0,219.6,219.3,219.6,010.5,011.0,006.3,50.0,219.6,219.3,219.6,50.0,004.3,004.4,000.5,230.3,50.0,234.0,233.1▒▒
164
send: ^P007QGS1O#
165
rece: ^D130229.6,233.7,233.6,49.9,220.1,219.9,220.0,010.5,011.1,006.3,50.0,220.1,219.9,220.0,50.0,004.3,004.5,000.4,229.9,49.9,233.5,233.7▒
166
send: ^P007QGS1O#
167
rece: ^D130229.6,233.7,233.7,50.0,219.8,219.8,219.8,010.5,011.1,006.2,50.0,219.8,219.8,219.8,50.0,004.3,004.4,000.5,229.9,50.0,233.5,233.7=>
168
send: ^P007QGS1O#
169
rece: ^D130229.5,233.7,233.7,49.9,220.2,220.2,220.0,010.4,011.2,006.3,50.0,220.2,220.2,220.0,50.0,004.3,004.6,000.5,229.8,50.0,233.5,234.5׹
170
send: ^P007QGS1O#
171
rece: ^D130229.4,233.8,233.4,50.0,220.8,220.7,220.1,010.5,011.2,006.2,50.0,220.8,220.7,220.1,50.0,004.3,004.5,000.4,229.7,50.0,233.6,233.4#
172
send: ^P007QGS@
173
rece: ^D130229.6,233.7,233.6,49.9,220.0,220.1,220.1,010.5,011.1,006.2,50.0,220.0,220.1,220.1,50.0,004.3,004.5,000.4,229.9,49.9,233.5,233.6▒
174
send: ^P007QGS@
175
rece: ^D006NAK▒▒
176
send: ^P007QGS@
177
rece: ^D006NAK▒▒
178
send: ^P007QGS@
179
rece: ^D006NAK▒▒
180
send: ^P007QGS@
181
rece: ^D006NAK▒▒
182
send: ^P007QGS@
183
^D006NAK▒▒6NAK▒▒
184
send: ^P007QGS@
185
no data receive!
186
send: ^P007QGS@
187
^D006NAK▒▒6NAK▒▒
188
send: ^P007QGS1O#
189
rece: ^D006NAK▒▒
190
send: ^P007QGS1O#
191
no data receive!
192
send: ^P007QGS1O#
193
rece: ^D130230.1,233.9,233.7,49.9,219.9,220.2,220.0,010.5,011.2,006.2,49.9,219.9,220.2,220.0,49.9,004.3,004.6,000.4,230.4,49.9,233.8,233.8r
194
send: ^P007QGS1O#
195
rece: ^D130230.0,233.9,233.6,49.9,220.3,220.5,220.3,010.5,011.1,006.3,49.9,220.3,220.5,220.3,49.9,004.3,004.5,000.4,230.3,49.9,233.7,233.7A▒
196
send: ^P007QGS@
197
rece: ^D130230.1,234.0,233.6,49.9,220.3,220.2,220.2,010.5,011.2,006.2,49.9,220.3^D006NAK▒▒.2,49.9,004.3,004.6,000.5,230.4,49.9,233.8,233.7▒▒
198
send: ^P007QGS@
199
rece: ^D006NAK▒▒
200
send: ^C
201
[root@iSmartSite:NandFlash]# ./sscomx
202
Input the com prot: RS232-2
203
baudrate: 2400
204
Parity(n\o\e): n
205
DataBit(5\6\7\8): 8
206
StopBit(1\2): 1
207
data types:
208
   1. hex
209
   2. ascii
210
select data type: 1
211
select com prot: /dev/RS232-2, 2400, n, 8, 1 for hex
212
send: 5E 50 30 30 37 51 47 53 31 4F 23
213
no data receive!
214
send: 5E 50 30 30 37 51 47 53 31 4F 23
215
no data receive!
216
send: 5E 50 30 30 37 51 47 53 31 4F 23
217
no data receive!
218
send: 5E 50 30 30 37 51 47 53 31 4F 23
219
no data receive!
220
send: 5E 50 30 30 37 51 47 53 31 4F 23
221
no data receive!
222
send: 5E 50 30 30 37 51 47 53 31 4F 23
223
no data receive!
224
send: 5E 50 30 30 37 51 47 53 31 4F 23
225
no data receive!
226
send: 5E 50 30 30 37 51 47 53 31 4F 23
227
no data receive!
228
send: 5E 50 30 30 37 51 47 53 32 7F 40
229
no data receive!
230
send: 5E 50 30 30 37 51 47 53 32 7F 40
231
no data receive!
232
send: 5E 50 30 30 37 51 47 53 32 7F 40
233
no data receive!
234
send: 5E 50 30 30 37 51 47 53 32 7F 40 0D
235
rece: 5E 44 30 30 36 4E 41 4B A0 B3 0D
236
send: 5E 50 30 30 37 51 47 53 32 7F 40 0D
237
no data receive!
238
send: 5E 50 30 30 37 51 47 53 32 7F 40 0D
239
rece: 5E 44 31 32 33 30 33 2C 33 39 37 2E 34 2C 34 31 33 2E 38 2C 33 39 37 2E 34 2C 33 38 31 2E 38 2C 33 38 30 2E 35 2C 33 38 31 2E 36 2C 30 30 37 32 33 2C 30 30 37 32 35 2C 30 30 30 30 30 2C 30 30 39 34 37 2C 30 31 30 31 32 2C 30 30 30 38 38 2C 30 30 39 2C 30 30 39 2C 30 30 30 2C 30 30 39 2C 34 30 35 2E 34 2C 34 30 35 2E 36 2C 2B 30 30 2E 31 2C 2B 30 30 2E 30 2C 2B 30 31 2E 36 9C 4C 0D
240
send: 5E 50 30 30 37 51 47 53 32 7F 40 0D
241
rece: 5E 44 31 32 33 30 33 2C 33 39 38 2E 35 2C 34 31 33 2E 31 2C 33 39 37 2E 31 2C 33 38 30 2E 38 2C 33 37 39 2E 38 2C 33 38 31 2E 35 2C 30 30 37 31 33 2C 30 30 37 30 39 2C 30 30 30 30 30 2C 30 30 39 34 32 2C 30 30 39 38 36 2C 30 30 30 38 38 2C 30 30 39 2C 30 30 39 2C 30 30 30 2C 30 30 39 2C 34 30 35 2E 31 2C 34 30 35 2E 37 2C 2B 30 30 2E 31 2C 2B 30 30 2E 30 2C 2B 30 31 2E 37 50 BF 0D
242
send: 5E 50 30 30 37 51 47 53 32 7F 40 0D
243
rece: 5E 44 31 32 33 30 33 2C 33 39 38 2E 37 2C 34 31 33 2E 32 2C 33 39 37 2E 32 2C 33 38 31 2E 34 2C 33 38 30 2E 37 2C 33 38 31 2E 33 2C 30 30 37 32 35 2C 30 30 37 31 38 2C 30 30 30 30 30 2C 30 30 39 34 36 2C 30 30 39 39 30 2C 30 30 30 38 38 2C 30 30 39 2C 30 30 39 2C 30 30 30 2C 30 30 39 2C 34 30 35 2E 34 2C 34 30 35 2E 37 2C 2B 30 30 2E 31 2C 2B 30 30 2E 30 2C 2B 30 31 2E 35 85 DF 0D
244
send: 5E 50 30 30 37 51 47 53 32 7F 40 0D
245
rece: 5E 44 31 32 33 30 33 2C 33 39 38 2E 34 2C 34 31 33 2E 31 2C 33 39 37 2E 30 2C 33 38 31 2E 35 2C 33 37 39 2E 36 2C 33 38 31 2E 34 2C 30 30 37 33 33 2C 30 30 37 31 39 2C 30 30 30 30 30 2C 30 30 39 36 38 2C 30 30 39 38 36 2C 30 30 30 38 38 2C 30 30 39 2C 30 30 39 2C 30 30 30 2C 30 30 39 2C 34 30 35 2E 30 2C 34 30 35 2E 36 2C 2B 30 30 2E 31 2C 2B 30 30 2E 30 2C 2B 30 31 2E 35 F1 30 0D
246
send: 5E 50 30 30 37 51 47 53 32 7F 40 0D
247
rece: 5E 44 31 32 33 30 33 2C 33 39 38 2E 35 2C 34 31 32 2E 38 2C 33 39 36 2E 38 2C 33 38 31 2E 34 2C 33 38 30 2E 35 2C 33 38 31 2E 35 2C 30 30 37 31 31 2C 30 30 37 32 30 2C 30 30 30 30 30 2C 30 30 39 32 34 2C 30 30 39 39 30 2C 30 30 30 38 38 2C 30 30 39 2C 30 30 39 2C 30 30 30 2C 30 30 39 2C 34 30 35 2E 30 2C 34 30 35 2E 36 2C 2B 30 30 2E 32 2C 2B 30 30 2E 30 2C 2B 30 31 2E 36 A0 AD 0D
248
send: 5E 50 30 30 37 51 47 53 31 4F 23 0D
249
rece: 5E 44 31 32 33 30 33 2C 33 39 38 2E 37 2C 34 31 33 2E 32 2C 33 39 37 2E 32 2C 33 38 31 2E 31 2C 33 38 30 2E 34 2C 33 38 31 2E 34 2C 30 30 37 32 34 2C 30 30 37 30 30 2C 30 30 30 30 30 2C 30 30 39 34 35 2C 30 30 39 36 38 2C 30 30 30 38 38 2C 30 30 39 2C 30 30 39 2C 30 30 30 2C 30 30 39 2C 34 30 34 2E 37 2C 34 30 35 2E 36 2C 2B 30 30 2E 32 2C 2B 30 30 2E 31 2C 2B 30 31 2E 37 24 91 0D
250
send: 5E 50 30 30 37 51 47 53 31 4F 23 0D
251
rece: 5E 44 31 33 30 32 33 30 2E 30 2C 32 33 34 2E 33 2C 32 33 34 2E 31 2C 34 39 2E 39 2C 32 31 39 2E 39 2C 32 32 30 2E 31 2C 32 31 39 2E 39 2C 30 31 30 2E 33 2C 30 31 31 2E 32 2C 30 30 36 2E 32 2C 34 39 2E 39 2C 32 31 39 2E 39 2C 32 32 30 2E 31 2C 32 31 39 2E 39 2C 34 39 2E 39 2C 30 30 34 2E 32 2C 30 30 34 2E 36 2C 30 30 30 2E 34 2C 32 33 30 2E 33 2C 34 39 2E 39 2C 32 33 34 2E 31 2C 32 33 34 2E 32 78 F8 0D
252
send: 5E 50 30 30 37 51 47 53 31 4F 23 0D
253
rece: 5E 44 31 33 30 32 32 39 2E 35 2C 32 33 33 2E 39 2C 32 33 34 2E 37 2C 34 39 2E 39 2C 32 31 39 2E 37 2C 32 32 30 2E 30 2C 32 31 39 2E 39 2C 30 31 30 2E 34 2C 30 31 31 2E 32 2C 30 30 36 2E 32 2C 34 39 2E 39 2C 32 31 39 2E 37 2C 32 32 30 2E 30 2C 32 31 39 2E 39 2C 34 39 2E 39 2C 30 30 34 2E 32 2C 30 30 34 2E 36 2C 30 30 30 2E 34 2C 32 32 39 2E 38 2C 34 39 2E 39 2C 32 33 33 2E 37 2C 32 33 34 2E 37 08 00 0D
254
send: