MessageBox Service version 3, 401 Unauthorized

Support for C series TVs that all user could ask. Please do not ask a questions at other forums.

jw1001
Posts: 166
Joined: Mon Dec 07, 2009 4:58 pm

Re: MessageBox Service version 3, 401 Unauthorized

Post by jw1001 »

This is from my B650:

Code: Select all

mtd_rwarea/dlna_web_root:
-rw-r--r--    1 root     0             615 Jan  1  1980 DmrAclConfig.xml
-rw-r--r--    1 root     0               6 Jan  1  1980 FriendlyName
-rw-r--r--    1 root     0             615 Jan  1  1980 PmrAclConfig.xml
drwxr-xr-x    2 root     0            2048 Jan  1  1980 dmr
drwxr-xr-x    2 root     0            2048 Jan  1  1980 pmr

mtd_rwarea/dlna_web_root/dmr:
-rw-r--r--    1 root     0           16712 Jan  1  1980 AVTransport1.xml
-rw-r--r--    1 root     0            5294 Jan  1  1980 ConnectionManager1.xml
-rw-r--r--    1 root     0           13452 Jan  1  1980 RenderingControl1.xml
-rw-r--r--    1 root     0            1914 Jan  1  1980 SamsungMRDesc.xml

mtd_rwarea/dlna_web_root/pmr:
-rw-r--r--    1 root     0            1868 Jan  1  1980 MessageBoxService.xml
-rw-r--r--    1 root     0            1090 Jan  1  1980 PersonalMessageReceiver.xml
It has no "Ruis" stuff, of course - that's a C-series feature (for the screen share/remote control?)
SamsungMRDesc = Media Renderer Description - nothing to do with Message Box service.

I don't know why the message service is disabled in Sweden - maybe Samsung doesn't expect to sell any phones there :) There might be something in a Service Menu to turn it on, but you need to be careful with that.

I note the PersonalMessageReceiver.xml file is much bigger on yours.
jw1001
Posts: 166
Joined: Mon Dec 07, 2009 4:58 pm

Re: MessageBox Service version 3, 401 Unauthorized

Post by jw1001 »

Here are the two files. "xxxx" blanks out TV-specific data
They might not be of much use until you can switch the service on. Can you change Country setting to try out the service?

PersonalMessageReceiver.xml

Code: Select all

<?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
  <specVersion>
    <major>1</major>
    <minor>0</minor>
  </specVersion>
  <device>
    <deviceType>urn:samsung.com:device:PersonalMessageReceiver:1</deviceType>
    <friendlyName>TV</friendlyName>
    <manufacturer>Samsung Electronics</manufacturer>
    <manufacturerURL>http://www.samsung.com</manufacturerURL>
    <modelDescription>Samsung DTV PMR</modelDescription>
    <modelName>Samsung DTV PMR</modelName>
    <modelNumber>1.0</modelNumber>
    <modelURL>http://www.samsung.com</modelURL>
    <serialNumber>2008xxxxPMR</serialNumber>
    <UDN>uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</UDN>
    <serviceList>
      <service>
        <serviceType>urn:samsung.com:service:MessageBoxService:1</serviceType>
        <serviceId>urn:samsung.com:serviceId:MessageBoxService</serviceId>
        <controlURL>/PMR/control/MessageBoxService</controlURL>
        <eventSubURL>/PMR/event/MessageBoxService</eventSubURL>
        <SCPDURL>MessageBoxService.xml</SCPDURL>
      </service>
    </serviceList>
  </device>
</root>
MessageBoxService.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<scpd xmlns="urn:schemas-upnp-org:service-1-0">
   <specVersion>
      <major>1</major>
      <minor>0</minor>
   </specVersion>
   <actionList>
      <action>
         <name>AddMessage</name>
         <argumentList>
            <argument>
               <name>MessageID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_MessageID</relatedStateVariable>
            </argument>
            <argument>
               <name>MessageType</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_MessageType</relatedStateVariable>
            </argument>
            <argument>
               <name>Message</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_Message</relatedStateVariable>
            </argument>
         </argumentList>
      </action>
      <action>
         <name>RemoveMessage</name>
         <argumentList>
            <argument>
               <name>MessageID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_MessageID</relatedStateVariable>
            </argument>
         </argumentList>
      </action>
   </actionList>
   <serviceStateTable>
      <stateVariable sendEvents="no">
         <name>A_ARG_TYPE_MessageID</name>
         <dataType>string</dataType>
      </stateVariable>
      <stateVariable sendEvents="no">
         <name>A_ARG_TYPE_MessageType</name>
         <dataType>string</dataType>
         <defaultValue>text/xml; charset="utf-8"</defaultValue>
      </stateVariable>
      <stateVariable sendEvents="no">
         <name>A_ARG_TYPE_Message</name>
         <dataType>string</dataType>
      </stateVariable>
   </serviceStateTable>
</scpd>
jw1001
Posts: 166
Joined: Mon Dec 07, 2009 4:58 pm

Re: MessageBox Service version 3, 401 Unauthorized

Post by jw1001 »

As above, the directory contains only 3 files:

mtd_rwarea/dlna_web_root:
-rw-r--r-- 1 root 0 615 Jan 1 1980 DmrAclConfig.xml
-rw-r--r-- 1 root 0 6 Jan 1 1980 FriendlyName
-rw-r--r-- 1 root 0 615 Jan 1 1980 PmrAclConfig.xml

The xml files just contain lists of (UPNP?) detected devices. You won't have these if the services are not running. DmrAclConfig.xml will apply to Media Play. FriendlyName just contains "TV" (in Unicode) - I think I may have edited that somewhere in the Menu system.

Code: Select all

<ACL>
	<UPNP_ACL_P>
		<entry>
			<ip_addr>192.168.1.2</ip_addr>
			<mac_addr>00-1F-D0-34-5A-E5</mac_addr>
			<dev_name>Desktop PC</dev_name>
		</entry>
		<entry>
			<ip_addr>192.168.1.5</ip_addr>
			<mac_addr>00-1C-F0-24-78-AF</mac_addr>
			<dev_name>unknown device 0</dev_name>
		</entry>
	</UPNP_ACL_P>
	<UPNP_ACL_D/>
</ACL>
The <dev-name> just records "unknown device n" by default. I have edited the files on my TV to make the devices easier to recognise in the ALLOW/DENY lists. I suspect that a Samsung mobile phone would provide other information that could be recognised - maybe a phone model or number.

Changing the language setting won't be enough to change features. You need to change the country setting. It might be necessary to run "plug and play" to do that. On my set, Plug-and-Play starts -
Language
Store Demo/Home Use
Country
Air/Cable
etc.
You may be able to change Country in the Channel menu, but I don't know if that changes all Country settings. You will probably need to re-tune - clone your channel settings first if you want to save them.
jw1001
Posts: 166
Joined: Mon Dec 07, 2009 4:58 pm

Re: MessageBox Service version 3, 401 Unauthorized

Post by jw1001 »

Changing the language isn't enough. You need to change Country as well. Find the Menu plug and play option.

I don't have that file.

B series don't have an AllShare menu - they have separate services for Media Play and Message Box. Since your MessageBox service isn't running, no UPNP devices can be detected.

Post Reply

Return to “[C] Support”