项目

一般

简介

配电协议测试.txt

李 凯健, 2024-04-18 18:28

 
1
login as: root
2
root@192.168.1.169's password:
3
Last login: Fri Apr 12 16:00:33 2024 from 141.4.127.1
4
[root@OM-A6-T300A:~]# cd /NandFlash
5
[root@OM-A6-T300A:NandFlash]# ./omDemo1 790 1 0 0 0 RS485-7:9600,n,8,1
6
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
7
MemFree:          187416 kB
8
MemAvailable:     203512 kB
9
Buffers:               0 kB
10
!!!MemVsz 0: 4876 KB
11
SIGRTMAX-1= 63
12
SerManager new: 70b710
13
!!!MemVsz change: 128 KB
14
!!!MemVsz change: 5376 KB
15
!!!MemVsz change: 1248 KB
16

    
17
SMxxx: Type=790  Addr=1  Port=0  Tag1=0  Ext1=0
18

    
19
SerDef=RS485-7:9600,n,8,1 Type=790
20
testSM SM=70e5b8
21
CSerCom InitCom: 70e868  1
22
CSerCom UpdParams: ComPort: RS485-7, 0, 0
23
CSerCom::Open: /dev/RS485-7,9600,8,N,0
24
set serial done+!
25
RS485-7:9600,n,8,1[110007] open ok!
26
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
27
MemFree:          187268 kB
28
MemAvailable:     203376 kB
29
Buffers:               0 kB
30
start SMxxx->DataGet ...
31
SEND: 01 03 00 00 00 39 85 D8
32
RECV:
33
testSM-0001 16:28:48  RS485-7:9600,n,8,1
34
SEND: 01 03 00 00 00 39 85 D8
35
^C
36
[root@OM-A6-T300A:NandFlash]# ./omDemo1 790 11 0 0 0 RS485-7:9600,n,8,1
37
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
38
MemFree:          187592 kB
39
MemAvailable:     203708 kB
40
Buffers:               0 kB
41
!!!MemVsz 0: 4876 KB
42
SIGRTMAX-1= 63
43
SerManager new: 51f710
44
!!!MemVsz change: 128 KB
45
!!!MemVsz change: 5376 KB
46
!!!MemVsz change: 1248 KB
47

    
48
SMxxx: Type=790  Addr=11  Port=0  Tag1=0  Ext1=0
49

    
50
SerDef=RS485-7:9600,n,8,1 Type=790
51
testSM SM=5225b8
52
CSerCom InitCom: 522868  1
53
CSerCom UpdParams: ComPort: RS485-7, 0, 0
54
CSerCom::Open: /dev/RS485-7,9600,8,N,0
55
set serial done+!
56
RS485-7:9600,n,8,1[110007] open ok!
57
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
58
MemFree:          187444 kB
59
MemAvailable:     203560 kB
60
Buffers:               0 kB
61
start SMxxx->DataGet ...
62
SEND: 0B 03 00 00 00 39 85 72
63
RECV:
64
testSM-0001 16:29:07  RS485-7:9600,n,8,1
65
SEND: 0B 03 00 00 00 39 85 72
66
RECV:
67
testSM-0002 16:29:08  RS485-7:9600,n,8,1
68
SEND: 0B 03 00 00 00 39 85 72
69
RECV:
70
^C
71
[root@OM-A6-T300A:NandFlash]# ./omDemo1 790 12 0 0 0 RS485-7:9600,n,8,1
72
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
73
MemFree:          187488 kB
74
MemAvailable:     203604 kB
75
Buffers:               0 kB
76
!!!MemVsz 0: 4876 KB
77
SIGRTMAX-1= 63
78
SerManager new: 180710
79
!!!MemVsz change: 128 KB
80
!!!MemVsz change: 5376 KB
81
!!!MemVsz change: 1248 KB
82

    
83
SMxxx: Type=790  Addr=12  Port=0  Tag1=0  Ext1=0
84

    
85
SerDef=RS485-7:9600,n,8,1 Type=790
86
testSM SM=1835b8
87
CSerCom InitCom: 183868  1
88
CSerCom UpdParams: ComPort: RS485-7, 0, 0
89
CSerCom::Open: /dev/RS485-7,9600,8,N,0
90
set serial done+!
91
RS485-7:9600,n,8,1[110007] open ok!
92
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
93
MemFree:          187508 kB
94
MemAvailable:     203624 kB
95
Buffers:               0 kB
96
start SMxxx->DataGet ...
97
SEND: 0C 03 00 00 00 39 84 C5
98
RECV:
99
testSM-0001 16:29:20  RS485-7:9600,n,8,1
100
SEND: 0C 03 00 00 00 39 84 C5
101
RECV:
102
^C
103
[root@OM-A6-T300A:NandFlash]# ./omDemo1 790 13 0 0 0 RS485-7:9600,n,8,1
104
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
105
MemFree:          187624 kB
106
MemAvailable:     203740 kB
107
Buffers:               0 kB
108
!!!MemVsz 0: 4876 KB
109
SIGRTMAX-1= 63
110
SerManager new: 4c5710
111
!!!MemVsz change: 128 KB
112
!!!MemVsz change: 5376 KB
113
!!!MemVsz change: 1248 KB
114

    
115
SMxxx: Type=790  Addr=13  Port=0  Tag1=0  Ext1=0
116

    
117
SerDef=RS485-7:9600,n,8,1 Type=790
118
testSM SM=4c85b8
119
CSerCom InitCom: 4c8868  1
120
CSerCom UpdParams: ComPort: RS485-7, 0, 0
121
CSerCom::Open: /dev/RS485-7,9600,8,N,0
122
set serial done+!
123
RS485-7:9600,n,8,1[110007] open ok!
124
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
125
MemFree:          187444 kB
126
MemAvailable:     203560 kB
127
Buffers:               0 kB
128
start SMxxx->DataGet ...
129
SEND: 0D 03 00 00 00 39 85 14
130
RECV:
131
testSM-0001 16:29:33  RS485-7:9600,n,8,1
132
SEND: 0D 03 00 00 00 39 85 14
133
RECV:
134
testSM-0002 16:29:35  RS485-7:9600,n,8,1
135
SEND: 0D 03 00 00 00 39 85 14
136
RECV:
137
testSM-0003 16:29:37  RS485-7:9600,n,8,1
138
SEND: 0D 03 00 00 00 39 85 14
139
RECV:
140
testSM-0004 16:29:38  RS485-7:9600,n,8,1
141
SEND: 0D 03 00 00 00 39 85 14
142
RECV:
143
testSM-0005 16:29:40  RS485-7:9600,n,8,1
144
SEND: 0D 03 00 00 00 39 85 14
145
RECV:
146
testSM-0006 16:29:41  RS485-7:9600,n,8,1
147
SEND: 0D 03 00 00 00 39 85 14
148
RECV:
149
testSM-0007 16:29:43  RS485-7:9600,n,8,1
150
SEND: 0D 03 00 00 00 39 85 14
151
RECV:
152
testSM-0008 16:29:45  RS485-7:9600,n,8,1
153
SEND: 0D 03 00 00 00 39 85 14
154
RECV:
155
^C
156
[root@OM-A6-T300A:NandFlash]# ./omDemo1 790 14 0 0 0 RS485-7:9600,n,8,1
157
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
158
MemFree:          187208 kB
159
MemAvailable:     203324 kB
160
Buffers:               0 kB
161
!!!MemVsz 0: 4876 KB
162
SIGRTMAX-1= 63
163
SerManager new: 1488710
164
!!!MemVsz change: 128 KB
165
!!!MemVsz change: 5376 KB
166
!!!MemVsz change: 1248 KB
167

    
168
SMxxx: Type=790  Addr=14  Port=0  Tag1=0  Ext1=0
169

    
170
SerDef=RS485-7:9600,n,8,1 Type=790
171
testSM SM=148b5b8
172
CSerCom InitCom: 148b868  1
173
CSerCom UpdParams: ComPort: RS485-7, 0, 0
174
CSerCom::Open: /dev/RS485-7,9600,8,N,0
175
set serial done+!
176
RS485-7:9600,n,8,1[110007] open ok!
177
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
178
MemFree:          186964 kB
179
MemAvailable:     203080 kB
180
Buffers:               0 kB
181
start SMxxx->DataGet ...
182
SEND: 0E 03 00 00 00 39 85 27
183
RECV:
184
testSM-0001 16:29:55  RS485-7:9600,n,8,1
185
SEND: 0E 03 00 00 00 39 85 27
186
RECV:
187
testSM-0002 16:29:57  RS485-7:9600,n,8,1
188
SEND: 0E 03 00 00 00 39 85 27
189
RECV:
190
^C
191
[root@OM-A6-T300A:NandFlash]# ./omDemo1 790 11 0 0 0 RS485-7:9600,n,8,1
192
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
193
MemFree:          187304 kB
194
MemAvailable:     203420 kB
195
Buffers:               0 kB
196
!!!MemVsz 0: 4876 KB
197
SIGRTMAX-1= 63
198
SerManager new: 2e7710
199
!!!MemVsz change: 128 KB
200
!!!MemVsz change: 5376 KB
201
!!!MemVsz change: 1248 KB
202

    
203
SMxxx: Type=790  Addr=11  Port=0  Tag1=0  Ext1=0
204

    
205
SerDef=RS485-7:9600,n,8,1 Type=790
206
testSM SM=2ea5b8
207
CSerCom InitCom: 2ea868  1
208
CSerCom UpdParams: ComPort: RS485-7, 0, 0
209
CSerCom::Open: /dev/RS485-7,9600,8,N,0
210
set serial done+!
211
RS485-7:9600,n,8,1[110007] open ok!
212
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
213
MemFree:          187156 kB
214
MemAvailable:     203272 kB
215
Buffers:               0 kB
216
start SMxxx->DataGet ...
217
SEND: 0B 03 00 00 00 39 85 72
218
RECV:
219
testSM-0001 16:37:08  RS485-7:9600,n,8,1
220
SEND: 0B 03 00 00 00 39 85 72
221
RECV:
222
testSM-0002 16:37:10  RS485-7:9600,n,8,1
223
SEND: 0B 03 00 00 00 39 85 72
224
RECV:
225
testSM-0003 16:37:12  RS485-7:9600,n,8,1
226
SEND: 0B 03 00 00 00 39 85 72
227
RECV:
228
^C
229
[root@OM-A6-T300A:NandFlash]# ./omDemo1 790 11 0 0 0 RS485-7:9600,n,8,1
230
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
231
MemFree:          187496 kB
232
MemAvailable:     203612 kB
233
Buffers:               0 kB
234
!!!MemVsz 0: 4876 KB
235
SIGRTMAX-1= 63
236
SerManager new: 18d1710
237
!!!MemVsz change: 128 KB
238
!!!MemVsz change: 5376 KB
239
!!!MemVsz change: 1248 KB
240

    
241
SMxxx: Type=790  Addr=11  Port=0  Tag1=0  Ext1=0
242

    
243
SerDef=RS485-7:9600,n,8,1 Type=790
244
testSM SM=18d45b8
245
CSerCom InitCom: 18d4868  1
246
CSerCom UpdParams: ComPort: RS485-7, 0, 0
247
CSerCom::Open: /dev/RS485-7,9600,8,N,0
248
set serial done+!
249
RS485-7:9600,n,8,1[110007] open ok!
250
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
251
MemFree:          187284 kB
252
MemAvailable:     203400 kB
253
Buffers:               0 kB
254
start SMxxx->DataGet ...
255
SEND: 0B 03 00 00 00 39 85 72
256
RECV:
257
testSM-0001 16:41:14  RS485-7:9600,n,8,1
258
SEND: 0B 03 00 00 00 39 85 72
259
RECV:
260
testSM-0002 16:41:16  RS485-7:9600,n,8,1
261
SEND: 0B 03 00 00 00 39 85 72
262
RECV:
263
testSM-0003 16:41:18  RS485-7:9600,n,8,1
264
SEND: 0B 03 00 00 00 39 85 72
265
RECV:
266
^C
267
[root@OM-A6-T300A:NandFlash]#
268
[root@OM-A6-T300A:NandFlash]#
269
[root@OM-A6-T300A:NandFlash]# ./sscomx
270
Input the com prot: RS485-7
271
baudrate: 9600
272
Parity(n\o\e): n
273
DataBit(5\6\7\8): 8
274
StopBit(1\2): 1
275
data types:
276
   1. hex
277
   2. ascii
278
select data type: 1
279
select com prot: /dev/RS485-7, 9600, n, 8, 1 for hex
280
send:
281
no data receive!
282
send: 01 03 00 0B 00 0A B4 0F
283
no data receive!
284
send:
285
01 03 9C 5B 00 0A 9A 4Eno data receive!
286
send: 01 03 9C 5B 00 0A 9A 4E
287
no data receive!
288
send:
289
no data receive!
290
send: 05 03 00 0B 00 0A B5 8B
291
rece: 05 03 14 55 71 55 92 55 83 94 10 94 18 94 2C 94 1C 03 D8 03 BE 03 74 FF BF
292
send: 05 03 00 0B 00 28 35 92
293
rece: 05 03 50 55 76 55 97 55 7C 93 F8 94 22 94 14 94 0F 03 D7 03 BF 03 72 00 00 08 50 08 1D 07 7E 17 EB 01 27 01 21 00 EF 03 37 03 DF 03 DE 03 E0 03 DF 08 65 08 32 07 8D 18 22 00 00 13 86 00 00 03 6F 12 3B 00 02 00 00 00 00 00 00 03 48 01 F7 02 F0 00 A5 D2 E0
294
send: