[root@OM-A6-T300A:NandFlash]# ./omDemo1 1314 29 0 0 0 RS485-2:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185620 kB MemAvailable: 209856 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: a6b710 !!!MemVsz change: 128 KB !!!MemVsz change: 4916 KB !!!MemVsz change: 1248 KB SMxxx: Type=1314 Addr=29 Port=0 Tag1=0 Ext1=0 SerDef=RS485-2:9600,n,8,1 Type=1314 testSM SM=a6e3a8 CSerCom InitCom: a6e518 1 CSerCom UpdParams: ComPort: RS485-2, 0, 0 CSerCom::Open: /dev/RS485-2,9600,8,N,0 set serial done+! RS485-2:9600,n,8,1[100002] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185252 kB MemAvailable: 209488 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0001 13:44:18 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0002 13:44:20 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0003 13:44:21 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0004 13:44:22 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0005 13:44:24 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0006 13:44:25 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0007 13:44:26 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0008 13:44:27 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0009 13:44:29 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0010 13:44:30 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0011 13:44:31 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0012 13:44:33 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 testSM-0013 13:44:34 RS485-2:9600,n,8,1 SEND: 1D 03 00 02 00 03 A6 57 RECV: 1D 03 06 00 10 00 03 FF F7 88 00 ^C [root@OM-A6-T300A:NandFlash]# ./sscomx Input the com prot: RS485-2 baudrate: 9600 Parity(n\o\e): n DataBit(5\6\7\8): 8 StopBit(1\2): 1 data types: 1. hex 2. ascii select data type: 1 select com prot: /dev/RS485-2, 9600, n, 8, 1 for hex send: 1D 03 00 01 00 01 D7 96 rece: 1D 03 02 00 03 29 87 send: 1D 03 00 04 00 01 C7 97 rece: 1D 03 02 FF F7 69 F0 send: SEND: 1D 03 00 02 00 03 A6 57 1D Addr:29 03 Func:03 00 02 reg:02 00 03 cnt:3 A6 57 crc: RECV: 1D 03 06 00 10 00 03 FF F7 88 00 1D Addr:29 03 Func:03 06 cnt:06 00 10 单位:16 压力单位:0~8 温度单位:0~2 00 03 小数点位数:3 FF F7 压力测量值/温度测量值:65527 88 00 crc: