login as: root root@192.168.168.8's password: [root@OM-A6-T100A:~]# Display all 638 possibilities? (y or n) [root@OM-A6-T100A:~]# cd /NandFlash [root@OM-A6-T100A:NandFlash]# ./sscomx Input the com prot: RS485-3 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-3, 9600, n, 8, 1 for hex send: 192.168.168.8 no data receive! send: 01 03 00 00 00 0A C5 CD no data receive! send: ^C [root@OM-A6-T100A:NandFlash]# ./sscomx Input the com prot: RS485-3 baudrate: 9600 Parity(n\o\e): n DataBit(5\6\7\8): 8 StopBit(1\2): 2 data types: 1. hex 2. ascii select data type: 1 select com prot: /dev/RS485-3, 9600, n, 8, 2 for hex send: 01 03 00 00 00 0A C5 CD rece: 01 03 14 00 6C 1 02 BD 2 00 00 3 00 00 4 00 00 5 00 00 6 01 40 7 320 00 0A 8 10 00 00 00 00 76 FB send: 01 03 00 00 00 0C 45 CF rece: 01 03 18 00 6C 02 BD 00 00 00 00 00 00 00 00 01 40 00 0A 00 00 00 00 00 00 00 0A 14 D1 send: ^C [root@OM-A6-T100A:NandFlash]# ./omDemo1 4628 1 0 0 0 RS485-3:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 177368 kB MemAvailable: 194188 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 !!!MemVsz change: 220 KB !!!MemVsz change: 5148 KB !!!MemVsz change: 1248 KB SMxxx: Type=4628 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=RS485-3:9600,n,8,1 Type=4628 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=14d65c8 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 176952 kB MemAvailable: 193776 kB Buffers: 0 kB start SMxxx->DataGet ... testSM-0001 17:45:11 RS485-3:9600,n,8,1 testSM-0002 17:45:13 RS485-3:9600,n,8,1 ^C [root@OM-A6-T100A:NandFlash]# ./omDemo1 4628 1 0 0 0 RS485-3:9600,n,8,1 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185760 kB MemAvailable: 202608 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 1b85710 !!!MemVsz change: 128 KB !!!MemVsz change: 5148 KB !!!MemVsz change: 1248 KB SMxxx: Type=4628 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=RS485-3:9600,n,8,1 Type=4628 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=1b885b8 CSerCom InitCom: 1b899c8 1 CSerCom UpdParams: ComPort: RS485-3, 0, 0 CSerCom::Open: /dev/RS485-3,9600,8,N,0 set serial done+! RS485-3:9600,n,8,1[110003] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185272 kB MemAvailable: 202176 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 01 03 40 1E 00 02 B1 CD RECV: testSM-0001 17:45:51 RS485-3:9600,n,8,1 SEND: 01 03 40 1E 00 02 B1 CD RECV: testSM-0002 17:45:53 RS485-3:9600,n,8,1 SEND: 01 03 40 1E 00 02 B1 CD RECV: testSM-0003 17:45:55 RS485-3:9600,n,8,1 SEND: 01 03 40 1E 00 02 B1 CD RECV: ^C [root@OM-A6-T100A:NandFlash]# ./omDemo1 4628 1 0 0 0 RS485-3:9600,n,8,2 VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185996 kB MemAvailable: 202904 kB Buffers: 0 kB !!!MemVsz 0: 4876 KB SIGRTMAX-1= 63 SerManager new: 9f9710 !!!MemVsz change: 128 KB !!!MemVsz change: 5148 KB !!!MemVsz change: 1248 KB SMxxx: Type=4628 Addr=1 Port=0 Tag1=0 Ext1=0 SerDef=RS485-3:9600,n,8,2 Type=4628 CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0 testSM SM=9fc5b8 CSerCom InitCom: 9fd9c8 1 CSerCom UpdParams: ComPort: RS485-3, 0, 2 CSerCom::Open: /dev/RS485-3,9600,8,N,2 set serial done+! RS485-3:9600,n,8,2[110003] open ok! VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB MemFree: 185632 kB MemAvailable: 202540 kB Buffers: 0 kB start SMxxx->DataGet ... SEND: 01 03 40 1E 00 02 B1 CD RECV: 01 03 04 45 AE AD EC F3 C3 SEND: 01 03 20 00 00 2A CF D5 RECV: 01 03 54 45 A6 40 00 45 D0 E0 00 45 A6 A0 00 45 0A 90 00 45 70 D0 00 45 71 A0 00 44 C1 C0 00 44 B7 C0 00 44 BA A0 00 45 CA 48 00 C5 55 B0 00 45 A0 F0 00 45 94 28 00 44 12 00 00 C3 AF 00 00 C5 13 A0 00 45 4E 00 00 46 68 80 00 45 56 D0 00 45 B1 18 00 45 B4 78 00 B5 D7 t=4628 iaddr=1 iext=0 416415=5589 48193=5320 48195=6684 48197=5332 48199=2217 48201=3853 48203=3866 48205=1550 48207=1470 48209=1493 48211=6473 48213=-3419 48215=5150 48217=4741 48219=584 48221=-350 48223=-2362 48225=0 48227=14880 48229=3437 48231=5667 48233=5775 brief=????A: 532.0 V, ????B: 668.4 V ,????C: 533.2 V testSM-0001 17:46:11 RS485-3:9600,n,8,2 SEND: 01 03 40 1E 00 02 B1 CD RECV: 01 03 04 45 AE AD EC F3 C3 SEND: 01 03 20 00 00 2A CF D5 RECV: 01 03 54 45 A6 50 00 45 D0 F8 00 45 A6 A8 00 45 0A A0 00 45 70 F0 00 45 71 B0 00 44 C1 A0 00 44 B7 A0 00 44 BA A0 00 45 CA 28 00 C5 55 C0 00 45 A0 F0 00 45 94 18 00 44 13 40 00 C3 AE 80 00 C5 13 60 00 45 4E 10 00 46 68 78 00 45 56 E0 00 45 B1 10 00 45 B4 68 00 65 CA t=4628 iaddr=1 iext=0 416415=5589 48193=5322 48195=6687 48197=5333 48199=2218 48201=3855 48203=3867 48205=1549 48207=1469 48209=1493 48211=6469 48213=-3420 48215=5150 48217=4739 48219=589 48221=-349 48223=-2358 48225=0 48227=14878 48229=3438 48231=5666 48233=5773 brief=????A: 532.2 V, ????B: 668.7 V ,????C: 533.3 V ^C [root@OM-A6-T100A:NandFlash]#