1
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 768 0 0 2 500 RS232-1:2400,n,8,1
|
2
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
3
|
MemFree: 203240 kB
|
4
|
MemAvailable: 217908 kB
|
5
|
Buffers: 0 kB
|
6
|
!!!MemVsz 0: 4876 KB
|
7
|
SIGRTMAX-1= 63
|
8
|
SerManager new: 8be710
|
9
|
!!!MemVsz change: 128 KB
|
10
|
!!!MemVsz change: 5148 KB
|
11
|
!!!MemVsz change: 1248 KB
|
12
|
|
13
|
SMxxx: Type=768 Addr=0 Port=0 Tag1=2 Ext1=500
|
14
|
|
15
|
SerDef=RS232-1:2400,n,8,1 Type=768
|
16
|
testSM SM=8c15b8
|
17
|
CSerCom InitCom: 8c17c0 1
|
18
|
CSerCom UpdParams: ComPort: RS232-1, 0, 0
|
19
|
CSerCom::Open: /dev/RS232-1,2400,8,N,0
|
20
|
set serial done+!
|
21
|
RS232-1:2400,n,8,1[100001] open ok!
|
22
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
23
|
MemFree: 202872 kB
|
24
|
MemAvailable: 217540 kB
|
25
|
Buffers: 0 kB
|
26
|
start SMxxx->DataGet ...
|
27
|
SEND: 51 47 53 0D
|
28
|
RECV: 28 32 41 4B 0D 37 20 34 39 2E 39 20 32 31 39 2E 39 20 34 39 2E 39 20 30 30 30 2E 30 20 30 30 30 20 33 38 33 2E 32 20 2D 2D 2D 2D 2D 20 30 30 30 2E 31 20 2D 2D 2D 2D 2D 20 30 32 35 2E 30 20 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 0D
|
29
|
SEND: 51 32 0D
|
30
|
RECV: 28 30 30 20 30 30 20 30 31 20 30 30 30 30 20 30 30 30 31 20 30 30 30 30 20 30 30 32 33 20 32 32 30 2E 30 20 30 30 2E 30 31 20 30 30 2E 30 20 30 30 20 30 30 20 30 30 20 30 30 20 30 31 20 31 30 32 35 20 2D 30 32 30 37 31 20 2D 30 33 20 2D 30 33 32 30 37 31 20 30 30 2E 31 20 30 30 20 30 30 30 20 30 30 30 30 20 30 30 30 31 20 30 30 30 30 20 30 30 30 30 20 30 30 30 31 20 30 30 30 30 20 30 30 30 30 0D
|
31
|
SEND: 46 0D
|
32
|
RECV: 28 4E 41 4B 0D
|
33
|
SEND: 49 0D
|
34
|
RECV: 28 4E 41 4B 0D
|
35
|
|
36
|
|
37
|
|
38
|
|
39
|
|
40
|
[QGS\r]
|
41
|
|
42
|
SEND: 51 47 53 0D
|
43
|
QGS
|
44
|
RECV: 28 32 33 32 2E 36 20 34 39 2E 39 20 32 32 30 2E 30 20 34 39 2E 39 20 30 30 30 2E 30 20 30 30 30 20 33 38 35 2E 33 20 2D 2D 2D 2D 2D 20 30 30 30 2E 32 20 2D 2D 2D 2D 2D 20 30 32 36 2E 30 20 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 0D
|
45
|
(232.6 49.9 220.0 49.9 000.0 000 385.3 ----- 000.2 ----- 026.0 ------------
|
46
|
(
|
47
|
232.6 Input voltage
|
48
|
49.9 Input frequency
|
49
|
220.0 Output voltage
|
50
|
49.9 Output frequency
|
51
|
000.0 Output current
|
52
|
000 Output load percent
|
53
|
385.3 Positive BUS voltage
|
54
|
----- Negative BUS voltage(Reserved)
|
55
|
000.2 P Battery voltage
|
56
|
----- N Battery voltage(Reserved)
|
57
|
026.0 Max Temperature of the detecting pointers
|
58
|
------------ Ups status(Reserved)
|
59
|
SEND: 51 32 0D
|
60
|
Q2
|
61
|
RECV: 28 30 30 20 30 30 20 30 31 20 30 30 30 32 20 30 30 30 31 20 30 30 30 30 20 30 30 32 33 20 32 31 39 2E 38 20 30 30 2E 30 31 20 30 30 2E 30 20 30 30 20 30 30 20 30 30 20 30 30 20 30 31 20 31 30 32 35 20 2D 30 32 30 37 31 20 2D 30 33 20 2D 30 33 32 30 37 31 20 30 30 2E 33 20 30 30 20 30 30 30 20 30 30 30 30 20 30 30 30 32 20 30 30 30 30 20 30 30 30 32 20 30 30 30 31 20 30 30 30 30 20 30 30 30 30 0D
|
62
|
(00 00 01 0002 0001 0000 0023 219.8 00.01 00.0 00 00 00 00 01 1025 -02071 -03 -032071 00.3 00 000 0000 0002 0000 0002 0001 0000 0000
|
63
|
(
|
64
|
00
|
65
|
00
|
66
|
01
|
67
|
0002
|
68
|
0001
|
69
|
0000
|
70
|
0023
|
71
|
219.8
|
72
|
00.01
|
73
|
00.0
|
74
|
00
|
75
|
00
|
76
|
00
|
77
|
00
|
78
|
01
|
79
|
1025
|
80
|
-02071
|
81
|
-03
|
82
|
-032071
|
83
|
00.3
|
84
|
00
|
85
|
000
|
86
|
0000
|
87
|
0002
|
88
|
0000
|
89
|
0002
|
90
|
0001
|
91
|
0000
|
92
|
0000
|
93
|
SEND: 46 0D
|
94
|
F
|
95
|
RECV: 28 4E 41 4B 0D
|
96
|
(NAK
|
97
|
SEND: 49 0D
|
98
|
I
|
99
|
RECV: 28 4E 41 4B 0D
|
100
|
(NAK
|