23
15 luglio 2019
maximum.
return
`0` on success; `-1` if at least one of the percent values
is out of range.
int setIP(const std::string &net_ip, const std::string &net_mask, const
std::string &net_gateway)
Change the qb SoftHand Industry IPv4 address, network mask and
gateway of the device.
It is worth noticing that the device should be connected first to use this
command.
net_ip
the device network IP address, e.g. 192.168.1.110.
net_mask
the device network mask, e.g. 255.255.255.0.
net_gateway
the device network gateway, e.g. 192.168.1.1.
return*
`0` on success;
`-1` if at least one of the given IPv4-format addresses is wrong.
void waitForTargetReached()
Wait until the qb SoftHand Industry has reached the commanded
position.
This method should be called after a `setClosure` one, to wait for the
action to be completed.