Command: *login:

Command: *login:
This command is used to attempt to gain a higher level of access to the Core using a password or other method. If successful, the Core replies with, providing a Core-dependent code that can be included as a "login" parameter to any future command to the Core to confirm that the sending device is in fact logged in. If the login fails, the Core replies with.

Important: should only be sent using  using the key of the Core, to prevent eavesdropping by other devices.

Usable in: Commands

Parameters

 * password
 * Default parameter. The password being used to log in.


 * level
 * The login level desired.

Additional parameters may be used to support other types of login attempts (e.g. hacking, biometrics, etc.).


 * devicetype
 * An optional code indicating the type of device sending the request. The Core may use this in validating the login attempt.

Expected Action by Core
The login attempt is validated. The Core may, but is not required to, notify the unit of the attempt to log in.

Response(s) Expected

 * Success:


 * Failure:.

Examples
*login:{"password":"1234", "level":5} *login:1234

Implementation Details: ACS
Minimum Level:

Other constraints:

The ACS Core does not notify the unit of successful login attempts. At present it does notify the unit of unsuccessful login attempts, but in the future it may only notify sometimes.