Get notifications of DMS network state events
The /pps/services/dlna/dmcclient/dms/networkstate/ directory contains one object per DMS. The object's name is the DMS's UUID.
@58e7fd96-7b27-4cec-8241-910a1a8ce944 eventType:n:3 friendlyName::QNXWS8640 iconUrl::http://192.168.1.138:2869/upnphost/udhisapi.dll?content=uuid: a9dc9a7a-11c3-4858-8225-4acaf7c9f107 isEnabled:: isLocalDevice:b:false mac::5C:26:0A:08:30:46 modelDescription:: strBaseUrl::http://192.168.1.138:2869/upnphost strDlnaVersion::DMS-1.50 strManufacturer::Microsoft Corporation strModelDescription:: strModelName::Windows Media Player Sharing strModelNumber::12.0 strUpnpVersion:n:1.0 uuid::uuid:58e7fd96-7b27-4cec-8241-910a1a8ce944
Attribute | Data type | Description |
---|---|---|
eventType | Number | Values from 1 to 3 indicate these events:
|
friendlyName | String | Simple name of the device. |
iconUrl | String | Location of icon graphics file. |
isEnabled | Boolean | Not used consistently across vendors (for some it's blank). |
isLocalDevice | Boolean | Indicates whether the device is on the same target as the DMC detecting it. |
mac | String | MAC address of the device. |
modelDescription | String | DMS model. |
StrBaseUrl | String | Location of the base URL of the DMS. |
strDlnaVersion | String | Version of the DLNA Interoperability Guidelines. |
strManufacturer | String | Name of the device manufacturer. |
strModelDescription | String | Model description. |
strModelName | String | Model name. |
strModelNumber | String | Model number. |
strUpnpVersion | String | Version of the Universal Plug and Play specification. |
uuid | String | UUID of the DMS. |
When the DMC discovers a DMS (eventType::3), the DMS's object is added to the /pps/services/dlna/dmcclient/dms/networkstate/ directory. When the DMC looses contact with the DMS, this event is first written to the DMS's object (eventType::2) and then the object is deleted.