项目

一般

简介

SSCOM发指令空调测试.txt

李 凯健, 2024-03-06 17:46

 
1
login as: root
2
root@192.168.0.16's password:
3
Last login: Wed Mar  6 14:06:48 2024 from 192.168.0.200
4
[root@OM-A6-T300A:~]# cd /NandFlash
5
[root@OM-A6-T300A:NandFlash]# ./sscomx
6
Input the com prot: RS485-5
7
baudrate: 9600
8
Parity(n\o\e): n
9
DataBit(5\6\7\8): 8
10
StopBit(1\2): 1
11
data types:
12
   1. hex
13
   2. ascii
14
select data type: 1
15
select com prot: /dev/RS485-5, 9600, n, 8, 1 for hex
16
send: ^C
17
[root@OM-A6-T300A:NandFlash]# ./sscomx
18
Input the com prot: RS485-5
19
baudrate: 9600
20
Parity(n\o\e): e
21
DataBit(5\6\7\8): 8
22
StopBit(1\2): 1
23
data types:
24
   1. hex
25
   2. ascii
26
select data type: 1
27
select com prot: /dev/RS485-5, 9600, e, 8, 1 for hex
28
send: 40 C8 02 01 FF 0A
29
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
30
send: 40 C8 02 01 FF 0A
31
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
32
send: 40 C8 02 01 FF 0A
33
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
34
send: 40 C8 02 01 FF 0A
35
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
36
send: 40 C8 02 01 FF 0A
37
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
38
send: 40 C8 02 01 FF 0A
39
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
40
send: 40 C8 02 01 FF 0A^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^Z
41
[1]+  Stopped(SIGTSTP)        ./sscomx
42
[root@OM-A6-T300A:NandFlash]#
43
[root@OM-A6-T300A:NandFlash]#
44
[root@OM-A6-T300A:NandFlash]# ./sscomx
45
Input the com prot: RS4485-5
46
baudrate: 9600
47
Parity(n\o\e): e
48
DataBit(5\6\7\8): 8
49
StopBit(1\2): 1
50
data types:
51
   1. hex
52
   2. ascii
53
select data type: 1
54
select com prot: /dev/RS4485-5, 9600, e, 8, 1 for hex
55
Open Port /dev/RS4485-5: Error
56
[root@OM-A6-T300A:NandFlash]# ./sscomx
57
Input the com prot: RS485-5
58
baudrate: 9600
59
Parity(n\o\e): e
60
DataBit(5\6\7\8): 8
61
StopBit(1\2): 1
62
data types:
63
   1. hex
64
   2. ascii
65
select data type: 1
66
select com prot: /dev/RS485-5, 9600, e, 8, 1 for hex
67
send: 41 C8 02 01 FF 0A
68
no data receive!
69
send: 40 C8 02 01 FF 0A
70
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
71
send: 41 C8 02 01 FF 0A
72
no data receive!
73
send: 41 C8 02 01 FF 0A
74
no data receive!
75
send: 41 C8 02 01 FF 0A
76
no data receive!
77
send: 41 C8 02 01 FF 0A
78
no data receive!
79
send: 41 C8 02 01 FF 0A
80
no data receive!
81
send: 44 C8 02 01 FF 0A
82
no data receive!
83
send: 44 C8 02 01 FF 0A
84
no data receive!
85
send: 44 C8 02 01 FF 0A
86
no data receive!
87
send: 44 C8 02 01 FF 0A
88
no data receive!
89
send: 41 C8 02 01 FF 0A
90
no data receive!
91
send: 41 C8 02 01 FF 0A
92
no data receive!
93
send: 41 C8 02 01 FF 0A
94
no data receive!
95
send: 41 C8 02 01 FF 0A
96
no data receive!
97
send: 41 C8 02 01 FF 0A
98
no data receive!
99
send: 41 C8 02 01 01 0D
100
rece: C8 41 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9B
101
send: 41 C8 02 01 01 0D
102
rece: C8 41 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9B
103
send: 41 C8 02 01 01 0D
104
rece: C8 41 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9B
105
send: 41 C8 02 01 01 0D
106
rece: C8 41 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9B
107
send: 41 C8 02 01 01 0D
108
rece: C8 41 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9B
109
send: 40 C8 02 01 FF 0A
110
no data receive!
111
send: 40 C8 02 01 FF 0A
112
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
113
send: 40 C8 02 01 FF 0A
114
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
115
send: 40 C8 02 01 FF 0A
116
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
117
send: 40 C8 02 01 FF 0A
118
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
119
send: 40 C8 02 01 FF 0A
120
rece: C8 40 0C 01 10 02 12 03 17 05 13 2E 80 10 71 9A
121
send: