Hello and thanks for the very useful tool!
Is the exit code from the clientAuthorization script available through the client API? Or can I assume that the "FAILED" response when a device's state == 1 is because the USE request lacked a password?
Hello and thanks for the very useful tool!
Is the exit code from the clientAuthorization script available through the client API? Or can I assume that the "FAILED" response when a device's state == 1 is because the USE request lacked a password?
No it wont return the exit code from the API. It will just return
FAILED
if the password is wrong or the user is not authorized to use the device.If you are using the GUI it will say You are not authorized to use this device if you return
0
. If you return1
it wont say anything and the device will be used. If you return2
then the password dialog is displayed for the client to reenter their password to use the device.I was interested because I needed a utility to communicate with a client remotely and for some reason the linux client's GUI doesn't get displayed over RDP (Ubuntu 20.04)
So, I wrote this front end to interact with a client. It makes some of the common (for me) commands easy to do from the command line with linux or windows. It probably requires a couple python modules to be installed.
Great! Thanks for posting that, it might be helpful for others...Ive put a link in the client_api page to this example
Some text was interpreted as html. The string in lines 24 and 218 should be 'Usage: vhutil.py [-h -A -p -u <devnum> | -s <devnum> | -a <devnum> | -x <IPCcommand>]'
Thanks, fixed now