/pps/services/dlna/dmcclient/dmr/networkstate/<dmr_uuid>

Get notifications of DMR network state events

Publishers
dmcclient
Subscribers
dmcclient; any app

The /pps/services/dlna/dmcclient/dmr/networkstate/ directory contains one object per DMR discovered on the DLNA network. The object's name is the DMR's UUID.

The object's format looks like this:
@5df26dc6-8e42-8401-6d98-75c100b108b1 
eventType::5 
friendlyName::Home TV 
iconUrl:: 
isEnabled:: 
isLocalDevice:b:false 
mac::00:27:13:B1:FA:EA 
modelDescription::Samsung DTV DMR 
strBaseUrl::http://192.168.1.111:52235/dmr 
strDlnaVersion::DMR-1.50 
strManufacturer::Samsung Electronics 
strModelDescription:: 
strModelName::Samsung DTV DMR 
strModelNumber::1.0 
strUpnpVersion::1.0 
uuid::5df26dc6-8e42-8401-6d98-75c100b108b1
        

Attributes

Attribute Data type Description
eventType Number Values 4 and 5 indicate these events:
  • 4 = DMR contact lost
  • 5 = DMR discovered
friendlyName String Simple name of device.
iconUrl String Location of icon graphics file.
isEnabled Boolean Not used consistently across vendors (for some it's blank).
isLocalDevice Boolean Indicates whether device is on the same target as the DMC detecting it.
mac String MAC address of device.
modelDescription String DMR model.
StrBaseUrl String Location of the base URL of the DMR.
strDlnaVersion String Version of the DLNA Interoperability Guidelines.
strManufacturer String Name of device manufacturer.
strModelDescription String DMR model description.
strModelName String DMR model name.
strModelNumber String DMR model number.
strUpnpVersion String Version of the Universal Plug and Play specification.
uuid String UUID of the DMR.

Event behavior

When the DMC discovers a DMR (eventType::5), the DMR's object is added to the /pps/services/dlna/dmcclient/dmr/networkstate/ directory. When the DMC looses contact with the DMR, this event is first written to the DMR's object (eventType::4) and then the object is deleted. If there's a playstate object for the DMR, it's also deleted on this event.