VCOM Linux Driver
Advantech Inc.
|
To starup the VCOM service, one would need to:
We've included the following tools to asist with the process:
command | discription | example |
---|---|---|
advadd | add a VCOM connection | $ sudo advadd -t c524 -a 172.17.8.100 -p 1 -m 0 |
advrm | remove a VCOM connection | $ sudo advrm -m 0 |
advman | startup/update the VCOM service | $ sudo advman -o start |
advls | list the VCOM connections | $ sudo advls |
advps | list the connection status of the current system | $ sudo advps |
The command advadd,advrm, advls handles the "offline" VCOM connection map.
To make the VCOM connection "active and current", one would need to use advman to start or update the service.
back to README.md
Use advadd to add a VCOM connection.
option | discription | info |
---|---|---|
-a | IP Address | a IPv4, IPv6 or URL |
-t | DeviceID | checkout devic_id.md |
-m | MinorID of the driver node | starts from 0 |
-p | Port Number on the Device | starts from 1 |
-r | Redundent IP Address | |
-s | Synchronize added node to the active service |
the following examples shows how to add a connection with/without TLS.
Use advrm to remove connectons from the map.
Use advls to list the connection map, please notice this is the offline map.
To make this map "active and current" one would have to startup the VCOM service via advman.
Use advman to startup or update the VCOM service everytime the VCOM map is modified.
advman has only one option "-o", however, it can have the following input values:
value | Discription |
---|---|
start | start the system(Driver + Service) according to the offline connection map |
stop | Stop the system(Driver + Service) |
sync | sync/update the system according to the offline connection map |
insert | Insert the driver, don't start the service |
remove | Remove the driver |
restart | Stop and then restart the service |
Use advps to check the active and current VCOM connection status.