项目

一般

简介

商宇精密空调协议测试记录+sscom+20231101.txt

黄 正梁, 2023-11-01 11:42

 
1
login as: root
2
root@192.168.0.16's password:
3
Last login: Wed Nov  1 11:22:11 2023 from 192.168.0.200
4
[root@OM-A6-T300A:~]# top
5
Mem: 43536K used, 204748K free, 2048K shrd, 0K buff, 17668K cached
6
CPU:   0% usr  10% sys   0% nic  90% idle   0% io   0% irq   0% sirq
7
Load average: 0.38 0.27 0.23 1/67 27105
8
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
9
25537     1 root     S    47848  19%   5% ./omAppSU
10
27105 27080 root     R     2724   1%   5% top
11
  713     1 root     S    15208   6%   0% ./omTray
12
  633     1 root     S    14808   6%   0% ./goahead --log /opt/log.txt:2 /NandFl
13
25197   453 root     S     4796   2%   0% sshd: root@notty
14
27037   453 root     S     4796   2%   0% sshd: root@pts/0
15
  488     1 root     S     4776   2%   0% /usr/sbin/ofonod
16
  453     1 root     S     4668   2%   0% /usr/sbin/sshd
17
  483     1 avahi    S     3460   1%   0% avahi-daemon: running [OM-A6-T300A.loc
18
  484   483 avahi    S     3460   1%   0% avahi-daemon: chroot helper
19
25203 25197 root     S     3000   1%   0% -sh
20
27080 27037 root     S     3000   1%   0% -sh
21
  437     1 messageb S     2912   1%   0% /usr/bin/dbus-daemon --system
22
  118     1 root     S     2836   1%   0% /sbin/udevd -d
23
  739     1 root     S     2768   1%   0% {start_getty} /bin/sh /bin/start_getty
24
  506     1 root     S     2764   1%   0% {rmimages.sh} /bin/sh ./rmimages.sh 10
25
  473     1 root     S     2724   1%   0% /sbin/syslogd -n -O /var/log/messages
26
  477     1 root     S     2724   1%   0% /sbin/klogd -n
27
  740     1 root     S     2724   1%   0% /sbin/getty 38400 tty1
28
  741   739 root     S     2724   1%   0% /sbin/getty -L 115200 ttymxc0
29
[root@OM-A6-T300A:~]#
30
[root@OM-A6-T300A:~]#
31
[root@OM-A6-T300A:~]#
32
[root@OM-A6-T300A:~]#
33
[root@OM-A6-T300A:~]#
34
[root@OM-A6-T300A:~]#
35
[root@OM-A6-T300A:~]#
36
Display all 638 possibilities? (y or n)^C
37
[root@OM-A6-T300A:~]#
38
[root@OM-A6-T300A:~]#
39
[root@OM-A6-T300A:~]#
40
[root@OM-A6-T300A:~]#
41
[root@OM-A6-T300A:~]#
42
[root@OM-A6-T300A:~]#
43
[root@OM-A6-T300A:~]#
44
[root@OM-A6-T300A:~]#
45
[root@OM-A6-T300A:~]# cd /NandFlash
46
[root@OM-A6-T300A:NandFlash]# ./sscomx
47
Input the com prot: RS485-1
48
baudrate: 9600
49
Parity(n\o\e): n
50
DataBit(5\6\7\8): 8
51
StopBit(1\2): 1
52
data types:
53
   1. hex
54
   2. ascii
55
select data type: 1
56
select com prot: /dev/RS485-1, 9600, n, 8, 1 for hex
57
send: 01 03 02 C4 00 01 C4 4F
58
rece: 01 03 02 01 01 78 14
59
send: 01 03 02 CC 00 01 45 8D
60
rece: 01 03 02 00 BC B9 F5
61
send: ^C
62
[root@OM-A6-T300A:NandFlash]#
63
[root@OM-A6-T300A:NandFlash]#
64
[root@OM-A6-T300A:NandFlash]#
65
[root@OM-A6-T300A:NandFlash]#
66
[root@OM-A6-T300A:NandFlash]# ./ss
67
-sh: ./ss: No such file or directory
68
[root@OM-A6-T300A:NandFlash]# ./sscomx
69
Input the com prot: RS485-2
70
baudrate: 9600
71
Parity(n\o\e): n
72
DataBit(5\6\7\8): 8
73
StopBit(1\2): 1
74
data types:
75
   1. hex
76
   2. ascii
77
select data type: 1
78
select com prot: /dev/RS485-2, 9600, n, 8, 1 for hex
79
send: 01 03 00 00 00 02 C4 0B
80
rece: 01 03 04 00 BE 00 C8 9B 81
81
send: 01 03 02 CC 00 02 05 8C
82
rece: 01 03 04 00 C2 00 B4 5B B8
83
send: