1
|
login as: root
|
2
|
root@191.56.16.205's password:
|
3
|
Last login: Sun Nov 27 09:52:53 2022 from 191.56.16.210
|
4
|
[root@ROC-A6-T100A:~]# top
|
5
|
Mem: 56944K used, 191340K free, 8084K shrd, 0K buff, 24988K cached
|
6
|
CPU: 0% usr 10% sys 0% nic 90% idle 0% io 0% irq 0% sirq
|
7
|
Load average: 0.76 0.89 0.84 1/75 31769
|
8
|
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
|
9
|
31768 31739 root R 2724 1% 10% top
|
10
|
10158 1 root S 56268 23% 0% ./omAppSU
|
11
|
605 1 root S 16748 7% 0% ./goahead --log /opt/log.txt:2 /NandFl
|
12
|
665 1 root S 15208 6% 0% ./omTray
|
13
|
6182 453 root S 4940 2% 0% sshd: root@notty
|
14
|
7301 453 root S 4796 2% 0% sshd: root@notty
|
15
|
16700 453 root S 4796 2% 0% sshd: root@notty
|
16
|
31691 453 root S 4796 2% 0% sshd: root@pts/0
|
17
|
30347 453 root S 4796 2% 0% sshd: root@notty
|
18
|
488 1 root S 4776 2% 0% /usr/sbin/ofonod
|
19
|
453 1 root S 4668 2% 0% /usr/sbin/sshd
|
20
|
10189 1 root S 4632 2% 0% ./omAppPost
|
21
|
483 1 avahi S 3460 1% 0% avahi-daemon: running [ROC-A6-T100A.lo
|
22
|
484 483 avahi S 3460 1% 0% avahi-daemon: chroot helper
|
23
|
6221 6182 root S 3000 1% 0% -sh
|
24
|
7306 7301 root S 3000 1% 0% -sh
|
25
|
16706 16700 root S 3000 1% 0% -sh
|
26
|
30351 30347 root S 3000 1% 0% -sh
|
27
|
31739 31691 root S 3000 1% 0% -sh
|
28
|
437 1 messageb S 2912 1% 0% /usr/bin/dbus-daemon --system
|
29
|
[root@ROC-A6-T100A:~]# cd /NandFlash
|
30
|
[root@ROC-A6-T100A:NandFlash]# ./sscomx
|
31
|
Input the com prot: RS485-1
|
32
|
baudrate: 9600
|
33
|
Parity(n\o\e): n
|
34
|
DataBit(5\6\7\8): 8
|
35
|
StopBit(1\2): 1
|
36
|
data types:
|
37
|
1. hex
|
38
|
2. ascii
|
39
|
select data type: 1
|
40
|
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
|
41
|
send: 0D 03 15 00 00 02 C0 CB
|
42
|
no data receive!
|
43
|
send: ^C
|
44
|
[root@ROC-A6-T100A:NandFlash]# ./omAppSU
|
45
|
AlmMngr init...
|
46
|
AlmManager LoadChkItem: 102
|
47
|
AlmManager LoadAlmTime: 5
|
48
|
AlmManager LoadAlmRecv: 2
|
49
|
AlmManager LoadAlmDef: 14
|
50
|
AlmManager LoadAlmDev...
|
51
|
AlmManager LoadAlmDev ▒▒▒1 GetSM type=2562
|
52
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
53
|
AlmManager LoadAlmDev GetSer ok
|
54
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
55
|
AlmManager LoadAlmDev ▒▒▒2 GetSM type=2562
|
56
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
57
|
AlmManager LoadAlmDev GetSer ok
|
58
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
59
|
AlmManager LoadAlmDev ▒▒▒3 GetSM type=2562
|
60
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
61
|
AlmManager LoadAlmDev GetSer ok
|
62
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
63
|
AlmManager LoadAlmDev ▒▒▒4 GetSM type=2562
|
64
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
65
|
AlmManager LoadAlmDev GetSer ok
|
66
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
67
|
AlmManager LoadAlmDev ▒▒▒5 GetSM type=2562
|
68
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
69
|
AlmManager LoadAlmDev GetSer ok
|
70
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
71
|
AlmManager LoadAlmDev ▒▒▒6 GetSM type=2562
|
72
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
73
|
AlmManager LoadAlmDev GetSer ok
|
74
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
75
|
AlmManager LoadAlmDev ▒▒▒7 GetSM type=2562
|
76
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
77
|
AlmManager LoadAlmDev GetSer ok
|
78
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
79
|
AlmManager LoadAlmDev ▒▒▒8 GetSM type=2562
|
80
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
81
|
AlmManager LoadAlmDev GetSer ok
|
82
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
83
|
AlmManager LoadAlmDev: 8
|
84
|
smtp: svr= acc= sub=▒▒▒▒
|
85
|
AlmMngr init end
|
86
|
^C
|
87
|
[root@ROC-A6-T100A:NandFlash]# ./omAppSU
|
88
|
AlmMngr init...
|
89
|
AlmManager LoadChkItem: 102
|
90
|
AlmManager LoadAlmTime: 5
|
91
|
AlmManager LoadAlmRecv: 2
|
92
|
AlmManager LoadAlmDef: 14
|
93
|
AlmManager LoadAlmDev...
|
94
|
AlmManager LoadAlmDev ▒▒▒1 GetSM type=2562
|
95
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
96
|
AlmManager LoadAlmDev GetSer ok
|
97
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
98
|
AlmManager LoadAlmDev ▒▒▒2 GetSM type=2562
|
99
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
100
|
AlmManager LoadAlmDev GetSer ok
|
101
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
102
|
AlmManager LoadAlmDev ▒▒▒3 GetSM type=2562
|
103
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
104
|
AlmManager LoadAlmDev GetSer ok
|
105
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
106
|
AlmManager LoadAlmDev ▒▒▒4 GetSM type=2562
|
107
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
108
|
AlmManager LoadAlmDev GetSer ok
|
109
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
110
|
AlmManager LoadAlmDev ▒▒▒5 GetSM type=2562
|
111
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
112
|
AlmManager LoadAlmDev GetSer ok
|
113
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
114
|
AlmManager LoadAlmDev ▒▒▒6 GetSM type=2562
|
115
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
116
|
AlmManager LoadAlmDev GetSer ok
|
117
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
118
|
AlmManager LoadAlmDev ▒▒▒7 GetSM type=2562
|
119
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
120
|
AlmManager LoadAlmDev GetSer ok
|
121
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
122
|
AlmManager LoadAlmDev ▒▒▒8 GetSM type=2562
|
123
|
AlmManager LoadAlmDev GetSer OMI1: 0x800000
|
124
|
AlmManager LoadAlmDev GetSer ok
|
125
|
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
|
126
|
AlmManager LoadAlmDev: 8
|
127
|
smtp: svr= acc= sub=▒▒▒▒
|
128
|
AlmMngr init end
|
129
|
^C
|
130
|
[root@ROC-A6-T100A:NandFlash]# ^C
|
131
|
[root@ROC-A6-T100A:NandFlash]# ^C
|
132
|
[root@ROC-A6-T100A:NandFlash]# ./omDemo1 1044 10 0 1 0 RS485-1:9600,n,8,1
|
133
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
134
|
MemFree: 194244 kB
|
135
|
MemAvailable: 207096 kB
|
136
|
Buffers: 0 kB
|
137
|
!!!MemVsz 0: 4876 KB
|
138
|
SIGRTMAX-1= 63
|
139
|
!!!MemVsz change: 224 KB
|
140
|
!!!MemVsz change: 5148 KB
|
141
|
!!!MemVsz change: 1248 KB
|
142
|
|
143
|
SMxxx: Type=1044 Addr=10 Port=0 Tag1=1 Ext1=0
|
144
|
|
145
|
SerDef=RS485-1:9600,n,8,1 Type=1044
|
146
|
testSM SM=55e1d8
|
147
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
148
|
MemFree: 193804 kB
|
149
|
MemAvailable: 206668 kB
|
150
|
Buffers: 0 kB
|
151
|
start SMxxx->DataGet ...
|
152
|
testSM-0001 14:57:49 RS485-1:9600,n,8,1
|
153
|
^C
|
154
|
[root@ROC-A6-T100A:NandFlash]# ./omDemo1 1044 10 0 1 0 RS485-1:9600,n,8,1
|
155
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
156
|
MemFree: 194208 kB
|
157
|
MemAvailable: 207072 kB
|
158
|
Buffers: 0 kB
|
159
|
!!!MemVsz 0: 4876 KB
|
160
|
SIGRTMAX-1= 63
|
161
|
!!!MemVsz change: 220 KB
|
162
|
!!!MemVsz change: 5148 KB
|
163
|
!!!MemVsz change: 1248 KB
|
164
|
|
165
|
SMxxx: Type=1044 Addr=10 Port=0 Tag1=1 Ext1=0
|
166
|
|
167
|
SerDef=RS485-1:9600,n,8,1 Type=1044
|
168
|
testSM SM=166f1d8
|
169
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
170
|
MemFree: 193704 kB
|
171
|
MemAvailable: 206704 kB
|
172
|
Buffers: 0 kB
|
173
|
start SMxxx->DataGet ...
|
174
|
testSM-0001 14:58:33 RS485-1:9600,n,8,1
|
175
|
testSM-0002 14:58:37 RS485-1:9600,n,8,1
|
176
|
^C
|
177
|
[root@ROC-A6-T100A:NandFlash]# ./omDemo1 1044 10 0 1 0 RS485-1:9600,n,8,1
|
178
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
179
|
MemFree: 194100 kB
|
180
|
MemAvailable: 207104 kB
|
181
|
Buffers: 0 kB
|
182
|
!!!MemVsz 0: 4876 KB
|
183
|
SIGRTMAX-1= 63
|
184
|
!!!MemVsz change: 220 KB
|
185
|
!!!MemVsz change: 5148 KB
|
186
|
!!!MemVsz change: 1248 KB
|
187
|
|
188
|
SMxxx: Type=1044 Addr=10 Port=0 Tag1=1 Ext1=0
|
189
|
|
190
|
SerDef=RS485-1:9600,n,8,1 Type=1044
|
191
|
testSM SM=84b1d8
|
192
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
193
|
MemFree: 193704 kB
|
194
|
MemAvailable: 206708 kB
|
195
|
Buffers: 0 kB
|
196
|
start SMxxx->DataGet ...
|
197
|
^C
|
198
|
[root@ROC-A6-T100A:NandFlash]# ./omDemo1 1044 10 0 1 0 RS485-1:9600,n,8,1
|
199
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
200
|
MemFree: 194300 kB
|
201
|
MemAvailable: 207308 kB
|
202
|
Buffers: 0 kB
|
203
|
!!!MemVsz 0: 4876 KB
|
204
|
SIGRTMAX-1= 63
|
205
|
!!!MemVsz change: 224 KB
|
206
|
!!!MemVsz change: 5148 KB
|
207
|
!!!MemVsz change: 1248 KB
|
208
|
|
209
|
SMxxx: Type=1044 Addr=10 Port=0 Tag1=1 Ext1=0
|
210
|
|
211
|
SerDef=RS485-1:9600,n,8,1 Type=1044
|
212
|
testSM SM=6ef1d8
|
213
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
214
|
MemFree: 193796 kB
|
215
|
MemAvailable: 206804 kB
|
216
|
Buffers: 0 kB
|
217
|
start SMxxx->DataGet ...
|
218
|
testSM-0001 14:59:26 RS485-1:9600,n,8,1
|
219
|
testSM-0002 14:59:30 RS485-1:9600,n,8,1
|
220
|
testSM-0003 14:59:33 RS485-1:9600,n,8,1
|
221
|
testSM-0004 14:59:36 RS485-1:9600,n,8,1
|
222
|
^C
|
223
|
[root@ROC-A6-T100A:NandFlash]# ./sscomx
|
224
|
Input the com prot: RS485-1
|
225
|
baudrate: 9600
|
226
|
Parity(n\o\e): n
|
227
|
DataBit(5\6\7\8): 8
|
228
|
StopBit(1\2): 1
|
229
|
data types:
|
230
|
1. hex
|
231
|
2. ascii
|
232
|
select data type: 1
|
233
|
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
|
234
|
send: 0A 03 15 00 00 02 C1 7C
|
235
|
rece: 0A 03 04 00 00 00 00 40 F3
|
236
|
send: 0A 03 15 00 00 02 C1 7C
|
237
|
rece: 0A 03 04 00 00 00 00 40 F3
|
238
|
send: 0A 03 15 00 00 02 C1 7C
|
239
|
rece: 0A 03 04 00 00 00 00 40 F3
|
240
|
send: 0A 03 15 00 00 02 C1 7C
|
241
|
rece: 0A 03 04 00 00 00 00 40 F3
|
242
|
send:
|