Initialize (I) command

Description

(see command description format info here)

Function:Initializes the settings of the DS
Can be issued through:Network (broadcasts ignored*, login required); serial port
Command format:I
Possible replies:A, D, F
First introduced:Earlier than "baseline" V3.14/V3.51
See also:Authentication

Details

Initialize command restores the settings of the DS to their default factory values. Some settings are initialized each time this command is executed. Other settings are initialized or left intact depending on the interface (network or serial) through which the **Initialize command was issued and also on whether or not a particular setting contained a valid or invalid value.

All settings can be divided into three groups:

Settings that are initialized unconditionally, no matter whether the Initialize command is issued through the network or through the serial port. For example, the Routing Mode (RM) setting is always reset to 0 (server) after the initialization.
Settings that are initialized unconditionally for the serial Initialize command, but are only initialized in case they contained an invalid value (or found to be corrupted)*** for the network Initialize command. One of such settings is the IP-address (IP). Since resetting the IP-address might possibly make the DS inaccessible through the network the risk is minimized by leaving the setting intact unless it is "bad".
Settings that are only initialized when they contained an invalid value, no matter whether command was issued through the network or through the serial port. For example, the MAC-address (FE) setting is never altered unless found to be invalid. This is because the MAC-address is preset during the production and should not be altered unless absolutely necessary.

When issued through the network, the Initialize command requires prior login using the Login (L) command (programming session must be opened). Denied (D) reply code is returned if the programming session is not in progress or if it doesn't belong to the sender of the Initialize command - the DS remembers the IP-address of the network host that opens the programming session and requires that all subsequent commands (that require prior login) are sent from the same IP.

Failed (F) reply code is returned if the DS fails to reset one or more settings. This usually indicates a hardware malfunction (EEPROM failure). 

* Without prior selection using Select In Broadcast Mode (W) command.

** Or the values defined by the Custom profile created by the User.

*** Each setting's data is protected by an individual checksum.