项目

一般

简介

商宇精密空调协议接入记录+omDemo1+20231113.txt

黄 正梁, 2023-11-13 11:46

 
1
login as: root
2
root@192.168.0.16's password:
3
Last login: Wed Nov  1 11:32:37 2023 from 192.168.0.200
4
[root@OM-A6-T300A:~]# top
5
Mem: 45984K used, 202300K free, 3120K shrd, 0K buff, 20496K cached
6
CPU:   0% usr  18% sys   0% nic  81% idle   0% io   0% irq   0% sirq
7
Load average: 0.13 0.30 0.37 1/62 27604
8
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
9
27604 27389 root     R     2724   1%  18% top
10
  713     1 root     S    15208   6%   0% ./omTray
11
  633     1 root     S    14808   6%   0% ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub
12
27254   453 root     S     4796   2%   0% sshd: root@notty
13
27364   453 root     S     4796   2%   0% sshd: root@pts/0
14
  488     1 root     S     4776   2%   0% /usr/sbin/ofonod
15
  453     1 root     S     4668   2%   0% /usr/sbin/sshd
16
  483     1 avahi    S     3460   1%   0% avahi-daemon: running [OM-A6-T300A.local]
17
  484   483 avahi    S     3460   1%   0% avahi-daemon: chroot helper
18
27271 27254 root     S     3000   1%   0% -sh
19
27389 27364 root     S     3000   1%   0% -sh
20
  437     1 messageb S     2912   1%   0% /usr/bin/dbus-daemon --system
21
  118     1 root     S     2836   1%   0% /sbin/udevd -d
22
  739     1 root     S     2768   1%   0% {start_getty} /bin/sh /bin/start_getty 115200 ttymxc0
23
  506     1 root     S     2764   1%   0% {rmimages.sh} /bin/sh ./rmimages.sh 100
24
  473     1 root     S     2724   1%   0% /sbin/syslogd -n -O /var/log/messages
25
  477     1 root     S     2724   1%   0% /sbin/klogd -n
26
  740     1 root     S     2724   1%   0% /sbin/getty 38400 tty1
27
  741   739 root     S     2724   1%   0% /sbin/getty -L 115200 ttymxc0
28
27585   506 root     S     2592   1%   0% sleep 300
29
  458     1 rpc      S     2196   1%   0% /usr/sbin/rpcbind
30
  498     1 root     S     1948   1%   0% /usr/sbin/cron
31
    1     0 root     S     1708   1%   0% init [5]
32
    7     2 root     SW       0   0%   0% [rcu_preempt]
33
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
34
16962     2 root     SW       0   0%   0% [kworker/0:0]
35
25150     2 root     SW       0   0%   0% [kworker/0:1]
36
    2     0 root     SW       0   0%   0% [kthreadd]
37
27230     2 root     SW       0   0%   0% [kworker/0:2]
38
  145     2 root     SW       0   0%   0% [ubifs_bgt0_0]
39
28703     2 root     SW       0   0%   0% [kworker/u2:2]
40
   81     2 root     SW       0   0%   0% [ubi_bgt0d]
41
   12     2 root     SW       0   0%   0% [kdevtmpfs]
42
    5     2 root     SW<      0   0%   0% [kworker/0:0H]
43
    8     2 root     SW       0   0%   0% [rcu_sched]
44
    9     2 root     SW       0   0%   0% [rcu_bh]
45
   10     2 root     SW       0   0%   0% [migration/0]
46
   11     2 root     SW<      0   0%   0% [khelper]
47
   13     2 root     SW<      0   0%   0% [perf]
48
   14     2 root     SW<      0   0%   0% [writeback]
49
   15     2 root     SW<      0   0%   0% [crypto]
50
   16     2 root     SW<      0   0%   0% [bioset]
51
   17     2 root     SW<      0   0%   0% [kblockd]
52
   18     2 root     SW<      0   0%   0% [ata_sff]
53
   20     2 root     SW<      0   0%   0% [cfg80211]
54
   21     2 root     SW<      0   0%   0% [rpciod]
55
   22     2 root     SW       0   0%   0% [kswapd0]
56
   23     2 root     SW       0   0%   0% [fsnotify_mark]
57
   24     2 root     SW<      0   0%   0% [nfsiod]
58
   61     2 root     SW       0   0%   0% [spi0]
59
   62     2 root     SW       0   0%   0% [kworker/u2:1]
60
   67     2 root     SW<      0   0%   0% [ci_otg]
61
   68     2 root     SW       0   0%   0% [cfinteractive]
62
   69     2 root     SW       0   0%   0% [irq/220-mmc0]
63
   70     2 root     SW       0   0%   0% [irq/47-2190000.]
64
   72     2 root     SW       0   0%   0% [mxs_dcp_chan/sh]
