1
|
[root@M28x NandFlash]# ./omDemo1 4881 1 0 0 0 ttySP3:9600:n:8:1
|
2
|
MemTotal: 124460 kB
|
3
|
MemFree: 94416 kB
|
4
|
Buffers: 0 kB
|
5
|
Cached: 13848 kB
|
6
|
!!!MemVsz 0: 4188 KB
|
7
|
SIGRTMAX-1= 63
|
8
|
SerManager new: 193f8
|
9
|
!!!MemVsz change: 108 KB
|
10
|
!!!MemVsz change: 5072 KB
|
11
|
!!!MemVsz change: 1036 KB
|
12
|
|
13
|
SMxxx: Type=4881 Addr=1 Port=0 Tag1=0 Ext1=0
|
14
|
|
15
|
SerDef=ttySP3:9600:n:8:1 Type=4881
|
16
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
17
|
testSM SM=1be30
|
18
|
CSerCom InitCom: 1c048 1
|
19
|
CSerCom UpdParams: ComPort: ttySP3, 0, 0
|
20
|
CSerCom::Open: /dev/ttySP3,9600,8,N,0
|
21
|
set serial done+!
|
22
|
ttySP3:9600,n,8,1[100003] open ok!
|
23
|
MemTotal: 124460 kB
|
24
|
MemFree: 94108 kB
|
25
|
Buffers: 0 kB
|
26
|
Cached: 13848 kB
|
27
|
start SMxxx->DataGet ...
|
28
|
SEND: 01 03 00 01 00 32 95 DF
|
29
|
RECV: msg.len > 256
|
30
|
t=4881 iaddr=1 iext=0
|
31
|
40002=2325
|
32
|
40003=2326
|
33
|
40004=410
|
34
|
40005=0
|
35
|
40006=0
|
36
|
40007=0
|
37
|
40008=68
|
38
|
40009=66
|
39
|
40010=0
|
40
|
40011=1
|
41
|
40012=57
|
42
|
40013=60
|
43
|
40014=3
|
44
|
40015=0
|
45
|
40016=95
|
46
|
40017=90
|
47
|
40018=3
|
48
|
40019=1
|
49
|
40020=579
|
50
|
40021=737
|
51
|
40022=0
|
52
|
40023=999
|
53
|
40024=4097
|
54
|
40025=4028
|
55
|
40026=4098
|
56
|
40027=4999
|
57
|
40028=4999
|
58
|
40029=4999
|
59
|
40030=0
|
60
|
40031=21607
|
61
|
40032=0
|
62
|
40033=4
|
63
|
40034=0
|
64
|
40035=21603
|
65
|
40036=0
|
66
|
40037=2658
|
67
|
40038=0
|
68
|
40039=5
|
69
|
40040=0
|
70
|
40041=2653
|
71
|
40042=1
|
72
|
40043=20
|
73
|
40044=53329
|
74
|
40045=0
|
75
|
40046=0
|
76
|
40047=1
|
77
|
40048=1
|
78
|
40049=2
|
79
|
40050=0
|
80
|
40051=2
|
81
|
brief=电压: V, 温度: 232.5 ℃,湿度:%3% %
|
82
|
SEND: 01 03 00 01 00 32 95 DF
|
83
|
RECV: msg.len > 256
|
84
|
t=4881 iaddr=1 iext=0
|
85
|
40002=2324
|
86
|
40003=2326
|
87
|
40004=409
|
88
|
40005=0
|
89
|
40006=0
|
90
|
40007=0
|
91
|
40008=68
|
92
|
40009=66
|
93
|
40010=0
|
94
|
40011=1
|
95
|
40012=57
|
96
|
40013=60
|
97
|
40014=3
|
98
|
40015=0
|
99
|
40016=94
|
100
|
40017=89
|
101
|
40018=3
|
102
|
40019=1
|
103
|
40020=579
|
104
|
40021=737
|
105
|
40022=0
|
106
|
40023=999
|
107
|
40024=4097
|
108
|
40025=4028
|
109
|
40026=4098
|
110
|
40027=4999
|
111
|
40028=4999
|
112
|
40029=4999
|
113
|
40030=0
|
114
|
40031=21607
|
115
|
40032=0
|
116
|
40033=4
|
117
|
40034=0
|
118
|
40035=21603
|
119
|
40036=0
|
120
|
40037=2658
|
121
|
40038=0
|
122
|
40039=5
|
123
|
40040=0
|
124
|
40041=2653
|
125
|
40042=1
|
126
|
40043=20
|
127
|
40044=53329
|
128
|
40045=0
|
129
|
40046=0
|
130
|
40047=1
|
131
|
40048=1
|
132
|
40049=2
|
133
|
40050=0
|
134
|
40051=2
|
135
|
brief=电压: V, 温度: 232.4 ℃,湿度:%3% %
|
136
|
SEND: 01 03 00 01 00 32 95 DF
|
137
|
RECV: msg.len > 256
|
138
|
t=4881 iaddr=1 iext=0
|
139
|
40002=2324
|
140
|
40003=2325
|
141
|
40004=409
|
142
|
40005=0
|
143
|
40006=0
|
144
|
40007=0
|
145
|
40008=68
|
146
|
40009=66
|
147
|
40010=0
|
148
|
40011=1
|
149
|
40012=57
|
150
|
40013=60
|
151
|
40014=3
|
152
|
40015=0
|
153
|
40016=94
|
154
|
40017=89
|
155
|
40018=3
|
156
|
40019=1
|
157
|
40020=579
|
158
|
40021=737
|
159
|
40022=0
|
160
|
40023=999
|
161
|
40024=4095
|
162
|
40025=4027
|
163
|
40026=4097
|
164
|
40027=5000
|
165
|
40028=5000
|
166
|
40029=5000
|
167
|
40030=0
|
168
|
40031=21607
|
169
|
40032=0
|
170
|
40033=4
|
171
|
40034=0
|
172
|
40035=21603
|
173
|
40036=0
|
174
|
40037=2658
|
175
|
40038=0
|
176
|
40039=5
|
177
|
40040=0
|
178
|
40041=2653
|
179
|
40042=1
|
180
|
40043=20
|
181
|
40044=53329
|
182
|
40045=0
|
183
|
40046=0
|
184
|
40047=1
|
185
|
40048=1
|
186
|
40049=2
|
187
|
40050=0
|
188
|
40051=2
|
189
|
brief=电压: V, 温度: 232.4 ℃,湿度:%3% %
|
190
|
SEND: 01 03 00 01 00 32 95 DF
|
191
|
RECV: msg.len > 256
|
192
|
t=4881 iaddr=1 iext=0
|
193
|
40002=2325
|
194
|
40003=2326
|
195
|
40004=410
|
196
|
40005=0
|
197
|
40006=0
|
198
|
40007=0
|
199
|
40008=68
|
200
|
40009=66
|
201
|
40010=0
|
202
|
40011=1
|
203
|
40012=57
|
204
|
40013=60
|
205
|
40014=3
|
206
|
40015=0
|
207
|
40016=94
|
208
|
40017=89
|
209
|
40018=3
|
210
|
40019=1
|
211
|
40020=579
|
212
|
40021=738
|
213
|
40022=0
|
214
|
40023=999
|
215
|
40024=4096
|
216
|
40025=4027
|
217
|
40026=4096
|
218
|
40027=5000
|
219
|
40028=5000
|
220
|
40029=5000
|
221
|
40030=0
|
222
|
40031=21607
|
223
|
40032=0
|
224
|
40033=4
|
225
|
40034=0
|
226
|
40035=21603
|
227
|
40036=0
|
228
|
40037=2659
|
229
|
40038=0
|
230
|
40039=5
|
231
|
40040=0
|
232
|
40041=2654
|
233
|
40042=1
|
234
|
40043=20
|
235
|
40044=53329
|
236
|
40045=0
|
237
|
40046=0
|
238
|
40047=1
|
239
|
40048=1
|
240
|
40049=2
|
241
|
40050=0
|
242
|
40051=2
|
243
|
brief=电压: V, 温度: 232.5 ℃,湿度:%3% %
|
244
|
SEND: 01 03 00 01 00 32 95 DF
|
245
|
RECV: msg.len > 256
|
246
|
t=4881 iaddr=1 iext=0
|
247
|
40002=2325
|
248
|
40003=2326
|
249
|
40004=410
|
250
|
40005=0
|
251
|
40006=0
|
252
|
40007=0
|
253
|
40008=68
|
254
|
40009=66
|
255
|
40010=0
|
256
|
40011=1
|
257
|
40012=57
|
258
|
40013=60
|
259
|
40014=3
|
260
|
40015=0
|
261
|
40016=95
|
262
|
40017=90
|
263
|
40018=3
|
264
|
40019=1
|
265
|
40020=579
|
266
|
40021=737
|
267
|
40022=0
|
268
|
40023=999
|
269
|
40024=4096
|
270
|
40025=4028
|
271
|
40026=4097
|
272
|
40027=5001
|
273
|
40028=5001
|
274
|
40029=5000
|
275
|
40030=0
|
276
|
40031=21607
|
277
|
40032=0
|
278
|
40033=4
|
279
|
40034=0
|
280
|
40035=21603
|
281
|
40036=0
|
282
|
40037=2659
|
283
|
40038=0
|
284
|
40039=5
|
285
|
40040=0
|
286
|
40041=2654
|
287
|
40042=1
|
288
|
40043=20
|
289
|
40044=53329
|
290
|
40045=0
|
291
|
40046=0
|
292
|
40047=1
|
293
|
40048=1
|
294
|
40049=2
|
295
|
40050=0
|
296
|
40051=2
|
297
|
brief=电压: V, 温度: 232.5 ℃,湿度:%3% %
|
298
|
SEND: 01 03 00 01 00 32 95 DF
|
299
|
RECV: msg.len > 256
|
300
|
t=4881 iaddr=1 iext=0
|
301
|
40002=2323
|
302
|
40003=2325
|
303
|
40004=409
|
304
|
40005=0
|
305
|
40006=0
|
306
|
40007=0
|
307
|
40008=68
|
308
|
40009=66
|
309
|
40010=0
|
310
|
40011=1
|
311
|
40012=57
|
312
|
40013=60
|
313
|
40014=3
|
314
|
40015=0
|
315
|
40016=94
|
316
|
40017=89
|
317
|
40018=3
|
318
|
40019=1
|
319
|
40020=579
|
320
|
40021=737
|
321
|
40022=0
|
322
|
40023=999
|
323
|
40024=4096
|
324
|
40025=4028
|
325
|
40026=4097
|
326
|
40027=5001
|
327
|
40028=5001
|
328
|
40029=5000
|
329
|
40030=0
|
330
|
40031=21607
|
331
|
40032=0
|
332
|
40033=4
|
333
|
40034=0
|
334
|
40035=21603
|
335
|
40036=0
|
336
|
40037=2659
|
337
|
40038=0
|
338
|
40039=5
|
339
|
40040=0
|
340
|
40041=2654
|
341
|
40042=1
|
342
|
40043=20
|
343
|
40044=53329
|
344
|
40045=0
|
345
|
40046=0
|
346
|
40047=1
|
347
|
40048=1
|
348
|
40049=2
|
349
|
40050=0
|
350
|
40051=2
|
351
|
brief=电压: V, 温度: 232.3 ℃,湿度:%3% %
|
352
|
^C
|
353
|
[root@M28x NandFlash]# ./omDemo1 4881 1 0 0 0 ttySP3:9600:n:8:1
|
354
|
MemTotal: 124460 kB
|
355
|
MemFree: 94416 kB
|
356
|
Buffers: 0 kB
|
357
|
Cached: 13856 kB
|
358
|
!!!MemVsz 0: 4188 KB
|
359
|
SIGRTMAX-1= 63
|
360
|
SerManager new: 193f8
|
361
|
!!!MemVsz change: 108 KB
|
362
|
!!!MemVsz change: 5072 KB
|
363
|
!!!MemVsz change: 1036 KB
|
364
|
|
365
|
SMxxx: Type=4881 Addr=1 Port=0 Tag1=0 Ext1=0
|
366
|
|
367
|
SerDef=ttySP3:9600:n:8:1 Type=4881
|
368
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
369
|
testSM SM=1be30
|
370
|
CSerCom InitCom: 1c048 1
|
371
|
CSerCom UpdParams: ComPort: ttySP3, 0, 0
|
372
|
CSerCom::Open: /dev/ttySP3,9600,8,N,0
|
373
|
set serial done+!
|
374
|
ttySP3:9600,n,8,1[100003] open ok!
|
375
|
MemTotal: 124460 kB
|
376
|
MemFree: 94108 kB
|
377
|
Buffers: 0 kB
|
378
|
Cached: 13856 kB
|
379
|
start SMxxx->DataGet ...
|
380
|
SEND: 01 03 00 00 00 32 C4 1F
|
381
|
RECV: msg.len > 256
|
382
|
t=4881 iaddr=1 iext=0
|
383
|
40001=2404
|
384
|
40002=2326
|
385
|
40003=2327
|
386
|
40004=409
|
387
|
40005=0
|
388
|
40006=0
|
389
|
40007=0
|
390
|
40008=68
|
391
|
40009=66
|
392
|
40010=0
|
393
|
40011=1
|
394
|
40012=57
|
395
|
40013=60
|
396
|
40014=3
|
397
|
40015=0
|
398
|
40016=94
|
399
|
40017=89
|
400
|
40018=3
|
401
|
40019=1
|
402
|
40020=579
|
403
|
40021=738
|
404
|
40022=0
|
405
|
40023=999
|
406
|
40024=4095
|
407
|
40025=4029
|
408
|
40026=4096
|
409
|
40027=4996
|
410
|
40028=4996
|
411
|
40029=4996
|
412
|
40030=0
|
413
|
40031=21612
|
414
|
40032=0
|
415
|
40033=4
|
416
|
40034=0
|
417
|
40035=21608
|
418
|
40036=0
|
419
|
40037=2662
|
420
|
40038=0
|
421
|
40039=5
|
422
|
40040=0
|
423
|
40041=2657
|
424
|
40042=1
|
425
|
40043=20
|
426
|
40044=53329
|
427
|
40045=0
|
428
|
40046=0
|
429
|
40047=1
|
430
|
40048=1
|
431
|
40049=2
|
432
|
40050=0
|
433
|
brief=电压: 240.4 V, 温度: 232.6 ℃,湿度:%3% %
|
434
|
SEND: 01 03 00 00 00 32 C4 1F
|
435
|
^C
|
436
|
[root@M28x NandFlash]# ./omDemo1 4881 1 0 0 0 ttySP3:9600:n:8:1
|
437
|
MemTotal: 124460 kB
|
438
|
MemFree: 94424 kB
|
439
|
Buffers: 0 kB
|
440
|
Cached: 13856 kB
|
441
|
!!!MemVsz 0: 4188 KB
|
442
|
SIGRTMAX-1= 63
|
443
|
SerManager new: 193f8
|
444
|
!!!MemVsz change: 108 KB
|
445
|
!!!MemVsz change: 5072 KB
|
446
|
!!!MemVsz change: 1036 KB
|
447
|
|
448
|
SMxxx: Type=4881 Addr=1 Port=0 Tag1=0 Ext1=0
|
449
|
|
450
|
SerDef=ttySP3:9600:n:8:1 Type=4881
|
451
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
452
|
testSM SM=1be30
|
453
|
CSerCom InitCom: 1c048 1
|
454
|
CSerCom UpdParams: ComPort: ttySP3, 0, 0
|
455
|
CSerCom::Open: /dev/ttySP3,9600,8,N,0
|
456
|
set serial done+!
|
457
|
ttySP3:9600,n,8,1[100003] open ok!
|
458
|
MemTotal: 124460 kB
|
459
|
MemFree: 94116 kB
|
460
|
Buffers: 0 kB
|
461
|
Cached: 13856 kB
|
462
|
start SMxxx->DataGet ...
|
463
|
SEND: 01 03 00 00 00 32 C4 1F
|
464
|
RECV: msg.len > 256
|
465
|
t=4881 iaddr=1 iext=0
|
466
|
40001=2399
|
467
|
40002=2321
|
468
|
40003=2321
|
469
|
40004=407
|
470
|
40005=0
|
471
|
40006=0
|
472
|
40007=0
|
473
|
40008=68
|
474
|
40009=66
|
475
|
40010=0
|
476
|
40011=1
|
477
|
40012=56
|
478
|
40013=59
|
479
|
40014=3
|
480
|
40015=0
|
481
|
40016=94
|
482
|
40017=89
|
483
|
40018=3
|
484
|
40019=1
|
485
|
40020=580
|
486
|
40021=741
|
487
|
40022=0
|
488
|
40023=999
|
489
|
40024=4088
|
490
|
40025=4020
|
491
|
40026=4087
|
492
|
40027=5000
|
493
|
40028=5000
|
494
|
40029=5000
|
495
|
40030=0
|
496
|
40031=21624
|
497
|
40032=0
|
498
|
40033=4
|
499
|
40034=0
|
500
|
40035=21620
|
501
|
40036=0
|
502
|
40037=2672
|
503
|
40038=0
|
504
|
40039=5
|
505
|
40040=0
|
506
|
40041=2667
|
507
|
40042=1
|
508
|
40043=20
|
509
|
40044=53329
|
510
|
40045=0
|
511
|
40046=0
|
512
|
40047=1
|
513
|
40048=1
|
514
|
40049=2
|
515
|
40050=0
|
516
|
brief=电压: 239.9 V, 温度: 232.1 ℃,湿度:%3% %
|
517
|
SEND: 01 03 00 00 00 32 C4 1F
|
518
|
RECV: msg.len > 256
|
519
|
t=4881 iaddr=1 iext=0
|
520
|
40001=2399
|
521
|
40002=2321
|
522
|
40003=2321
|
523
|
40004=407
|
524
|
40005=0
|
525
|
40006=0
|
526
|
40007=0
|
527
|
40008=68
|
528
|
40009=66
|
529
|
40010=0
|
530
|
40011=1
|
531
|
40012=56
|
532
|
40013=59
|
533
|
40014=3
|
534
|
40015=0
|
535
|
40016=94
|
536
|
40017=89
|
537
|
40018=3
|
538
|
40019=1
|
539
|
40020=580
|
540
|
40021=740
|
541
|
40022=0
|
542
|
40023=999
|
543
|
40024=4088
|
544
|
40025=4020
|
545
|
40026=4087
|
546
|
40027=5000
|
547
|
40028=5000
|
548
|
40029=5000
|
549
|
40030=0
|
550
|
40031=21624
|
551
|
40032=0
|
552
|
40033=4
|
553
|
40034=0
|
554
|
40035=21620
|
555
|
40036=0
|
556
|
40037=2672
|
557
|
40038=0
|
558
|
40039=5
|
559
|
40040=0
|
560
|
40041=2667
|
561
|
40042=1
|
562
|
40043=20
|
563
|
40044=53329
|
564
|
40045=0
|
565
|
40046=0
|
566
|
40047=1
|
567
|
40048=1
|
568
|
40049=2
|
569
|
40050=0
|
570
|
brief=电压: 239.9 V, 温度: 232.1 ℃,湿度:%3% %
|
571
|
SEND: 01 03 00 00 00 32 C4 1F
|
572
|
RECV: msg.len > 256
|
573
|
t=4881 iaddr=1 iext=0
|
574
|
40001=2399
|
575
|
40002=2321
|
576
|
40003=2321
|
577
|
40004=407
|
578
|
40005=0
|
579
|
40006=0
|
580
|
40007=0
|
581
|
40008=68
|
582
|
40009=66
|
583
|
40010=0
|
584
|
40011=1
|
585
|
40012=56
|
586
|
40013=59
|
587
|
40014=3
|
588
|
40015=0
|
589
|
40016=94
|
590
|
40017=89
|
591
|
40018=3
|
592
|
40019=1
|
593
|
40020=580
|
594
|
40021=740
|
595
|
40022=0
|
596
|
40023=999
|
597
|
40024=4087
|
598
|
40025=4020
|
599
|
40026=4087
|
600
|
40027=5000
|
601
|
40028=5000
|
602
|
40029=5000
|
603
|
40030=0
|
604
|
40031=21624
|
605
|
40032=0
|
606
|
40033=4
|
607
|
40034=0
|
608
|
40035=21620
|
609
|
40036=0
|
610
|
40037=2672
|
611
|
40038=0
|
612
|
40039=5
|
613
|
40040=0
|
614
|
40041=2667
|
615
|
40042=1
|
616
|
40043=20
|
617
|
40044=53329
|
618
|
40045=0
|
619
|
40046=0
|
620
|
40047=1
|
621
|
40048=1
|
622
|
40049=2
|
623
|
40050=0
|
624
|
brief=电压: 239.9 V, 温度: 232.1 ℃,湿度:%3% %
|
625
|
^C
|
626
|
[root@M28x NandFlash]# ./omDemo1 4881 1 0 0 0 ttySP3:9600:n:8:1
|
627
|
MemTotal: 124460 kB
|
628
|
MemFree: 94416 kB
|
629
|
Buffers: 0 kB
|
630
|
Cached: 13856 kB
|
631
|
!!!MemVsz 0: 4188 KB
|
632
|
SIGRTMAX-1= 63
|
633
|
SerManager new: 193f8
|
634
|
!!!MemVsz change: 108 KB
|
635
|
!!!MemVsz change: 5072 KB
|
636
|
!!!MemVsz change: 1036 KB
|
637
|
|
638
|
SMxxx: Type=4881 Addr=1 Port=0 Tag1=0 Ext1=0
|
639
|
|
640
|
SerDef=ttySP3:9600:n:8:1 Type=4881
|
641
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
642
|
testSM SM=1be30
|
643
|
CSerCom InitCom: 1c048 1
|
644
|
CSerCom UpdParams: ComPort: ttySP3, 0, 0
|
645
|
CSerCom::Open: /dev/ttySP3,9600,8,N,0
|
646
|
set serial done+!
|
647
|
ttySP3:9600,n,8,1[100003] open ok!
|
648
|
MemTotal: 124460 kB
|
649
|
MemFree: 94108 kB
|
650
|
Buffers: 0 kB
|
651
|
Cached: 13856 kB
|
652
|
start SMxxx->DataGet ...
|
653
|
SEND: 01 03 00 00 00 37 04 1C
|
654
|
RECV: msg.len > 256
|
655
|
t=4881 iaddr=1 iext=0
|
656
|
40001=2403
|
657
|
40002=2325
|
658
|
40003=2326
|
659
|
40004=408
|
660
|
40005=0
|
661
|
40006=0
|
662
|
40007=0
|
663
|
40008=68
|
664
|
40009=66
|
665
|
40010=0
|
666
|
40011=1
|
667
|
40012=57
|
668
|
40013=60
|
669
|
40014=3
|
670
|
40015=0
|
671
|
40016=94
|
672
|
40017=89
|
673
|
40018=3
|
674
|
40019=1
|
675
|
40020=580
|
676
|
40021=740
|
677
|
40022=0
|
678
|
40023=999
|
679
|
40024=4095
|
680
|
40025=4028
|
681
|
40026=4096
|
682
|
40027=4998
|
683
|
40028=4998
|
684
|
40029=4998
|
685
|
40030=0
|
686
|
40031=21625
|
687
|
40032=0
|
688
|
40033=4
|
689
|
40034=0
|
690
|
40035=21621
|
691
|
40036=0
|
692
|
40037=2674
|
693
|
40038=0
|
694
|
40039=5
|
695
|
40040=0
|
696
|
40041=2669
|
697
|
40042=1
|
698
|
40043=20
|
699
|
40044=53329
|
700
|
40045=0
|
701
|
40046=0
|
702
|
40047=1
|
703
|
40048=1
|
704
|
40049=2
|
705
|
40050=0
|
706
|
40051=2
|
707
|
40052=2
|
708
|
40053=0
|
709
|
40054=0
|
710
|
40055=0
|
711
|
brief=电压: 240.3 V, 温度: 232.5 ℃,湿度:%3% %
|
712
|
SEND: 01 03 00 00 00 37 04 1C
|
713
|
RECV: msg.len > 256
|
714
|
t=4881 iaddr=1 iext=0
|
715
|
40001=2403
|
716
|
40002=2325
|
717
|
40003=2326
|
718
|
40004=408
|
719
|
40005=0
|
720
|
40006=0
|
721
|
40007=0
|
722
|
40008=68
|
723
|
40009=66
|
724
|
40010=0
|
725
|
40011=1
|
726
|
40012=57
|
727
|
40013=60
|
728
|
40014=3
|
729
|
40015=0
|
730
|
40016=94
|
731
|
40017=89
|
732
|
40018=3
|
733
|
40019=1
|
734
|
40020=580
|
735
|
40021=740
|
736
|
40022=0
|
737
|
40023=999
|
738
|
40024=4095
|
739
|
40025=4029
|
740
|
40026=4096
|
741
|
40027=4998
|
742
|
40028=4998
|
743
|
40029=4998
|
744
|
40030=0
|
745
|
40031=21625
|
746
|
40032=0
|
747
|
40033=4
|
748
|
40034=0
|
749
|
40035=21621
|
750
|
40036=0
|
751
|
40037=2674
|
752
|
40038=0
|
753
|
40039=5
|
754
|
40040=0
|
755
|
40041=2669
|
756
|
40042=1
|
757
|
40043=20
|
758
|
40044=53329
|
759
|
40045=0
|
760
|
40046=0
|
761
|
40047=1
|
762
|
40048=1
|
763
|
40049=2
|
764
|
40050=0
|
765
|
40051=2
|
766
|
40052=2
|
767
|
40053=0
|
768
|
40054=0
|
769
|
40055=0
|
770
|
brief=电压: 240.3 V, 温度: 232.5 ℃,湿度:%3% %
|
771
|
SEND: 01 03 00 00 00 37 04 1C
|
772
|
RECV: msg.len > 256
|
773
|
t=4881 iaddr=1 iext=0
|
774
|
40001=2403
|
775
|
40002=2325
|
776
|
40003=2326
|
777
|
40004=408
|
778
|
40005=0
|
779
|
40006=0
|
780
|
40007=0
|
781
|
40008=68
|
782
|
40009=66
|
783
|
40010=0
|
784
|
40011=1
|
785
|
40012=57
|
786
|
40013=60
|
787
|
40014=3
|
788
|
40015=0
|
789
|
40016=94
|
790
|
40017=89
|
791
|
40018=3
|
792
|
40019=1
|
793
|
40020=580
|
794
|
40021=740
|
795
|
40022=0
|
796
|
40023=999
|
797
|
40024=4095
|
798
|
40025=4028
|
799
|
40026=4095
|
800
|
40027=4998
|
801
|
40028=4998
|
802
|
40029=4998
|
803
|
40030=0
|
804
|
40031=21625
|
805
|
40032=0
|
806
|
40033=4
|
807
|
40034=0
|
808
|
40035=21621
|
809
|
40036=0
|
810
|
40037=2674
|
811
|
40038=0
|
812
|
40039=5
|
813
|
40040=0
|
814
|
40041=2669
|
815
|
40042=1
|
816
|
40043=20
|
817
|
40044=53329
|
818
|
40045=0
|
819
|
40046=0
|
820
|
40047=1
|
821
|
40048=1
|
822
|
40049=2
|
823
|
40050=0
|
824
|
40051=2
|
825
|
40052=2
|
826
|
40053=0
|
827
|
40054=0
|
828
|
40055=0
|
829
|
brief=电压: 240.3 V, 温度: 232.5 ℃,湿度:%3% %
|
830
|
SEND: 01 03 00 00 00 37 04 1C
|
831
|
RECV: msg.len > 256
|
832
|
t=4881 iaddr=1 iext=0
|
833
|
40001=2403
|
834
|
40002=2325
|
835
|
40003=2326
|
836
|
40004=408
|
837
|
40005=0
|
838
|
40006=0
|
839
|
40007=0
|
840
|
40008=68
|
841
|
40009=66
|
842
|
40010=0
|
843
|
40011=1
|
844
|
40012=57
|
845
|
40013=60
|
846
|
40014=3
|
847
|
40015=0
|
848
|
40016=94
|
849
|
40017=89
|
850
|
40018=3
|
851
|
40019=1
|
852
|
40020=580
|
853
|
40021=740
|
854
|
40022=0
|
855
|
40023=999
|
856
|
40024=4095
|
857
|
40025=4028
|
858
|
40026=4095
|
859
|
40027=4998
|
860
|
40028=4998
|
861
|
40029=4998
|
862
|
40030=0
|
863
|
40031=21626
|
864
|
40032=0
|
865
|
40033=4
|
866
|
40034=0
|
867
|
40035=21622
|
868
|
40036=0
|
869
|
40037=2674
|
870
|
40038=0
|
871
|
40039=5
|
872
|
40040=0
|
873
|
40041=2669
|
874
|
40042=1
|
875
|
40043=20
|
876
|
40044=53329
|
877
|
40045=0
|
878
|
40046=0
|
879
|
40047=1
|
880
|
40048=1
|
881
|
40049=2
|
882
|
40050=0
|
883
|
40051=2
|
884
|
40052=2
|
885
|
40053=0
|
886
|
40054=0
|
887
|
40055=0
|
888
|
brief=电压: 240.3 V, 温度: 232.5 ℃,湿度:%3% %
|
889
|
SEND: 01 03 00 00 00 37 04 1C
|
890
|
RECV: msg.len > 256
|
891
|
t=4881 iaddr=1 iext=0
|
892
|
40001=2402
|
893
|
40002=2324
|
894
|
40003=2326
|
895
|
40004=409
|
896
|
40005=0
|
897
|
40006=0
|
898
|
40007=0
|
899
|
40008=68
|
900
|
40009=66
|
901
|
40010=0
|
902
|
40011=1
|
903
|
40012=57
|
904
|
40013=60
|
905
|
40014=3
|
906
|
40015=0
|
907
|
40016=94
|
908
|
40017=89
|
909
|
40018=3
|
910
|
40019=1
|
911
|
40020=580
|
912
|
40021=740
|
913
|
40022=0
|
914
|
40023=999
|
915
|
40024=4094
|
916
|
40025=4028
|
917
|
40026=4095
|
918
|
40027=4997
|
919
|
40028=4997
|
920
|
40029=4997
|
921
|
40030=0
|
922
|
40031=21626
|
923
|
40032=0
|
924
|
40033=4
|
925
|
40034=0
|
926
|
40035=21622
|
927
|
40036=0
|
928
|
40037=2674
|
929
|
40038=0
|
930
|
40039=5
|
931
|
40040=0
|
932
|
40041=2669
|
933
|
40042=1
|
934
|
40043=20
|
935
|
40044=53329
|
936
|
40045=0
|
937
|
40046=0
|
938
|
40047=1
|
939
|
40048=1
|
940
|
40049=2
|
941
|
40050=0
|
942
|
40051=2
|
943
|
40052=2
|
944
|
40053=0
|
945
|
40054=0
|
946
|
40055=0
|
947
|
brief=电压: 240.2 V, 温度: 232.4 ℃,湿度:%3% %
|
948
|
^C
|
949
|
[root@M28x NandFlash]# ./omDemo1 4881 1 0 0 0 ttySP3:9600:n:8:1
|
950
|
MemTotal: 124460 kB
|
951
|
MemFree: 94424 kB
|
952
|
Buffers: 0 kB
|
953
|
Cached: 13860 kB
|
954
|
!!!MemVsz 0: 4188 KB
|
955
|
SIGRTMAX-1= 63
|
956
|
SerManager new: 193f8
|
957
|
!!!MemVsz change: 108 KB
|
958
|
!!!MemVsz change: 5072 KB
|
959
|
!!!MemVsz change: 1036 KB
|
960
|
|
961
|
SMxxx: Type=4881 Addr=1 Port=0 Tag1=0 Ext1=0
|
962
|
|
963
|
SerDef=ttySP3:9600:n:8:1 Type=4881
|
964
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
965
|
testSM SM=1be30
|
966
|
CSerCom InitCom: 1c048 1
|
967
|
CSerCom UpdParams: ComPort: ttySP3, 0, 0
|
968
|
CSerCom::Open: /dev/ttySP3,9600,8,N,0
|
969
|
set serial done+!
|
970
|
ttySP3:9600,n,8,1[100003] open ok!
|
971
|
MemTotal: 124460 kB
|
972
|
MemFree: 94088 kB
|
973
|
Buffers: 0 kB
|
974
|
Cached: 13860 kB
|
975
|
start SMxxx->DataGet ...
|
976
|
SEND: 01 03 00 00 00 37 04 1C
|
977
|
RECV: msg.len > 256
|
978
|
t=4881 iaddr=1 iext=0
|
979
|
40001=2361
|
980
|
40002=2350
|
981
|
40003=2352
|
982
|
40004=400
|
983
|
40005=0
|
984
|
40006=0
|
985
|
40007=0
|
986
|
40008=66
|
987
|
40009=64
|
988
|
40010=0
|
989
|
40011=1
|
990
|
40012=54
|
991
|
40013=57
|
992
|
40014=3
|
993
|
40015=0
|
994
|
40016=91
|
995
|
40017=86
|
996
|
40018=3
|
997
|
40019=1
|
998
|
40020=583
|
999
|
40021=747
|
1000
|
40022=0
|
1001
|
40023=999
|
1002
|
40024=4082
|
1003
|
40025=4074
|
1004
|
40026=4082
|
1005
|
40027=4999
|
1006
|
40028=4999
|
1007
|
40029=4999
|
1008
|
40030=0
|
1009
|
40031=21641
|
1010
|
40032=0
|
1011
|
40033=4
|
1012
|
40034=0
|
1013
|
40035=21637
|
1014
|
40036=0
|
1015
|
40037=2686
|
1016
|
40038=0
|
1017
|
40039=5
|
1018
|
40040=0
|
1019
|
40041=2681
|
1020
|
40042=1
|
1021
|
40043=20
|
1022
|
40044=53329
|
1023
|
40045=0
|
1024
|
40046=0
|
1025
|
40047=1
|
1026
|
40048=1
|
1027
|
40049=2
|
1028
|
40050=0
|
1029
|
40051=2
|
1030
|
40052=2
|
1031
|
40053=0
|
1032
|
40054=0
|
1033
|
40055=0
|
1034
|
brief=电压: 236.1 V, 温度: 235.0 ℃,湿度:%3% %
|
1035
|
SEND: 01 03 00 00 00 37 04 1C
|
1036
|
RECV: msg.len > 256
|
1037
|
t=4881 iaddr=1 iext=0
|
1038
|
40001=2361
|
1039
|
40002=2351
|
1040
|
40003=2352
|
1041
|
40004=401
|
1042
|
40005=0
|
1043
|
40006=0
|
1044
|
40007=0
|
1045
|
40008=66
|
1046
|
40009=64
|
1047
|
40010=0
|
1048
|
40011=1
|
1049
|
40012=54
|
1050
|
40013=57
|
1051
|
40014=3
|
1052
|
40015=0
|
1053
|
40016=91
|
1054
|
40017=86
|
1055
|
40018=3
|
1056
|
40019=1
|
1057
|
40020=582
|
1058
|
40021=748
|
1059
|
40022=0
|
1060
|
40023=999
|
1061
|
40024=4080
|
1062
|
40025=4072
|
1063
|
40026=4082
|
1064
|
40027=4999
|
1065
|
40028=4999
|
1066
|
40029=4999
|
1067
|
40030=0
|
1068
|
40031=21641
|
1069
|
40032=0
|
1070
|
40033=4
|
1071
|
40034=0
|
1072
|
40035=21637
|
1073
|
40036=0
|
1074
|
40037=2686
|
1075
|
40038=0
|
1076
|
40039=5
|
1077
|
40040=0
|
1078
|
40041=2681
|
1079
|
40042=1
|
1080
|
40043=20
|
1081
|
40044=53329
|
1082
|
40045=0
|
1083
|
40046=0
|
1084
|
40047=1
|
1085
|
40048=1
|
1086
|
40049=2
|
1087
|
40050=0
|
1088
|
40051=2
|
1089
|
40052=2
|
1090
|
40053=0
|
1091
|
40054=0
|
1092
|
40055=0
|
1093
|
brief=电压: 236.1 V, 温度: 235.1 ℃,湿度:%3% %
|
1094
|
^C
|