smartDEN
IP-16R-XX
User Manual
13 Apr 2021
-
37
-
<CurrentState>
<LoginKey>65156</LoginKey>
</CurrentState>
http://192.168.1.100/current_state.json
Reply (login required):
{"CurrentState": {"LoginKey": "65156"}}
Step 2:
Request (password is sent as a parameter)
http://192.168.1.100/current_state.xml?pw=28237099263eabfd88626124a822c
64c
or
http://192.168.1.100/current_state.json?pw=28237099263eabfd88626124a822
c64c
Reply (password is O’K, login accepted):
See:
Password encryption algorithm to be implemented in custom application is
available upon request.
9.2. Login (Non-Encrypted Password)
In this mode the password is passed as non-encrypted parameter with the
request:
http://192.168.1.100/current_state.xml?pw=admin
http://192.168.1.100/current_state.json?pw=admin
Getting the
<LoginKey> in the answer in this mode means only that the provided
password is wrong or the login session has been expired.
If there is no data traffic between the custom application and the
smartDEN IP-16R-XX
for time, specified by
Session Timeout
parameter,
the session "times out" and a new login is required.