65
   73     2 root     SW       0   0%   0% [mxs_dcp_chan/ae]
66
   78     2 root     SW<      0   0%   0% [ipv6_addrconf]
67
[root@OM-A6-T300A:~]# cd /NandFlash
68
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4650 1 0 0 0 RS485-1:9600,n,8,1
69
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
70
MemFree:          202236 kB
71
MemAvailable:     215452 kB
72
Buffers:               0 kB
73
!!!MemVsz 0: 4876 KB
74
SIGRTMAX-1= 63
75
SerManager new: af0710
76
!!!MemVsz change: 128 KB
77
!!!MemVsz change: 5148 KB
78
!!!MemVsz change: 1248 KB
79

    
80
SMxxx: Type=4650  Addr=1  Port=0  Tag1=0  Ext1=0
81

    
82
SerDef=RS485-1:9600,n,8,1 Type=4650
83
CSMModbus::UpdLoad  d=1  300ms  tout=300  DataByte=0
84
testSM SM=af35b8
85
CSerCom InitCom: af4290  1
86
CSerCom UpdParams: ComPort: RS485-1, 0, 0
87
CSerCom::Open: /dev/RS485-1,9600,8,N,0
88
set serial done+!
89
RS485-1:9600,n,8,1[110001] open ok!
90
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
91
MemFree:          201868 kB
92
MemAvailable:     215124 kB
93
Buffers:               0 kB
94
start SMxxx->DataGet ...
95
SEND: 01 01 00 00 00 02 BD CB
96
RECV: 01 01 01 00 51 88
97
SEND: 01 01 00 80 00 09 FD E4
98
RECV: 01 01 02 00 00 B9 FC
99
SEND: 01 01 00 B0 00 01 FC 2D
100
RECV: 01 01 01 00 51 88
101
SEND: 01 01 00 2B 00 03 0C 03
102
RECV: 01 01 01 00 51 88
103
SEND: 01 01 00 07 00 0B CC 0C
104
RECV: 01 01 02 00 00 B9 FC
105
SEND: 01 03 00 00 00 02 C4 0B
106
RECV: 01 03 04 00 C8 00 C8 7A 5B
107
SEND: 01 03 00 0B 00 01 F5 C8
108
RECV: 01 03 02 00 C8 B9 D2
109
SEND: 01 03 01 13 00 02 34 32
110
RECV: 01 03 04 00 00 00 00 FA 33
111
SEND: 01 03 02 C3 00 02 35 8F
112
RECV: 01 03 04 01 1E 00 9B DA 62
113
SEND: 01 03 02 C9 00 01 55 8C
114
RECV: 01 03 02 00 E7 F8 0E
115
SEND: 01 03 02 CC 00 02 05 8C
116
RECV: 01 03 04 01 1E 00 C8 9A 5F
117
t=4650  iaddr=1  iext=0
118
00001=0
119
00002=0
120
00003=0
121
00004=0
122
00005=0
123
00006=0
124
00007=0
125
00008=0
126
00009=0
127
00010=0
128
00011=0
129
00012=0
130
00013=0
131
00014=0
132
00015=0
133
00016=0
134
00017=0
135
00018=0
136
00019=0
137
00020=0
138
00021=0
139
00022=0
140
00023=0
141
00044=0
142
00045=0
143
00046=0
144
00047=0
145
00048=0
146
00049=0
147
00050=0
148
00051=0
149
00129=0
150
00130=0
151
00131=0
152
00132=0
153
00133=0
154
00134=0
155
00135=0
156
00136=0
157
00137=0
158
00138=0
159
00139=0
160
00140=0
161
00141=0
162
00142=0
163
00143=0
164
00144=0
165
00177=0
166
00178=0
167
00179=0
168
00180=0
169
00181=0
170
00182=0
171
00183=0
172
00184=0
173
40001=200
174
40002=200
175
40012=200
176
40276=0
177
40277=0
178
40708=286
179
40709=155
180
40714=231
181
40717=286
182
40718=200
183
brief=▒▒▒▒▒¶▒: 28.6 ▒▒, ▒ط▒ʪ▒▒: 15.5 %RH
184
testSM-0001 11:17:32  RS485-1:9600,n,8,1
185
SEND: 01 01 00 00 00 02 BD CB
186
RECV: 01 01 01 00 51 88
187
SEND: 01 01 00 80 00 09 FD E4
188
RECV: 01 01 02 00 00 B9 FC
189
SEND: 01 01 00 B0 00 01 FC 2D
190
RECV: 01 01 01 00 51 88
191
SEND: 01 01 00 2B 00 03 0C 03
192
RECV: 01 01 01 00 51 88
193
SEND: 01 01 00 07 00 0B CC 0C
194
^C
195
[root@OM-A6-T300A:NandFlash]#