项目

一般

简介

除湿机-sscomx-协议测试-20231122.txt

黄 正梁, 2023-11-22 18:30

 
1
login as: root
2
root@192.168.100.18's password:
3
[root@OM-A6-X300A:~]#
4
Display all 638 possibilities? (y or n)^C
5
[root@OM-A6-X300A:~]#
6
[root@OM-A6-X300A:~]#
7
[root@OM-A6-X300A:~]#
8
[root@OM-A6-X300A:~]#
9
[root@OM-A6-X300A:~]#
10
[root@OM-A6-X300A:~]# cd /N
11
-sh: cd: /N: No such file or directory
12
[root@OM-A6-X300A:~]# cd /NandFlash
13
[root@OM-A6-X300A:NandFlash]# ./sscomx
14
Input the com prot: RS485-1
15
baudrate: 9600
16
Parity(n\o\e): n
17
DataBit(5\6\7\8): 8
18
StopBit(1\2): 1
19
data types:
20
   1. hex
21
   2. ascii
22
select data type: 1
23
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
24
send: 01 03 00 00 00 07 04 08
25
rece: 01 03 0E 00 2D 00 29 00 12 00 14 00 00 00 00 00 01 47 05
26
send: 01 06 01 00 00 00 88 36
27
rece: 01 06 01 00 00 00 88 36
28
send: 01 06 01 00 ff 00 C9 C6
29
rece: 01 06 01 00 FF 00 C9 C6
30
send: 01 06 01 01 00 28 D9 E8
31
rece: 01 06 01 01 00 28 D9 E8
32
send:
33
login as: root
34
root@192.168.100.18's password:
35
Last login: Tue Nov 21 16:39:21 2023 from 192.168.100.238
36
[root@OM-A6-X300A:~]# cd /NandFlash
37
[root@OM-A6-X300A:NandFlash]# top
38
Mem: 48876K used, 199408K free, 3032K shrd, 0K buff, 23296K cached
39
CPU:   0% usr  10% sys   0% nic  90% idle   0% io   0% irq   0% sirq
40
Load average: 0.00 0.02 0.05 1/62 10966
41
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
42
10966 10951 root     R     2724   1%  10% top
43
  712     1 root     S    15208   6%   0% ./omTray
44
  633     1 root     S    14736   6%   0% ./goahead --log /opt/log.txt:2 /NandFl
45
10944   452 root     S     4796   2%   0% sshd: root@pts/0
46
  487     1 root     S     4776   2%   0% /usr/sbin/ofonod
47
  452     1 root     S     4668   2%   0% /usr/sbin/sshd
48
10958 10957 root     S     4464   2%   0% /usr/bin/ntpdate cn.pool.ntp.org
49
  482     1 avahi    S     3592   1%   0% avahi-daemon: running [OM-A6-X300A.loc
50
  483   482 avahi    S     3460   1%   0% avahi-daemon: chroot helper
51
10951 10944 root     S     3000   1%   0% -sh
52
  436     1 messageb S     2912   1%   0% /usr/bin/dbus-daemon --system
53
  117     1 root     S     2836   1%   0% /sbin/udevd -d
54
  732     1 root     S     2768   1%   0% {start_getty} /bin/sh /bin/start_getty
55
  505     1 root     S     2764   1%   0% {rmimages.sh} /bin/sh ./rmimages.sh 10
56
  472     1 root     S     2724   1%   0% /sbin/syslogd -n -O /var/log/messages
57
  475     1 root     S     2724   1%   0% /sbin/klogd -n
58
  733     1 root     S     2724   1%   0% /sbin/getty 38400 tty1
59
  734   732 root     S     2724   1%   0% /sbin/getty -L 115200 ttymxc0
60
10815   505 root     S     2592   1%   0% sleep 300
61
  457     1 rpc      S     2196   1%   0% /usr/sbin/rpcbind
62
[root@OM-A6-X300A:NandFlash]# ./sscomx
63
Input the com prot: RS485-1
64
baudrate: 9600
65
Parity(n\o\e): n
66
DataBit(5\6\7\8): 8
67
StopBit(1\2): 1
68
data types:
69
   1. hex
70
   2. ascii
71
select data type: 1
72
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
73
send: 01 06 01 00 00 00 88 36
74
rece: 01 06 01 00 00 00 88 36
75
send: 01 06 01 00 ff 00 C9 C6
76
rece: 01 06 01 00 FF 00 C9 C6
77
send: 01 06 01 01 00 29 18 28
78
rece: 01 06 01 01 00 29 18 28
79
send: