3.2.7.1 UPnP Device Discovery notification is received

The DMP role is initialized when the UPnP layer reports that UPnP Device has been discovered, and the UPnP Device can be considered to be a DMS. The DMP MUST only treat a UPnP Device as a DMS if it satisfies the requirements of [DLNA] guideline 7.3.11.<5>

If the value of the manufacturer XML tag in the UPnP Device Description Document of the DMS contains the word "Microsoft", then the Microsoft-CDS variable MUST be set to True.<6>

The Ethernet or IEEE 802.3 address used by the server SHOULD be saved in the Server-Link-Address variable.

If the Server-Link-Address variable contains an address and the UPnP Device Description Document of the DMS contains the microsoft:magicPacketWakeSupported XML tag, as defined in [MS-UPMC] section 2.3.1.1, and the value of this tag is 1, then the value of the WoL-Supported variable MUST be set to True.

The UPnP Device Description Document, and the UPnP Service Description Document for each UPnP service implemented by the DMS, MUST be saved in the Server-DDD-SDD variable.

The DMP MUST set the State variable to Server_Available.

The DMP SHOULD notify the higher layer that a DLNA DMS has been discovered.

The DMP MUST be prepared to receive a request from a higher layer to browse the ContentDirectory service of the DMS, as specified in section 3.2.4.1.

The DMP MUST also be prepared to receive a notification indicating that the DMS has left the network, as specified in section 3.2.7.3.