Back to Server Commands
CMD_SERVER_REG

Command:              CMD_SERVER_REG
Destination:          SD_SERVER
Destination Channel:  n/a

Description

Clients use this command to log onto the and secure necessary privileges. This is the first command that a client issues to the , to obtain the client ID necessary for executing all other commands.

Command data format

User Name --  16 bytes. Null terminated, null padded.
Password  --  32 bytes. Null terminated, null padded.

Response data format

Client ID:  1 byte
Privileges: 1 byte
Padding:    2 bytes

Response return codes

RESP_OK Execution of the command was successful.
RESP_REG_FAIL The login request was rejected.
RESP_UNSUPPORTED This command is not supported.
RESP_UNKNOWN An unknown error occurred.

|Top|