项目

一般

简介

电池协议测试记录.txt

黄 正梁, 2022-10-20 15:05

 
1
login as: root
2
root@192.168.5.20's password:
3
[root@OM-A8-L200:~]# cd /NandFlash
4
[root@OM-A8-L200:NandFlash]# ls
5
SerialPortQuickDef.ini   libomser-quick.so*       omOneNetPost*
6
dbCfg.db3                libomser.so*             omOneNetPost.ini
7
dbData.db3               libomsm.so*              omTray*
8
dbLog.db3                libomsuw.so*             omTray.ini
9
hwtest*                  omApp.ini                omapp.conf
10
hwtest.ini               omAppPost*               readme.txt
11
hwtestEx*                omAppPost.ini            sscomx*
12
libomalm.so              omAppSU*                 tmp/
13
libomdb.so*              omAppSU.ini*             update_dbcfg_quick.sh
14
libomdev.so*             omDemo1*                 update_dbcfg_xxx_bak.sh*
15
libomser-bak.so*         omMonitor.ini            www/
16
[root@OM-A8-L200:NandFlash]# top
17
Mem: 42564K used, 205720K free, 480K shrd, 0K buff, 16004K cached
18
CPU:   0% usr  16% sys   0% nic  83% idle   0% io   0% irq   0% sirq
19
Load average: 0.29 0.37 0.38 1/67 11513
20
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
21
 8039     1 root     S    47696  19%   8% ./omAppSU
22
11513 11478 root     R     2724   1%   8% top
23
  618     1 root     S    15448   6%   0% ./goahead --log /opt/log.txt:2 /NandFl
24
  688     1 root     S    15208   6%   0% ./omTray
25
11245   452 root     S     4796   2%   0% sshd: root@notty
26
11431   452 root     S     4796   2%   0% sshd: root@pts/0
27
  487     1 root     S     4776   2%   0% /usr/sbin/ofonod
28
  452     1 root     S     4668   2%   0% /usr/sbin/sshd
