amclain / duet-lib-pjlink

Control PJLink projectors over IP with AMX Duet or NetLinx.
Other
8 stars 7 forks source link

add password change through netlinx code #2

Closed nisafronov closed 8 years ago

nisafronov commented 8 years ago

Hello, Can you add password change functionality through netlinx code. I can do it by myself, but have no AXM Cafe Duet to compile java code

Best wishes, Nikita

amclain commented 8 years ago

Hi, thanks for your interest in this Duet module.

To the best of my knowledge, the PJLink specification does not support changing the password of the PJLink device. In my opinion, device passwords should be set up via SSH/Telnet, the device's web interface, or on screen display when the system is commissioned.

nisafronov commented 8 years ago

Oh, iam sorry for misunderstand. Your module have variable String _pjlinkPassword = "", method public void setPassword(String password), but no way to change it in netlinx code

amclain commented 8 years ago

No problem. The setPassword method is for connecting to a PJLink device that requires an authenticated connection. It wasn't exposed to NetLinx because if I remember correctly, Duet doesn't implement the MD5 digest required for the authentication procedure.

To use this module, I recommend disabling the authentication on the PJLink device. The system should be secured by placing the master and PJLink device on a dedicated control system network (physical, VLAN, and/or tunnel).