Set protocol
permission.
The permission
system works only if
security is enabled with
the “SECUR”
command.
LOGIN allows the user
to run commands with
an End User or
Administrator
permission level.
When the permission
system is enabled,
LOGIN enables running
commands with the
User or Administrator
permission level
When set, login must
be performed upon
each connection
It is not mandatory to
enable the permission
system in order to use
the device
In each device, some
connections allow
logging in to different
levels. Some do not
work with security at all.
Connection may logout
after timeout.
COMMAND
#LOGINlogin_level,password<CR>
FEEDBACK
~nn@LOGINlogin_level,passwordok<CR><LF>
or
~nn@LOGINerr004<CR><LF>
(if bad password entered)
login_level – Level of
permissions required (User or
Admin)
password – Predefined password
(by PASS command). Default
password is an empty string
Set the protocol permission
level to Admin (when the
password defined in the
PASS command is 33333):
#LOGINadmin,33333<CR
>
Get current protocol
permission level.
The permission
system works only if
security is enabled with
the “SECUR”
command.
For devices that
support security,
LOGIN allows the user
to run commands with
an End User or
Administrator
permission level.
In each device, some
connections allow
logging in to different
levels. Some do not
work with security at all.
Connection may logout
after timeout.
COMMAND
#LOGIN?<CR>
FEEDBACK
~nn@LOGINlogin_level<CR><LF>
login_level – Level of
permissions required (User or
Admin)
Get current protocol
permission level:
#LOGIN?<CR>
Cancel current
permission level.
Logs out from End
User or Administrator
permission levels to Not
Secure.
COMMAND
#LOGOUT<CR>
FEEDBACK
~nn@LOGOUTok<CR><LF>
Get the last “n” lines of
message logs.
Used for advanced
troubleshooting. Helps
find error root causes
and gets details not
displayed in the error
code number.
COMMAND
#LOG-TAIL?line_num<CR>
FEEDBACK
Get:
~nn@LOG-TAILnn<CR><LF>
Line content #1<CR><LF>
Line content #2<CR><LF>
Etc...
line_num – Optional, default
line_num is 10
Get the last "2" lines of
message logs:
#LOG-TAIL?2<CR>