29
  482     1 avahi    S     3460   1%   0% avahi-daemon: running [OM-A8-L200.loca
30
  483   482 avahi    S     3460   1%   0% avahi-daemon: chroot helper
31
11254 11245 root     S     3000   1%   0% -sh
32
11478 11431 root     S     3000   1%   0% -sh
33
  436     1 messageb S     2912   1%   0% /usr/bin/dbus-daemon --system
34
  117     1 root     S     2836   1%   0% /sbin/udevd -d
35
  721     1 root     S     2768   1%   0% {start_getty} /bin/sh /bin/start_getty
36
  505     1 root     S     2764   1%   0% {rmimages.sh} /bin/sh ./rmimages.sh 10
37
  472     1 root     S     2724   1%   0% /sbin/syslogd -n -O /var/log/messages
38
  475     1 root     S     2724   1%   0% /sbin/klogd -n
39
  722     1 root     S     2724   1%   0% /sbin/getty 38400 tty1
40
  723   721 root     S     2724   1%   0% /sbin/getty -L 115200 ttymxc0
41
[root@OM-A8-L200:NandFlash]#
42
login as: root
43
root@192.168.5.20's password:
44
Last login: Wed Oct 19 17:05:13 2022 from 192.168.5.99
45
[root@OM-A8-L200:~]# cd /NandFlash
46
[root@OM-A8-L200:NandFlash]# ls
47
SerialPortQuickDef.ini   libomser-quick.so*       omOneNetPost*
48
dbCfg.db3                libomser.so*             omOneNetPost.ini
49
dbData.db3               libomsm.so*              omTray*
50
dbLog.db3                libomsuw.so*             omTray.ini
51
hwtest*                  omApp.ini                omapp.conf
52
hwtest.ini               omAppPost*               readme.txt
53
hwtestEx*                omAppPost.ini            sscomx*
54
libomalm.so              omAppSU*                 tmp/
55
libomdb.so*              omAppSU.ini*             update_dbcfg_quick.sh
56
libomdev.so*             omDemo1*                 update_dbcfg_xxx_bak.sh*
57
libomser-bak.so*         omMonitor.ini            www/
58
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-1:9600,n,8,1
59
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
60
MemFree:          202196 kB
61
MemAvailable:     213712 kB
62
Buffers:               0 kB
63
!!!MemVsz 0: 4876 KB
64
SIGRTMAX-1= 63
65
SerManager new: 17e0710
66
!!!MemVsz change: 128 KB
67
!!!MemVsz change: 4888 KB
68
!!!MemVsz change: 1248 KB
69

    
70
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
71

    
72
SerDef=RS485-1:9600,n,8,1 Type=2068
73
testSM SM=17e33a8
74
CSerCom InitCom: 17e3538  1
75
CSerCom UpdParams: ComPort: RS485-1, 0, 0
76
CSerCom::Open: /dev/RS485-1,9600,8,N,0
77
set serial done+!
78
RS485-1:9600,n,8,1[100001] open ok!
79
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
80
MemFree:          201820 kB
81
MemAvailable:     213348 kB
82
Buffers:               0 kB
83
start SMxxx->DataGet ...
84
SEND: 01 02 00 23 00 2A 08 1F
85
RECV:
86
testSM-0001 09:45:44  RS485-1:9600,n,8,1
87
SEND: 01 02 00 23 00 2A 08 1F
88
RECV:
89
testSM-0002 09:45:45  RS485-1:9600,n,8,1
90
SEND: 01 02 00 23 00 2A 08 1F
91
RECV:
92
testSM-0003 09:45:47  RS485-1:9600,n,8,1
93
SEND: 01 02 00 23 00 2A 08 1F
94
RECV:
95
testSM-0004 09:45:48  RS485-1:9600,n,8,1
96
SEND: 01 02 00 23 00 2A 08 1F
97
RECV:
98
testSM-0005 09:45:50  RS485-1:9600,n,8,1
99
SEND: 01 02 00 23 00 2A 08 1F
100
RECV:
101
testSM-0006 09:45:51  RS485-1:9600,n,8,1
102
SEND: 01 02 00 23 00 2A 08 1F
103
RECV:
104
testSM-0007 09:45:53  RS485-1:9600,n,8,1
105
SEND: 01 02 00 23 00 2A 08 1F
106
RECV:
107
testSM-0008 09:45:54  RS485-1:9600,n,8,1
108
SEND: 01 02 00 23 00 2A 08 1F
109
RECV:
110
testSM-0009 09:45:56  RS485-1:9600,n,8,1
111
SEND: 01 02 00 23 00 2A 08 1F
112
RECV:
113
testSM-0010 09:45:57  RS485-1:9600,n,8,1
114
SEND: 01 02 00 23 00 2A 08 1F
115
RECV:
116
testSM-0011 09:45:59  RS485-1:9600,n,8,1
117
SEND: 01 02 00 23 00 2A 08 1F
118
RECV:
119
testSM-0012 09:46:00  RS485-1:9600,n,8,1
120
SEND: 01 02 00 23 00 2A 08 1F
121
RECV:
122
testSM-0013 09:46:02  RS485-1:9600,n,8,1
123
SEND: 01 02 00 23 00 2A 08 1F
124
RECV:
125
testSM-0014 09:46:03  RS485-1:9600,n,8,1
126
SEND: 01 02 00 23 00 2A 08 1F
127
RECV:
128
testSM-0015 09:46:05  RS485-1:9600,n,8,1
129
SEND: 01 02 00 23 00 2A 08 1F
130
RECV:
131
testSM-0016 09:46:06  RS485-1:9600,n,8,1
132
SEND: 01 02 00 23 00 2A 08 1F
133
RECV:
134
testSM-0017 09:46:08  RS485-1:9600,n,8,1
135
SEND: 01 02 00 23 00 2A 08 1F
136
^C
137
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-2:9600,n,8,1
138
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
139
MemFree:          202088 kB
140
MemAvailable:     213620 kB
141
Buffers:               0 kB
142
!!!MemVsz 0: 4876 KB
143
SIGRTMAX-1= 63
144
SerManager new: e5710
145
!!!MemVsz change: 128 KB
146
!!!MemVsz change: 4888 KB
147
!!!MemVsz change: 1248 KB
148

    
149
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
150

    
151
SerDef=RS485-2:9600,n,8,1 Type=2068
152
testSM SM=e83a8
153
CSerCom InitCom: e8538  1
154
CSerCom UpdParams: ComPort: RS485-2, 0, 0
155
CSerCom::Open: /dev/RS485-2,9600,8,N,0
156
set serial done+!
157
RS485-2:9600,n,8,1[100002] open ok!
158
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
159
MemFree:          201720 kB
160
MemAvailable:     213256 kB
161
Buffers:               0 kB
162
start SMxxx->DataGet ...
163
SEND: 01 02 00 23 00 2A 08 1F
164
RECV:
165
testSM-0001 09:46:18  RS485-2:9600,n,8,1
166
SEND: 01 02 00 23 00 2A 08 1F
167
RECV:
168
^C
169
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 3 0 0 0 RS485-1:9600,n,8,1
170
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
171
MemFree:          202080 kB
172
MemAvailable:     213616 kB
173
Buffers:               0 kB
174
!!!MemVsz 0: 4876 KB
175
SIGRTMAX-1= 63
176
SerManager new: 1983710
177
!!!MemVsz change: 128 KB
178
!!!MemVsz change: 4888 KB
179
!!!MemVsz change: 1248 KB
180

    
181
SMxxx: Type=2068  Addr=3  Port=0  Tag1=0  Ext1=0
182

    
183
SerDef=RS485-1:9600,n,8,1 Type=2068
184
testSM SM=19863a8
185
CSerCom InitCom: 1986538  1
186
CSerCom UpdParams: ComPort: RS485-1, 0, 0
187
CSerCom::Open: /dev/RS485-1,9600,8,N,0
188
set serial done+!
189
RS485-1:9600,n,8,1[100001] open ok!
190
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
191
MemFree:          201772 kB
192
MemAvailable:     213308 kB
193
Buffers:               0 kB
194
start SMxxx->DataGet ...
195
SEND: 03 02 00 23 00 2A 09 FD
196
RECV:
197
testSM-0001 09:46:28  RS485-1:9600,n,8,1
198
SEND: 03 02 00 23 00 2A 09 FD
199
RECV:
200
testSM-0002 09:46:29  RS485-1:9600,n,8,1
201
SEND: 03 02 00 23 00 2A 09 FD
202
RECV:
203
testSM-0003 09:46:31  RS485-1:9600,n,8,1
204
SEND: 03 02 00 23 00 2A 09 FD
205
RECV:
206
testSM-0004 09:46:32  RS485-1:9600,n,8,1
207
SEND: 03 02 00 23 00 2A 09 FD
208
RECV:
209
testSM-0005 09:46:34  RS485-1:9600,n,8,1
210
SEND: 03 02 00 23 00 2A 09 FD
211
RECV:
212
^C
213
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
214
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
215
MemFree:          202072 kB
216
MemAvailable:     213608 kB
217
Buffers:               0 kB
218
!!!MemVsz 0: 4876 KB
219
SIGRTMAX-1= 63
220
SerManager new: 1594710
221
!!!MemVsz change: 128 KB
222
!!!MemVsz change: 4888 KB
223
!!!MemVsz change: 1248 KB
224

    
225
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
226

    
227
SerDef=RS485-1:9600,n,8,1 Type=2068
228
testSM SM=15973a8
229
CSerCom InitCom: 1597538  1
230
CSerCom UpdParams: ComPort: RS485-1, 0, 0
231
CSerCom::Open: /dev/RS485-1,9600,8,N,0
232
set serial done+!
233
RS485-1:9600,n,8,1[100001] open ok!
234
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
235
MemFree:          201764 kB
236
MemAvailable:     213300 kB
237
Buffers:               0 kB
238
start SMxxx->DataGet ...
239
SEND: 02 02 00 23 00 2A 08 2C
240
RECV:
241
testSM-0001 09:46:44  RS485-1:9600,n,8,1
242
SEND: 02 02 00 23 00 2A 08 2C
243
^C
244
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 4 0 0 0 RS485-1:9600,n,8,1
245
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
246
MemFree:          202064 kB
247
MemAvailable:     213600 kB
248
Buffers:               0 kB
249
!!!MemVsz 0: 4876 KB
250
SIGRTMAX-1= 63
251
SerManager new: a0f710
252
!!!MemVsz change: 128 KB
253
!!!MemVsz change: 4888 KB
254
!!!MemVsz change: 1248 KB
255

    
256
SMxxx: Type=2068  Addr=4  Port=0  Tag1=0  Ext1=0
257

    
258
SerDef=RS485-1:9600,n,8,1 Type=2068
259
testSM SM=a123a8
260
CSerCom InitCom: a12538  1
261
CSerCom UpdParams: ComPort: RS485-1, 0, 0
262
CSerCom::Open: /dev/RS485-1,9600,8,N,0
263
set serial done+!
264
RS485-1:9600,n,8,1[100001] open ok!
265
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
266
MemFree:          201696 kB
267
MemAvailable:     213232 kB
268
Buffers:               0 kB
269
start SMxxx->DataGet ...
270
SEND: 04 02 00 23 00 2A 08 4A
271
RECV: 04 02 06 00 00 00 00 00 00 DF E9
272
SEND: 04 03 00 01 00 23 55 86
273
RECV: 04 03 46 00 4E 00 50 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D0 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 25 19
274
testSM-0001 09:46:53  RS485-1:9600,n,8,1
275
SEND: 04 02 00 23 00 2A 08 4A
276
RECV: 04 02 06 00 00 00 00 00 00 DF E9
277
SEND: 04 03 00 01 00 23 55 86
278
RECV: 04 03 46 00 4E 00 50 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D0 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 25 19
279
testSM-0002 09:46:55  RS485-1:9600,n,8,1
280
SEND: 04 02 00 23 00 2A 08 4A
281
RECV: 04 02 06 00 00 00 00 00 00 DF E9
282
SEND: 04 03 00 01 00 23 55 86
283
RECV: 04 03 46 00 4E 00 50 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D0 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 25 19
284
testSM-0003 09:46:56  RS485-1:9600,n,8,1
285
SEND: 04 02 00 23 00 2A 08 4A
286
RECV: 04 02 06 00 00 00 00 00 00 DF E9
287
SEND: 04 03 00 01 00 23 55 86
288
RECV: 04 03 46 00 4E 00 50 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D0 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 25 19
289
testSM-0004 09:46:58  RS485-1:9600,n,8,1
290
SEND: 04 02 00 23 00 2A 08 4A
291
RECV: 04 02 06 00 00 00 00 00 00 DF E9
292
SEND: 04 03 00 01 00 23 55 86
293
RECV: 04 03 46 00 4E 00 50 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D0 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 25 19
294
testSM-0005 09:47:00  RS485-1:9600,n,8,1
295
SEND: 04 02 00 23 00 2A 08 4A
296
RECV: 04 02 06 00 00 00 00 00 00 DF E9
297
SEND: 04 03 00 01 00 23 55 86
298
RECV: 04 03 46 00 4E 00 50 00 01 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D0 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 14 89
299
^C
300
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 3 0 0 0 RS485-1:9600,n,8,1
301
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
302
MemFree:          201472 kB
303
MemAvailable:     213324 kB
304
Buffers:               0 kB
305
!!!MemVsz 0: 4876 KB
306
SIGRTMAX-1= 63
307
SerManager new: a01710
308
!!!MemVsz change: 128 KB
309
!!!MemVsz change: 4888 KB
310
!!!MemVsz change: 1248 KB
311

    
312
SMxxx: Type=2068  Addr=3  Port=0  Tag1=0  Ext1=0
313

    
314
SerDef=RS485-1:9600,n,8,1 Type=2068
315
testSM SM=a043a8
316
CSerCom InitCom: a04538  1
317
CSerCom UpdParams: ComPort: RS485-1, 0, 0
318
CSerCom::Open: /dev/RS485-1,9600,8,N,0
319
set serial done+!
320
RS485-1:9600,n,8,1[100001] open ok!
321
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
322
MemFree:          201120 kB
323
MemAvailable:     212972 kB
324
Buffers:               0 kB
325
start SMxxx->DataGet ...
326
SEND: 03 02 00 23 00 2A 09 FD
327
RECV:
328
testSM-0001 09:50:10  RS485-1:9600,n,8,1
329
SEND: 03 02 00 23 00 2A 09 FD
330
RECV:
331
^C
332
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
333
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
334
MemFree:          201540 kB
335
MemAvailable:     213392 kB
336
Buffers:               0 kB
337
!!!MemVsz 0: 4876 KB
338
SIGRTMAX-1= 63
339
SerManager new: bf9710
340
!!!MemVsz change: 128 KB
341
!!!MemVsz change: 4888 KB
342
!!!MemVsz change: 1248 KB
343

    
344
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
345

    
346
SerDef=RS485-1:9600,n,8,1 Type=2068
347
testSM SM=bfc3a8
348
CSerCom InitCom: bfc538  1
349
CSerCom UpdParams: ComPort: RS485-1, 0, 0
350
CSerCom::Open: /dev/RS485-1,9600,8,N,0
351
set serial done+!
352
RS485-1:9600,n,8,1[100001] open ok!
353
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
354
MemFree:          201264 kB
355
MemAvailable:     213116 kB
356
Buffers:               0 kB
357
start SMxxx->DataGet ...
358
SEND: 02 02 00 23 00 2A 08 2C
359
RECV:
360
testSM-0001 09:50:20  RS485-1:9600,n,8,1
361
SEND: 02 02 00 23 00 2A 08 2C
362
RECV:
363
testSM-0002 09:50:21  RS485-1:9600,n,8,1
364
SEND: 02 02 00 23 00 2A 08 2C
365
RECV:
366
^C
367
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-1:9600,n,8,1
368
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
369
MemFree:          201532 kB
370
MemAvailable:     213384 kB
371
Buffers:               0 kB
372
!!!MemVsz 0: 4876 KB
373
SIGRTMAX-1= 63
374
SerManager new: 1adb710
375
!!!MemVsz change: 128 KB
376
!!!MemVsz change: 4888 KB
377
!!!MemVsz change: 1248 KB
378

    
379
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
380

    
381
SerDef=RS485-1:9600,n,8,1 Type=2068
382
testSM SM=1ade3a8
383
CSerCom InitCom: 1ade538  1
384
CSerCom UpdParams: ComPort: RS485-1, 0, 0
385
CSerCom::Open: /dev/RS485-1,9600,8,N,0
386
set serial done+!
387
RS485-1:9600,n,8,1[100001] open ok!
388
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
389
MemFree:          201224 kB
390
MemAvailable:     213076 kB
391
Buffers:               0 kB
392
start SMxxx->DataGet ...
393
SEND: 01 02 00 23 00 2A 08 1F
394
RECV:
395
testSM-0001 09:50:33  RS485-1:9600,n,8,1
396
SEND: 01 02 00 23 00 2A 08 1F
397
RECV:
398
^C
399
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 4 0 0 0 RS485-1:9600,n,8,1
400
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
401
MemFree:          201768 kB
402
MemAvailable:     213624 kB
403
Buffers:               0 kB
404
!!!MemVsz 0: 4876 KB
405
SIGRTMAX-1= 63
406
SerManager new: 1508710
407
!!!MemVsz change: 128 KB
408
!!!MemVsz change: 4888 KB
409
!!!MemVsz change: 1248 KB
410

    
411
SMxxx: Type=2068  Addr=4  Port=0  Tag1=0  Ext1=0
412

    
413
SerDef=RS485-1:9600,n,8,1 Type=2068
414
testSM SM=150b3a8
415
CSerCom InitCom: 150b538  1
416
CSerCom UpdParams: ComPort: RS485-1, 0, 0
417
CSerCom::Open: /dev/RS485-1,9600,8,N,0
418
set serial done+!
419
RS485-1:9600,n,8,1[100001] open ok!
420
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
421
MemFree:          201476 kB
422
MemAvailable:     213332 kB
423
Buffers:               0 kB
424
start SMxxx->DataGet ...
425
SEND: 04 02 00 23 00 2A 08 4A
426
RECV: 04 02 06 00 00 00 00 00 00 DF E9
427
SEND: 04 03 00 01 00 23 55 86
428
RECV: 04 03 46 00 50 00 51 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D1 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA F4 F7
429
testSM-0001 09:53:43  RS485-1:9600,n,8,1
430
SEND: 04 02 00 23 00 2A 08 4A
431
RECV: 04 02 06 00 00 00 00 00 00 DF E9
432
SEND: 04 03 00 01 00 23 55 86
433
RECV: 04 03 46 00 50 00 51 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D1 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA F4 F7
434
^C
435
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-1:9600,n,8,1
436
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
437
MemFree:          201836 kB
438
MemAvailable:     213692 kB
439
Buffers:               0 kB
440
!!!MemVsz 0: 4876 KB
441
SIGRTMAX-1= 63
442
SerManager new: d6d710
443
!!!MemVsz change: 128 KB
444
!!!MemVsz change: 4888 KB
445
!!!MemVsz change: 1248 KB
446

    
447
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
448

    
449
SerDef=RS485-1:9600,n,8,1 Type=2068
450
testSM SM=d703a8
451
CSerCom InitCom: d70538  1
452
CSerCom UpdParams: ComPort: RS485-1, 0, 0
453
CSerCom::Open: /dev/RS485-1,9600,8,N,0
454
set serial done+!
455
RS485-1:9600,n,8,1[100001] open ok!
456
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
457
MemFree:          201432 kB
458
MemAvailable:     213288 kB
459
Buffers:               0 kB
460
start SMxxx->DataGet ...
461
SEND: 01 02 00 23 00 2A 08 1F
462
RECV:
463
testSM-0001 09:53:51  RS485-1:9600,n,8,1
464
SEND: 01 02 00 23 00 2A 08 1F
465
RECV:
466
testSM-0002 09:53:53  RS485-1:9600,n,8,1
467
SEND: 01 02 00 23 00 2A 08 1F
468
^C
469
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
470
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
471
MemFree:          201860 kB
472
MemAvailable:     213716 kB
473
Buffers:               0 kB
474
!!!MemVsz 0: 4876 KB
475
SIGRTMAX-1= 63
476
SerManager new: 179f710
477
!!!MemVsz change: 128 KB
478
!!!MemVsz change: 4888 KB
479
!!!MemVsz change: 1248 KB
480

    
481
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
482

    
483
SerDef=RS485-1:9600,n,8,1 Type=2068
484
testSM SM=17a23a8
485
CSerCom InitCom: 17a2538  1
486
CSerCom UpdParams: ComPort: RS485-1, 0, 0
487
CSerCom::Open: /dev/RS485-1,9600,8,N,0
488
set serial done+!
489
RS485-1:9600,n,8,1[100001] open ok!
490
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
491
MemFree:          201432 kB
492
MemAvailable:     213288 kB
493
Buffers:               0 kB
494
start SMxxx->DataGet ...
495
SEND: 02 02 00 23 00 2A 08 2C
496
RECV:
497
testSM-0001 09:54:00  RS485-1:9600,n,8,1
498
SEND: 02 02 00 23 00 2A 08 2C
499
RECV:
500
testSM-0002 09:54:02  RS485-1:9600,n,8,1
501
SEND: 02 02 00 23 00 2A 08 2C
502
^[[ARECV:
503
^[[DtestSM-0003 09:54:03  RS485-1:9600,n,8,1
504
SEND: 02 02 00 23 00 2A 08 2C
505
RECV:
506
^C
507
[root@OM-A8-L200:NandFlash]# ^C
508
[root@OM-A8-L200:NandFlash]# ^C
509
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 4 0 0 0 RS485-1:9600,n,8,1
510
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
511
MemFree:          201820 kB
512
MemAvailable:     213676 kB
513
Buffers:               0 kB
514
!!!MemVsz 0: 4876 KB
515
SIGRTMAX-1= 63
516
SerManager new: 1132710
517
!!!MemVsz change: 128 KB
518
!!!MemVsz change: 4888 KB
519
!!!MemVsz change: 1248 KB
520

    
521
SMxxx: Type=2068  Addr=4  Port=0  Tag1=0  Ext1=0
522

    
523
SerDef=RS485-1:9600,n,8,1 Type=2068
524
testSM SM=11353a8
525
CSerCom InitCom: 1135538  1
526
CSerCom UpdParams: ComPort: RS485-1, 0, 0
527
CSerCom::Open: /dev/RS485-1,9600,8,N,0
528
set serial done+!
529
RS485-1:9600,n,8,1[100001] open ok!
530
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
531
MemFree:          201360 kB
532
MemAvailable:     213216 kB
533
Buffers:               0 kB
534
start SMxxx->DataGet ...
535
SEND: 04 02 00 23 00 2A 08 4A
536
RECV: 04 02 06 00 00 00 00 00 00 DF E9
537
SEND: 04 03 00 01 00 23 55 86
538
RECV: 04 03 46 00 50 00 51 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9D              00 D1 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA AF 6D
539
^C
540
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 3 0 0 0 RS485-1:9600,n,8,1
541
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
542
MemFree:          201788 kB
543
MemAvailable:     213648 kB
544
Buffers:               0 kB
545
!!!MemVsz 0: 4876 KB
546
SIGRTMAX-1= 63
547
SerManager new: 759710
548
!!!MemVsz change: 128 KB
549
!!!MemVsz change: 4888 KB
550
!!!MemVsz change: 1248 KB
551

    
552
SMxxx: Type=2068  Addr=3  Port=0  Tag1=0  Ext1=0
553

    
554
SerDef=RS485-1:9600,n,8,1 Type=2068
555
testSM SM=75c3a8
556
CSerCom InitCom: 75c538  1
557
CSerCom UpdParams: ComPort: RS485-1, 0, 0
558
CSerCom::Open: /dev/RS485-1,9600,8,N,0
559
set serial done+!
560
RS485-1:9600,n,8,1[100001] open ok!
561
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
562
MemFree:          201420 kB
563
MemAvailable:     213280 kB
564
Buffers:               0 kB
565
start SMxxx->DataGet ...
566
SEND: 03 02 00 23 00 2A 09 FD
567
RECV:
568
testSM-0001 09:56:48  RS485-1:9600,n,8,1
569
SEND: 03 02 00 23 00 2A 09 FD
570
RECV:
571
testSM-0002 09:56:49  RS485-1:9600,n,8,1
572
SEND: 03 02 00 23 00 2A 09 FD
573
^C
574
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
575
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
576
MemFree:          201748 kB
577
MemAvailable:     213608 kB
578
Buffers:               0 kB
579
!!!MemVsz 0: 4876 KB
580
SIGRTMAX-1= 63
581
SerManager new: feb710
582
!!!MemVsz change: 128 KB
583
!!!MemVsz change: 4888 KB
584
!!!MemVsz change: 1248 KB
585

    
586
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
587

    
588
SerDef=RS485-1:9600,n,8,1 Type=2068
589
testSM SM=fee3a8
590
CSerCom InitCom: fee538  1
591
CSerCom UpdParams: ComPort: RS485-1, 0, 0
592
CSerCom::Open: /dev/RS485-1,9600,8,N,0
593
set serial done+!
594
RS485-1:9600,n,8,1[100001] open ok!
595
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
596
MemFree:          201440 kB
597
MemAvailable:     213300 kB
598
Buffers:               0 kB
599
start SMxxx->DataGet ...
600
SEND: 02 02 00 23 00 2A 08 2C
601
RECV:
602
testSM-0001 09:57:00  RS485-1:9600,n,8,1
603
SEND: 02 02 00 23 00 2A 08 2C
604
RECV:
605
^C
606
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-1:9600,n,8,1
607
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
608
MemFree:          201700 kB
609
MemAvailable:     213560 kB
610
Buffers:               0 kB
611
!!!MemVsz 0: 4876 KB
612
SIGRTMAX-1= 63
613
SerManager new: 19d7710
614
!!!MemVsz change: 128 KB
615
!!!MemVsz change: 4888 KB
616
!!!MemVsz change: 1248 KB
617

    
618
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
619

    
620
SerDef=RS485-1:9600,n,8,1 Type=2068
621
testSM SM=19da3a8
622
CSerCom InitCom: 19da538  1
623
CSerCom UpdParams: ComPort: RS485-1, 0, 0
624
CSerCom::Open: /dev/RS485-1,9600,8,N,0
625
set serial done+!
626
RS485-1:9600,n,8,1[100001] open ok!
627
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
628
MemFree:          201332 kB
629
MemAvailable:     213192 kB
630
Buffers:               0 kB
631
start SMxxx->DataGet ...
632
SEND: 01 02 00 23 00 2A 08 1F
633
RECV:
634
testSM-0001 09:57:08  RS485-1:9600,n,8,1
635
SEND: 01 02 00 23 00 2A 08 1F
636
RECV:
637
^C
638
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 4 0 0 0 RS485-1:9600,n,8,1
639
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
640
MemFree:          201636 kB
641
MemAvailable:     213504 kB
642
Buffers:               0 kB
643
!!!MemVsz 0: 4876 KB
644
SIGRTMAX-1= 63
645
SerManager new: d49710
646
!!!MemVsz change: 128 KB
647
!!!MemVsz change: 4888 KB
648
!!!MemVsz change: 1248 KB
649

    
650
SMxxx: Type=2068  Addr=4  Port=0  Tag1=0  Ext1=0
651

    
652
SerDef=RS485-1:9600,n,8,1 Type=2068
653
testSM SM=d4c3a8
654
CSerCom InitCom: d4c538  1
655
CSerCom UpdParams: ComPort: RS485-1, 0, 0
656
CSerCom::Open: /dev/RS485-1,9600,8,N,0
657
set serial done+!
658
RS485-1:9600,n,8,1[100001] open ok!
659
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
660
MemFree:          201268 kB
661
MemAvailable:     213136 kB
662
Buffers:               0 kB
663
start SMxxx->DataGet ...
664
SEND: 04 02 00 23 00 2A 08 4A
665
RECV: 04 02 06 00 00 00 00 00 00 DF E9
666
SEND: 04 03 00 01 00 23 55 86
667
RECV: 04 03 46 00 52 00 51 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9C              00 D1 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 9C 62
668
testSM-0001 10:08:09  RS485-1:9600,n,8,1
669
SEND: 04 02 00 23 00 2A 08 4A
670
RECV: 04 02 06 00 00 00 00 00 00 DF E9
671
SEND: 04 03 00 01 00 23 55 86
672
RECV: 04 03 46 00 52 00 51 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9C              00 D1 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 9C 62
673
^C
674
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 3 0 0 0 RS485-1:9600,n,8,1
675
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
676
MemFree:          201596 kB
677
MemAvailable:     213464 kB
678
Buffers:               0 kB
679
!!!MemVsz 0: 4876 KB
680
SIGRTMAX-1= 63
681
SerManager new: 1ce6710
682
!!!MemVsz change: 128 KB
683
!!!MemVsz change: 4888 KB
684
!!!MemVsz change: 1248 KB
685

    
686
SMxxx: Type=2068  Addr=3  Port=0  Tag1=0  Ext1=0
687

    
688
SerDef=RS485-1:9600,n,8,1 Type=2068
689
testSM SM=1ce93a8
690
CSerCom InitCom: 1ce9538  1
691
CSerCom UpdParams: ComPort: RS485-1, 0, 0
692
CSerCom::Open: /dev/RS485-1,9600,8,N,0
693
set serial done+!
694
RS485-1:9600,n,8,1[100001] open ok!
695
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
696
MemFree:          201288 kB
697
MemAvailable:     213156 kB
698
Buffers:               0 kB
699
start SMxxx->DataGet ...
700
SEND: 03 02 00 23 00 2A 09 FD
701
RECV: 03 02 06 00 00 00 00 00 00 F9 D9
702
SEND: 03 03 00 01 00 23 54 31
703
RECV: 03 03 46 00 57 00 87 00 00 00 32 00 36 00 00 00 12 00 00 00 00 00 00 01 A6              00 CD 01 F4 00 C8 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA E0 4B
704
testSM-0001 10:08:19  RS485-1:9600,n,8,1
705
SEND: 03 02 00 23 00 2A 09 FD
706
^C
707
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
708
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
709
MemFree:          201648 kB
710
MemAvailable:     213516 kB
711
Buffers:               0 kB
712
!!!MemVsz 0: 4876 KB
713
SIGRTMAX-1= 63
714
SerManager new: b22710
715
!!!MemVsz change: 128 KB
716
!!!MemVsz change: 4888 KB
717
!!!MemVsz change: 1248 KB
718

    
719
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
720

    
721
SerDef=RS485-1:9600,n,8,1 Type=2068
722
testSM SM=b253a8
723
CSerCom InitCom: b25538  1
724
CSerCom UpdParams: ComPort: RS485-1, 0, 0
725
CSerCom::Open: /dev/RS485-1,9600,8,N,0
726
set serial done+!
727
RS485-1:9600,n,8,1[100001] open ok!
728
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
729
MemFree:          201308 kB
730
MemAvailable:     213176 kB
731
Buffers:               0 kB
732
start SMxxx->DataGet ...
733
SEND: 02 02 00 23 00 2A 08 2C
734
RECV:
735
testSM-0001 10:08:27  RS485-1:9600,n,8,1
736
SEND: 02 02 00 23 00 2A 08 2C
737
RECV:
738
^C
739
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-1:9600,n,8,1
740
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
741
MemFree:          201608 kB
742
MemAvailable:     213476 kB
743
Buffers:               0 kB
744
!!!MemVsz 0: 4876 KB
745
SIGRTMAX-1= 63
746
SerManager new: 10ec710
747
!!!MemVsz change: 128 KB
748
!!!MemVsz change: 4888 KB
749
!!!MemVsz change: 1248 KB
750

    
751
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
752

    
753
SerDef=RS485-1:9600,n,8,1 Type=2068
754
testSM SM=10ef3a8
755
CSerCom InitCom: 10ef538  1
756
CSerCom UpdParams: ComPort: RS485-1, 0, 0
757
CSerCom::Open: /dev/RS485-1,9600,8,N,0
758
set serial done+!
759
RS485-1:9600,n,8,1[100001] open ok!
760
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
761
MemFree:          201140 kB
762
MemAvailable:     213008 kB
763
Buffers:               0 kB
764
start SMxxx->DataGet ...
765
SEND: 01 02 00 23 00 2A 08 1F
766
RECV:
767
testSM-0001 10:08:37  RS485-1:9600,n,8,1
768
SEND: 01 02 00 23 00 2A 08 1F
769
RECV:
770
testSM-0002 10:08:38  RS485-1:9600,n,8,1
771
SEND: 01 02 00 23 00 2A 08 1F
772
RECV:
773
testSM-0003 10:08:40  RS485-1:9600,n,8,1
774
SEND: 01 02 00 23 00 2A 08 1F
775
RECV:
776
testSM-0004 10:08:41  RS485-1:9600,n,8,1
777
SEND: 01 02 00 23 00 2A 08 1F
778
RECV:
779
testSM-0005 10:08:43  RS485-1:9600,n,8,1
780
SEND: 01 02 00 23 00 2A 08 1F
781
RECV:
782
testSM-0006 10:08:44  RS485-1:9600,n,8,1
783
SEND: 01 02 00 23 00 2A 08 1F
784
RECV:
785
testSM-0007 10:08:46  RS485-1:9600,n,8,1
786
SEND: 01 02 00 23 00 2A 08 1F
787
RECV:
788
testSM-0008 10:08:47  RS485-1:9600,n,8,1
789
SEND: 01 02 00 23 00 2A 08 1F
790
RECV:
791
testSM-0009 10:08:49  RS485-1:9600,n,8,1
792
SEND: 01 02 00 23 00 2A 08 1F
793
RECV:
794
testSM-0010 10:08:50  RS485-1:9600,n,8,1
795
SEND: 01 02 00 23 00 2A 08 1F
796
RECV:
797
testSM-0011 10:08:52  RS485-1:9600,n,8,1
798
SEND: 01 02 00 23 00 2A 08 1F
799
RECV:
800
testSM-0012 10:08:53  RS485-1:9600,n,8,1
801
SEND: 01 02 00 23 00 2A 08 1F
802
RECV:
803
testSM-0013 10:08:55  RS485-1:9600,n,8,1
804
SEND: 01 02 00 23 00 2A 08 1F
805
^C
806
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 3 0 0 0 RS485-1:9600,n,8,1
807
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
808
MemFree:          201592 kB
809
MemAvailable:     213460 kB
810
Buffers:               0 kB
811
!!!MemVsz 0: 4876 KB
812
SIGRTMAX-1= 63
813
SerManager new: 1766710
814
!!!MemVsz change: 128 KB
815
!!!MemVsz change: 4888 KB
816
!!!MemVsz change: 1248 KB
817

    
818
SMxxx: Type=2068  Addr=3  Port=0  Tag1=0  Ext1=0
819

    
820
SerDef=RS485-1:9600,n,8,1 Type=2068
821
testSM SM=17693a8
822
CSerCom InitCom: 1769538  1
823
CSerCom UpdParams: ComPort: RS485-1, 0, 0
824
CSerCom::Open: /dev/RS485-1,9600,8,N,0
825
set serial done+!
826
RS485-1:9600,n,8,1[100001] open ok!
827
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
828
MemFree:          201224 kB
829
MemAvailable:     213092 kB
830
Buffers:               0 kB
831
start SMxxx->DataGet ...
832
SEND: 03 02 00 23 00 2A 09 FD
833
RECV: 03 02 06 00 00 00 00 00 00 F9 D9
834
SEND: 03 03 00 01 00 23 54 31
835
RECV: 03 03 46 00 57 00 86 00 00 00 32 00 36 00 00 00 10 00 00 00 00 00 00 01 A5              00 CD 01 F4 00 C8 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA FC 46
836
testSM-0001 10:09:03  RS485-1:9600,n,8,1
837
SEND: 03 02 00 23 00 2A 09 FD
838
RECV: 03 02 06 00 00 00 00 00 00 F9 D9
839
SEND: 03 03 00 01 00 23 54 31
840
^C
841
[root@OM-A8-L200:NandFlash]# ^C
842
[root@OM-A8-L200:NandFlash]# ^C
843
[root@OM-A8-L200:NandFlash]# ^C
844
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 3 0 0 0 RS485-1:9600,n,8,1
845
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
846
MemFree:          201520 kB
847
MemAvailable:     213388 kB
848
Buffers:               0 kB
849
!!!MemVsz 0: 4876 KB
850
SIGRTMAX-1= 63
851
SerManager new: f1c710
852
!!!MemVsz change: 128 KB
853
!!!MemVsz change: 4888 KB
854
!!!MemVsz change: 1248 KB
855

    
856
SMxxx: Type=2068  Addr=3  Port=0  Tag1=0  Ext1=0
857

    
858
SerDef=RS485-1:9600,n,8,1 Type=2068
859
testSM SM=f1f3a8
860
CSerCom InitCom: f1f538  1
861
CSerCom UpdParams: ComPort: RS485-1, 0, 0
862
CSerCom::Open: /dev/RS485-1,9600,8,N,0
863
set serial done+!
864
RS485-1:9600,n,8,1[100001] open ok!
865
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
866
MemFree:          201212 kB
867
MemAvailable:     213080 kB
868
Buffers:               0 kB
869
start SMxxx->DataGet ...
870
SEND: 03 02 00 23 00 2A 09 FD
871
RECV: 03 02 06 00 00 00 00 00 00 F9 D9
872
SEND: 03 03 00 01 00 23 54 31
873
RECV: 03 03 46 00 57 00 86 00 00 00 32 00 36 00 00 00 10 00 00 00 00 00 00 01 A6              00 CD 01 F4 00 C8 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 8B 31
874
^C
875
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
876
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
877
MemFree:          201480 kB
878
MemAvailable:     213348 kB
879
Buffers:               0 kB
880
!!!MemVsz 0: 4876 KB
881
SIGRTMAX-1= 63
882
SerManager new: 1c7710
883
!!!MemVsz change: 128 KB
884
!!!MemVsz change: 4888 KB
885
!!!MemVsz change: 1248 KB
886

    
887
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
888

    
889
SerDef=RS485-1:9600,n,8,1 Type=2068
890
testSM SM=1ca3a8
891
CSerCom InitCom: 1ca538  1
892
CSerCom UpdParams: ComPort: RS485-1, 0, 0
893
CSerCom::Open: /dev/RS485-1,9600,8,N,0
894
set serial done+!
895
RS485-1:9600,n,8,1[100001] open ok!
896
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
897
MemFree:          201172 kB
898
MemAvailable:     213040 kB
899
Buffers:               0 kB
900
start SMxxx->DataGet ...
901
SEND: 02 02 00 23 00 2A 08 2C
902
RECV:
903
testSM-0001 10:11:50  RS485-1:9600,n,8,1
904
SEND: 02 02 00 23 00 2A 08 2C
905
^C
906
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-2:9600,n,8,1
907
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
908
MemFree:          201440 kB
909
MemAvailable:     213308 kB
910
Buffers:               0 kB
911
!!!MemVsz 0: 4876 KB
912
SIGRTMAX-1= 63
913
SerManager new: 19f5710
914
!!!MemVsz change: 128 KB
915
!!!MemVsz change: 4888 KB
916
!!!MemVsz change: 1248 KB
917

    
918
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
919

    
920
SerDef=RS485-2:9600,n,8,1 Type=2068
921
testSM SM=19f83a8
922
CSerCom InitCom: 19f8538  1
923
CSerCom UpdParams: ComPort: RS485-2, 0, 0
924
CSerCom::Open: /dev/RS485-2,9600,8,N,0
925
set serial done+!
926
RS485-2:9600,n,8,1[100002] open ok!
927
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
928
MemFree:          201132 kB
929
MemAvailable:     213000 kB
930
Buffers:               0 kB
931
start SMxxx->DataGet ...
932
SEND: 02 02 00 23 00 2A 08 2C
933
RECV:
934
testSM-0001 10:11:59  RS485-2:9600,n,8,1
935
SEND: 02 02 00 23 00 2A 08 2C
936
RECV:
937
^C
938
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-2:9600,n,8,1
939
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
940
MemFree:          201432 kB
941
MemAvailable:     213300 kB
942
Buffers:               0 kB
943
!!!MemVsz 0: 4876 KB
944
SIGRTMAX-1= 63
945
SerManager new: f80710
946
!!!MemVsz change: 128 KB
947
!!!MemVsz change: 4888 KB
948
!!!MemVsz change: 1248 KB
949

    
950
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
951

    
952
SerDef=RS485-2:9600,n,8,1 Type=2068
953
testSM SM=f833a8
954
CSerCom InitCom: f83538  1
955
CSerCom UpdParams: ComPort: RS485-2, 0, 0
956
CSerCom::Open: /dev/RS485-2,9600,8,N,0
957
set serial done+!
958
RS485-2:9600,n,8,1[100002] open ok!
959
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
960
MemFree:          201064 kB
961
MemAvailable:     212932 kB
962
Buffers:               0 kB
963
start SMxxx->DataGet ...
964
SEND: 01 02 00 23 00 2A 08 1F
965
RECV:
966
testSM-0001 10:12:07  RS485-2:9600,n,8,1
967
SEND: 01 02 00 23 00 2A 08 1F
968
RECV:
969
testSM-0002 10:12:09  RS485-2:9600,n,8,1
970
SEND: 01 02 00 23 00 2A 08 1F
971
RECV:
972
^C
973
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 4 0 0 0 RS485-1:9600,n,8,1
974
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
975
MemFree:          201484 kB
976
MemAvailable:     213352 kB
977
Buffers:               0 kB
978
!!!MemVsz 0: 4876 KB
979
SIGRTMAX-1= 63
980
SerManager new: 97e710
981
!!!MemVsz change: 128 KB
982
!!!MemVsz change: 4888 KB
983
!!!MemVsz change: 1248 KB
984

    
985
SMxxx: Type=2068  Addr=4  Port=0  Tag1=0  Ext1=0
986

    
987
SerDef=RS485-1:9600,n,8,1 Type=2068
988
testSM SM=9813a8
989
CSerCom InitCom: 981538  1
990
CSerCom UpdParams: ComPort: RS485-1, 0, 0
991
CSerCom::Open: /dev/RS485-1,9600,8,N,0
992
set serial done+!
993
RS485-1:9600,n,8,1[100001] open ok!
994
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
995
MemFree:          201116 kB
996
MemAvailable:     212984 kB
997
Buffers:               0 kB
998
start SMxxx->DataGet ...
999
SEND: 04 02 00 23 00 2A 08 4A
1000
RECV: 04 02 06 00 00 00 00 00 00 DF E9
1001
SEND: 04 03 00 01 00 23 55 86
1002
RECV: 04 03 46 00 53 00 51 00 00 00 50 00 57 00 00 00 00 00 00 00 00 00 00 01 9F              00 D2 01 F4 00 D2 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 51 70
1003
testSM-0001 10:12:22  RS485-1:9600,n,8,1
1004
SEND: 04 02 00 23 00 2A 08 4A
1005
^C
1006
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 1 0 0 0 RS485-2:9600,n,8,1
1007
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1008
MemFree:          201468 kB
1009
MemAvailable:     213336 kB
1010
Buffers:               0 kB
1011
!!!MemVsz 0: 4876 KB
1012
SIGRTMAX-1= 63
1013
SerManager new: 1026710
1014
!!!MemVsz change: 128 KB
1015
!!!MemVsz change: 4888 KB
1016
!!!MemVsz change: 1248 KB
1017

    
1018
SMxxx: Type=2068  Addr=1  Port=0  Tag1=0  Ext1=0
1019

    
1020
SerDef=RS485-2:9600,n,8,1 Type=2068
1021
testSM SM=10293a8
1022
CSerCom InitCom: 1029538  1
1023
CSerCom UpdParams: ComPort: RS485-2, 0, 0
1024
CSerCom::Open: /dev/RS485-2,9600,8,N,0
1025
set serial done+!
1026
RS485-2:9600,n,8,1[100002] open ok!
1027
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1028
MemFree:          201108 kB
1029
MemAvailable:     212976 kB
1030
Buffers:               0 kB
1031
start SMxxx->DataGet ...
1032
SEND: 01 02 00 23 00 2A 08 1F
1033
RECV:
1034
testSM-0001 10:12:37  RS485-2:9600,n,8,1
1035
SEND: 01 02 00 23 00 2A 08 1F
1036
RECV:
1037
^C
1038
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-2:9600,n,8,1
1039
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1040
MemFree:          201500 kB
1041
MemAvailable:     213368 kB
1042
Buffers:               0 kB
1043
!!!MemVsz 0: 4876 KB
1044
SIGRTMAX-1= 63
1045
SerManager new: acc710
1046
!!!MemVsz change: 128 KB
1047
!!!MemVsz change: 4888 KB
1048
!!!MemVsz change: 1248 KB
1049

    
1050
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
1051

    
1052
SerDef=RS485-2:9600,n,8,1 Type=2068
1053
testSM SM=acf3a8
1054
CSerCom InitCom: acf538  1
1055
CSerCom UpdParams: ComPort: RS485-2, 0, 0
1056
CSerCom::Open: /dev/RS485-2,9600,8,N,0
1057
set serial done+!
1058
RS485-2:9600,n,8,1[100002] open ok!
1059
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1060
MemFree:          201192 kB
1061
MemAvailable:     213060 kB
1062
Buffers:               0 kB
1063
start SMxxx->DataGet ...
1064
SEND: 02 02 00 23 00 2A 08 2C
1065
RECV:
1066
testSM-0001 10:12:49  RS485-2:9600,n,8,1
1067
SEND: 02 02 00 23 00 2A 08 2C
1068
RECV:
1069
^C
1070
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
1071
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1072
MemFree:          199500 kB
1073
MemAvailable:     211968 kB
1074
Buffers:               0 kB
1075
!!!MemVsz 0: 4876 KB
1076
SIGRTMAX-1= 63
1077
SerManager new: 1bc8710
1078
!!!MemVsz change: 128 KB
1079
!!!MemVsz change: 4888 KB
1080
!!!MemVsz change: 1248 KB
1081

    
1082
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
1083

    
1084
SerDef=RS485-1:9600,n,8,1 Type=2068
1085
testSM SM=1bcb3a8
1086
CSerCom InitCom: 1bcb538  1
1087
CSerCom UpdParams: ComPort: RS485-1, 0, 0
1088
CSerCom::Open: /dev/RS485-1,9600,8,N,0
1089
set serial done+!
1090
RS485-1:9600,n,8,1[100001] open ok!
1091
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1092
MemFree:          201000 kB
1093
MemAvailable:     213468 kB
1094
Buffers:               0 kB
1095
start SMxxx->DataGet ...
1096
SEND: 02 02 00 23 00 2A 08 2C
1097
RECV:
1098
testSM-0001 10:39:06  RS485-1:9600,n,8,1
1099
SEND: 02 02 00 23 00 2A 08 2C
1100
RECV:
1101
^C
1102
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-2:9600,n,8,1
1103
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1104
MemFree:          201372 kB
1105
MemAvailable:     213844 kB
1106
Buffers:               0 kB
1107
!!!MemVsz 0: 4876 KB
1108
SIGRTMAX-1= 63
1109
SerManager new: 4fc710
1110
!!!MemVsz change: 128 KB
1111
!!!MemVsz change: 4888 KB
1112
!!!MemVsz change: 1248 KB
1113

    
1114
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
1115

    
1116
SerDef=RS485-2:9600,n,8,1 Type=2068
1117
testSM SM=4ff3a8
1118
CSerCom InitCom: 4ff538  1
1119
CSerCom UpdParams: ComPort: RS485-2, 0, 0
1120
CSerCom::Open: /dev/RS485-2,9600,8,N,0
1121
set serial done+!
1122
RS485-2:9600,n,8,1[100002] open ok!
1123
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1124
MemFree:          201080 kB
1125
MemAvailable:     213552 kB
1126
Buffers:               0 kB
1127
start SMxxx->DataGet ...
1128
SEND: 02 02 00 23 00 2A 08 2C
1129
RECV:
1130
testSM-0001 10:39:20  RS485-2:9600,n,8,1
1131
SEND: 02 02 00 23 00 2A 08 2C
1132
RECV:
1133
^C
1134
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 3 0 0 0 RS485-2:9600,n,8,1
1135
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1136
MemFree:          201408 kB
1137
MemAvailable:     213880 kB
1138
Buffers:               0 kB
1139
!!!MemVsz 0: 4876 KB
1140
SIGRTMAX-1= 63
1141
SerManager new: adf710
1142
!!!MemVsz change: 128 KB
1143
!!!MemVsz change: 4888 KB
1144
!!!MemVsz change: 1248 KB
1145

    
1146
SMxxx: Type=2068  Addr=3  Port=0  Tag1=0  Ext1=0
1147

    
1148
SerDef=RS485-2:9600,n,8,1 Type=2068
1149
testSM SM=ae23a8
1150
CSerCom InitCom: ae2538  1
1151
CSerCom UpdParams: ComPort: RS485-2, 0, 0
1152
CSerCom::Open: /dev/RS485-2,9600,8,N,0
1153
set serial done+!
1154
RS485-2:9600,n,8,1[100002] open ok!
1155
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1156
MemFree:          200980 kB
1157
MemAvailable:     213452 kB
1158
Buffers:               0 kB
1159
start SMxxx->DataGet ...
1160
SEND: 03 02 00 23 00 2A 09 FD
1161
RECV: 03 02 06 00 00 00 00 00 00 F9 D9
1162
SEND: 03 03 00 01 00 23 54 31
1163
RECV: 03 03 46 00 67 00 82 00 00 00 32 00 36 00 00 00 00 00 00 00 00 00 00 01 BB              00 C9 01 F4 00 C8 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA A6 50
1164
testSM-0001 10:39:33  RS485-2:9600,n,8,1
1165
SEND: 03 02 00 23 00 2A 09 FD
1166
RECV: 03 02 06 00 00 00 00 00 00 F9 D9
1167
SEND: 03 03 00 01 00 23 54 31
1168
RECV: 03 03 46 00 67 00 82 00 00 00 32 00 36 00 00 00 00 00 00 00 00 00 00 01 BB              00 C9 01 F4 00 C8 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA A6 50
1169
testSM-0002 10:39:35  RS485-2:9600,n,8,1
1170
SEND: 03 02 00 23 00 2A 09 FD
1171
RECV: 03 02 06 00 00 00 00 00 00 F9 D9
1172
SEND: 03 03 00 01 00 23 54 31
1173
RECV: 03 03 46 00 67 00 81 00 00 00 32 00 36 00 00 00 00 00 00 00 00 00 00 01 BB              00 C9 01 F4 00 C8 D8 F1 00 FA 00 F0 00 02 00 32 00 0A 00 AA 00 64 00 8C 00 1E 0             0 00 00 C8 00 DC 00 28 00 28 00 50 00 50 01 0E 02 8A 01 5E 00 AA 9A 14
1174
^C
1175
[root@OM-A8-L200:NandFlash]# ./sscomx
1176
Input the com prot: RS485-1
1177
baudrate: 9600
1178
Parity(n\o\e): n
1179
DataBit(5\6\7\8): 8
1180
StopBit(1\2): 1
1181
data types:
1182
   1. hex
1183
   2. ascii
1184
select data type: 1
1185
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
1186
send: ^C
1187
[root@OM-A8-L200:NandFlash]# ^C
1188
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-2:9600,n,8,1
1189
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1190
MemFree:          201080 kB
1191
MemAvailable:     213740 kB
1192
Buffers:               0 kB
1193
!!!MemVsz 0: 4876 KB
1194
SIGRTMAX-1= 63
1195
SerManager new: 99c710
1196
!!!MemVsz change: 128 KB
1197
!!!MemVsz change: 4888 KB
1198
!!!MemVsz change: 1248 KB
1199

    
1200
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
1201

    
1202
SerDef=RS485-2:9600,n,8,1 Type=2068
1203
testSM SM=99f3a8
1204
CSerCom InitCom: 99f538  1
1205
CSerCom UpdParams: ComPort: RS485-2, 0, 0
1206
CSerCom::Open: /dev/RS485-2,9600,8,N,0
1207
set serial done+!
1208
RS485-2:9600,n,8,1[100002] open ok!
1209
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1210
MemFree:          200772 kB
1211
MemAvailable:     213432 kB
1212
Buffers:               0 kB
1213
start SMxxx->DataGet ...
1214
SEND: 02 02 00 23 00 2A 08 2C
1215
RECV:
1216
testSM-0001 10:46:10  RS485-2:9600,n,8,1
1217
SEND: 02 02 00 23 00 2A 08 2C
1218
RECV:
1219
testSM-0002 10:46:11  RS485-2:9600,n,8,1
1220
SEND: 02 02 00 23 00 2A 08 2C
1221
RECV:
1222
^C
1223
[root@OM-A8-L200:NandFlash]# ./sscomx
1224
Input the com prot: RS485-1
1225
baudrate: 9600
1226
Parity(n\o\e): n
1227
DataBit(5\6\7\8): 8
1228
StopBit(1\2): 1
1229
data types:
1230
   1. hex
1231
   2. ascii
1232
select data type: 1
1233
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
1234
send: 01 03 10 01 00 01 D1 0A
1235
rece: 01 03 02 00 00 B8 44
1236
send: 01 03 10 01 00 01 D1 0A
1237
rece: 01 03 02 00 00 B8 44
1238
send: 01 03 10 10 00 01 81 0F
1239
rece: 01 03 02 00 00 B8 44
1240
send: 01 03 10 10 00 01 81 0F
1241
rece: 01 03 02 00 00 B8 44
1242
send: 01 03 20 19 00 01 5E 0D
1243
rece: 01 03 02 33 EA 2D 3B
1244
send: ^C
1245
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-2:9600,n,8,1
1246
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1247
MemFree:          201084 kB
1248
MemAvailable:     213748 kB
1249
Buffers:               0 kB
1250
!!!MemVsz 0: 4876 KB
1251
SIGRTMAX-1= 63
1252
SerManager new: 1dac710
1253
!!!MemVsz change: 128 KB
1254
!!!MemVsz change: 4888 KB
1255
!!!MemVsz change: 1248 KB
1256

    
1257
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
1258

    
1259
SerDef=RS485-2:9600,n,8,1 Type=2068
1260
testSM SM=1daf3a8
1261
CSerCom InitCom: 1daf538  1
1262
CSerCom UpdParams: ComPort: RS485-2, 0, 0
1263
CSerCom::Open: /dev/RS485-2,9600,8,N,0
1264
set serial done+!
1265
RS485-2:9600,n,8,1[100002] open ok!
1266
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1267
MemFree:          200700 kB
1268
MemAvailable:     213364 kB
1269
Buffers:               0 kB
1270
start SMxxx->DataGet ...
1271
SEND: 02 02 00 23 00 2A 08 2C
1272
RECV:
1273
testSM-0001 10:49:36  RS485-2:9600,n,8,1
1274
SEND: 02 02 00 23 00 2A 08 2C
1275
RECV:
1276
^C
1277
[root@OM-A8-L200:NandFlash]# ./sscomx
1278
Input the com prot: RS485-1
1279
baudrate: 9600
1280
Parity(n\o\e): n
1281
DataBit(5\6\7\8): 8
1282
StopBit(1\2): 1
1283
data types:
1284
   1. hex
1285
   2. ascii
1286
select data type: 1
1287
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
1288
send: 01 03 20 1A 00 01 AE 0D
1289
rece: 01 03 02 33 F0 AC F0
1290
send: 01 03 10 02 00 01 21 0A
1291
rece: 01 03 02 00 00 B8 44
1292
send: 01 03 10 02 00 01 21 0A
1293
rece: 01 03 02 00 00 B8 44
1294
send: ^C
1295
[root@OM-A8-L200:NandFlash]# ./sscomx
1296
Input the com prot: RS485-1
1297
baudrate: 9600
1298
Parity(n\o\e): n
1299
DataBit(5\6\7\8): 8
1300
StopBit(1\2): 1
1301
data types:
1302
   1. hex
1303
   2. ascii
1304
select data type: 1
1305
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
1306
send: 01 03 10 02 00 0F A0 CE
1307
rece: 01 03 1E 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 D8 BA
1308
send: 01 03 20 01 00 08 1E 0C
1309
rece: 01 03 10 00 0A 00 00 10 89 00 02 00 00 00 00 30 D0 00 00 3F 66
1310
send: ^C
1311
[root@OM-A8-L200:NandFlash]# ^C
1312
[root@OM-A8-L200:NandFlash]# ^C
1313
[root@OM-A8-L200:NandFlash]# ^C
1314
[root@OM-A8-L200:NandFlash]# ^C
1315
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-1:9600,n,8,1
1316
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1317
MemFree:          201448 kB
1318
MemAvailable:     214168 kB
1319
Buffers:               0 kB
1320
!!!MemVsz 0: 4876 KB
1321
SIGRTMAX-1= 63
1322
SerManager new: c5e710
1323
!!!MemVsz change: 128 KB
1324
!!!MemVsz change: 4888 KB
1325
!!!MemVsz change: 1248 KB
1326

    
1327
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
1328

    
1329
SerDef=RS485-1:9600,n,8,1 Type=2068
1330
testSM SM=c613a8
1331
CSerCom InitCom: c61538  1
1332
CSerCom UpdParams: ComPort: RS485-1, 0, 0
1333
CSerCom::Open: /dev/RS485-1,9600,8,N,0
1334
set serial done+!
1335
RS485-1:9600,n,8,1[100001] open ok!
1336
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1337
MemFree:          201080 kB
1338
MemAvailable:     213800 kB
1339
Buffers:               0 kB
1340
start SMxxx->DataGet ...
1341
SEND: 02 02 00 23 00 2A 08 2C
1342
RECV:
1343
testSM-0001 11:28:27  RS485-1:9600,n,8,1
1344
SEND: 02 02 00 23 00 2A 08 2C
1345
RECV:
1346
testSM-0002 11:28:28  RS485-1:9600,n,8,1
1347
SEND: 02 02 00 23 00 2A 08 2C
1348
RECV:
1349
testSM-0003 11:28:30  RS485-1:9600,n,8,1
1350
SEND: 02 02 00 23 00 2A 08 2C
1351
RECV:
1352
testSM-0004 11:28:31  RS485-1:9600,n,8,1
1353
SEND: 02 02 00 23 00 2A 08 2C
1354
^C
1355
[root@OM-A8-L200:NandFlash]# ./omDemo1 2068 2 0 0 0 RS485-2:9600,n,8,1
1356
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1357
MemFree:          201400 kB
1358
MemAvailable:     214120 kB
1359
Buffers:               0 kB
1360
!!!MemVsz 0: 4876 KB
1361
SIGRTMAX-1= 63
1362
SerManager new: 1e0c710
1363
!!!MemVsz change: 128 KB
1364
!!!MemVsz change: 4888 KB
1365
!!!MemVsz change: 1248 KB
1366

    
1367
SMxxx: Type=2068  Addr=2  Port=0  Tag1=0  Ext1=0
1368

    
1369
SerDef=RS485-2:9600,n,8,1 Type=2068
1370
testSM SM=1e0f3a8
1371
CSerCom InitCom: 1e0f538  1
1372
CSerCom UpdParams: ComPort: RS485-2, 0, 0
1373
CSerCom::Open: /dev/RS485-2,9600,8,N,0
1374
set serial done+!
1375
RS485-2:9600,n,8,1[100002] open ok!
1376
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
1377
MemFree:          201032 kB
1378
MemAvailable:     213752 kB
1379
Buffers:               0 kB
1380
start SMxxx->DataGet ...
1381
SEND: 02 02 00 23 00 2A 08 2C
1382
RECV:
1383
testSM-0001 11:28:51  RS485-2:9600,n,8,1
1384
SEND: 02 02 00 23 00 2A 08 2C
1385
RECV:
1386
^C
1387
[root@OM-A8-L200:NandFlash]# top
1388
Mem: 49508K used, 198776K free, 2060K shrd, 0K buff, 19008K cached
1389
CPU: 100% usr   0% sys   0% nic   0% idle   0% io   0% irq   0% sirq
1390
Load average: 0.99 0.82 0.61 2/70 24829
1391
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
1392
22731     1 root     S    55772  22%  91% ./omAppSU
1393
24829  7215 root     R     2724   1%   9% top
1394
  618     1 root     S    15448   6%   0% ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpu
1395
  688     1 root     S    15208   6%   0% ./omTray
1396
23332   452 root     S     4796   2%   0% sshd: root@notty
1397
 7168   452 root     S     4796   2%   0% sshd: root@pts/0
1398
 8248   452 root     S     4796   2%   0% sshd: root@notty
1399
  487     1 root     S     4776   2%   0% /usr/sbin/ofonod
1400
  452     1 root     S     4668   2%   0% /usr/sbin/sshd
1401
  482     1 avahi    S     3460   1%   0% avahi-daemon: running [OM-A8-L200.local]
1402
  483   482 avahi    S     3460   1%   0% avahi-daemon: chroot helper
1403
 7215  7168 root     S     3000   1%   0% -sh
1404
23350 23332 root     S     3000   1%   0% -sh
1405
 8251  8248 root     S     3000   1%   0% -sh
1406
  436     1 messageb S     2912   1%   0% /usr/bin/dbus-daemon --system
1407
  117     1 root     S     2836   1%   0% /sbin/udevd -d
1408
  721     1 root     S     2768   1%   0% {start_getty} /bin/sh /bin/start_getty 115200 ttymx
1409
  505     1 root     S     2764   1%   0% {rmimages.sh} /bin/sh ./rmimages.sh 100
1410
  472     1 root     S     2724   1%   0% /sbin/syslogd -n -O /var/log/messages
1411
  475     1 root     S     2724   1%   0% /sbin/klogd -n
1412
  722     1 root     S     2724   1%   0% /sbin/getty 38400 tty1
1413
  723   721 root     S     2724   1%   0% /sbin/getty -L 115200 ttymxc0
1414
24678   505 root     S     2592   1%   0% sleep 300
1415
  457     1 rpc      S     2196   1%   0% /usr/sbin/rpcbind
1416
  497     1 root     S     1948   1%   0% /usr/sbin/cron
1417
    1     0 root     S     1708   1%   0% init [5]
1418
    7     2 root     SW       0   0%   0% [rcu_preempt]
1419
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
1420
  143     2 root     SW       0   0%   0% [ubifs_bgt0_0]
1421
21304     2 root     SW       0   0%   0% [kworker/0:1]
1422
22686     2 root     SW       0   0%   0% [kworker/0:0]
1423
23940     2 root     SW       0   0%   0% [kworker/0:2]
1424
   80     2 root     SW       0   0%   0% [ubi_bgt0d]
1425
    2     0 root     SW       0   0%   0% [kthreadd]
1426
   12     2 root     SW       0   0%   0% [kdevtmpfs]
1427
22741     2 root     SW       0   0%   0% [kworker/u2:0]
1428
    5     2 root     SW<      0   0%   0% [kworker/0:0H]
1429
    8     2 root     SW       0   0%   0% [rcu_sched]
1430
    9     2 root     SW       0   0%   0% [rcu_bh]
1431
   10     2 root     SW       0   0%   0% [migration/0]
1432
   11     2 root     SW<      0   0%   0% [khelper]
1433
   13     2 root     SW<      0   0%   0% [perf]
1434
   14     2 root     SW<      0   0%   0% [writeback]
1435
   15     2 root     SW<      0   0%   0% [crypto]
1436
   16     2 root     SW<      0   0%   0% [bioset]
1437
[root@OM-A8-L200:NandFlash]# ./sscomx
1438
Input the com prot: RS485-1
1439
baudrate: 9600
1440
Parity(n\o\e): n
1441
DataBit(5\6\7\8): 8
1442
StopBit(1\2): 1
1443
data types:
1444
   1. hex
1445
   2. ascii
1446
select data type: 1
1447
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
1448
send: 02 03 20 03 00 06 3E 3B\
1449
no data receive!
1450
send: 02 03 20 03 00 06 3E 3B
1451
rece: 02 03 0C 10 E3 00 01 00 00 00 00 30 CA 00 01 AA 67
1452
send:
1453
no data receive!
1454
send: 03 03 20 03 00 06 3F EA
1455
no data receive!
1456
send: 03 03 20 03 00 06 3F EA
1457
no data receive!
1458
send: 04 03 20 03 00 06 3E 5D04 03 20 03 00 06 3E 5D
1459
no data receive!
1460
send: 04 03 20 03 00 06 3E 5D
1461
no data receive!
1462
send: 02 03 10 02 00 0F A0 FD
1463
rece: 02 03 1E 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 6C BA
1464
send: 03 03 10 02 00 0F A1 2C
1465
no data receive!
1466
send: ^C
1467
[root@OM-A8-L200:NandFlash]# ./sscomx
1468
Input the com prot: RS485-1
1469
baudrate: 9600
1470
Parity(n\o\e): n
1471
DataBit(5\6\7\8): 8
1472
StopBit(1\2): 1
1473
data types:
1474
   1. hex
1475
   2. ascii
1476
select data type: 1
1477
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
1478
send: 01 03 20 03 00 06 3E 08
1479
rece: 01 03 0C 10 89 00 01 00 00 00 00 30 C8 00 00 56 BF
1480
send: 01 03 20 0D 00 08 DE 0F
1481
rece: 01 03 10 03 01 00 00 10 E8 00 02 00 00 00 00 30 B3 00 00 3E 73
1482
send: 02 03 20 03 00 06 3E 3B
1483
rece: 02 03 0C 10 E4 00 00 00 00 00 00 30 BC 00 00 9D 99
1484
send: 02 03 20 0D 00 08 DE 3C
1485
rece: 02 03 10 03 01 00 00 10 16 00 06 00 00 00 00 30 BD 00 00 1E DF
1486
send: