项目

一般

简介

充电机指令测试1.txt

李 凯健, 2024-05-15 10:08

 
1
login as: root
2
root@192.168.0.16's password:
3
Last login: Mon May 13 11:35:14 2024 from 192.168.0.161
4
[root@OM-A8-L200:~]#
5
[root@OM-A8-L200:~]#
6
[root@OM-A8-L200:~]# cd /NandFlash
7
[root@OM-A8-L200:NandFlash]# ./sscomx
8
Input the com prot: RS485-9
9
baudrate: 115200
10
Parity(n\o\e): n
11
DataBit(5\6\7\8): 8
12
StopBit(1\2): 1
13
data types:
14
   1. hex
15
   2. ascii
16
select data type: 1
17
select com prot: /dev/RS485-9, 115200, n, 8, 1 for hex
18
send: 5A A5 05 01 83 10 0C 01
19
Segmentation fault
20
[root@OM-A8-L200:NandFlash]# ./
21
SM/                      libomser.so              omOneNetPost
22
dbCfg.db3                libomserd1.so            omTray
23
hwtest                   libomsm.so               rc.local.bak
24
hwtestEx                 libomsuw.so              sscomx
25
hwtestEx.ini             omAppPost                tmp/
26
libomdb.so               omAppSU                  update_dbcfg_xxx_bak.sh
27
libomdev.so              omAppSU.ini              www/
28
libomser-quick.so        omDemo1
29
[root@OM-A8-L200:NandFlash]# ./sscomx
30
Input the com prot: RS485-9
31
baudrate: 115200
32
Parity(n\o\e): n
33
DataBit(5\6\7\8): 8
34
StopBit(1\2): 1
35
data types:
36
   1. hex
37
   2. ascii
38
select data type: 1
39
select com prot: /dev/RS485-9, 115200, n, 8, 1 for hex
40
send: 5A A5 05 01 83 10 0C 01
41
rece: 5A A5 07 01 83 10 0C 01 09 92
42
send: 5A A5 06 83 00 0F 01 ED 90
43
no data receive!
44
send: 5A A5 04 83 10 00 01
45
Segmentation fault
46
[root@OM-A8-L200:NandFlash]# ./sscomx
47
Input the com prot: RS485-9
48
baudrate: 115200
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-9, 115200, n, 8, 1 for hex
57
send: 5A A5 04 83 10 00 01
58
Segmentation fault
59
[root@OM-A8-L200:NandFlash]# ./sscomx
60
Input the com prot: RS485-9
61
baudrate: 115200
62
Parity(n\o\e): n
63
DataBit(5\6\7\8): 8
64
StopBit(1\2): 1
65
data types:
66
   1. hex
67
   2. ascii
68
select data type: 1
69
select com prot: /dev/RS485-9, 115200, n, 8, 1 for hex
70
send: 5A A5 05 01 83 10 0C 01
71
rece: 50 83 10 0C 01 09 92
72
send: 5A A5 05 01 83 10 0C 01
73
rece: FF ED 01 83 10 0C 01 09 92
74
send: 5A A5 05 01 83 10 0C 01
75
Segmentation fault
76
[root@OM-A8-L200:NandFlash]#