help needed on making use of the call monitor service

General Forum for talking area for B series TVs.

help needed on making use of the call monitor service

Postby goaskin » Sun Apr 25, 2010 9:26 pm

Since the B-series, Samsung TVs have a feature called Personal Message Service. For that, a server runs on port 52235 and if you send a well-formated SOAP-request to this port, the TV should display messages about incoming calls, SMS or calendar schedules. The manual says that some mobile phones with WIFI are able to inform the TV about calls etc.

On a german forum, we try since more than half an year to find out how this service works. But without any success yet. Furthermore nobody knows a mobile phone that is usable for this. Can anybody help us?
goaskin
 
Posts: 69
Joined: Sat Nov 28, 2009 9:33 pm

Re: help needed on making use of the call monitor service

Postby watskebart » Sun Apr 25, 2010 11:39 pm

Sound interesting.
I'll definitly follow this thread. 8-)
░▒▓ ШΒ ▓▒░


Proud owner of a:
Samsung LE40B650T2PXXN CI+

Firmware SamyGO T-CHLCIPDEUC 2006.0
watskebart
 
Posts: 18
Joined: Thu Apr 22, 2010 11:34 am
Location: AMS-IX

Re: help needed on making use of the call monitor service

Postby sumihe » Mon Apr 26, 2010 8:28 pm

Hi,

here is the link to the german forum. Some steps are done but the real idea isn't found. Plz help us !!!

http://www.ip-phone-forum.de/showthread.php?t=197700
sumihe
 
Posts: 10
Joined: Sat Feb 20, 2010 10:28 pm

Re: help needed on making use of the call monitor service

Postby goaskin » Mon Apr 26, 2010 9:50 pm

The latest non-working code is:

Code: Select all
POST /PMR/control/MessageBoxService HTTP/1.0
Content-Type: text/xml; charset="utf-8"
HOST: 192.168.178.20
Content-Length: 469
SOAPACTION: "uuid:samsung.com:service:MessageBoxService:1#AddMessage"
Connection: close

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
   <s:Body>
      <u:AddMessage xmlns:u="urn:samsung.com:service:MessageBoxService:1">
         <MessageID>urn:uuid:12345678-1234-1234-1234-12345678abcd</MessageID>
         <Message>category:PmrIncomingCallMessage:sender:4627325:receiver:62347</Message>
      </u:AddMessage>
   </s:Body>
</s:Envelope>


I think the necessary changes are very few but nobody has an idea yet.
goaskin
 
Posts: 69
Joined: Sat Nov 28, 2009 9:33 pm

Re: help needed on making use of the call monitor service

Postby erdem_ua » Tue Apr 27, 2010 12:56 am

Hi goaskin.
I don't know if samsung implementation is functional to the date. (Might be they leave their work at half)...
Do you inspect exeDSP via IDA?
It's not scary as it sounds came.
When you find functions that process this code, you might have found what is wrong.
Also might be "Debug Menu" could help you on this.
User avatar
erdem_ua
SamyGO Admin
 
Posts: 2957
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey

Re: help needed on making use of the call monitor service

Postby meinsource » Tue Apr 27, 2010 8:30 am

erdem_ua wrote:I don't know if samsung implementation is functional to the date. (Might be they leave their work at half)...
Do you inspect exeDSP via IDA?
It's not scary as it sounds came.

It should be functional! At least it is documented for the LExxB650 (CI+) model that I have at the users manual "Home Network Centre" pages (62..) This documentation has kind of screen shots to illustrate and the text describes the functions in detail. To some extend this feature was a reason for me to buy this B series device.

If someone finds relevant exeDSP code sections I'm happy to inspect these (although I never read this disassembler code). Please attach it here or send a message.

Sure it would be helpful to identify related function calls for other purposes - as these allow to overlay text dialogs as pop-ups while TV runs or Media files are being played. E.g. it might be helpful to display PVR status messages.
meinsource
 
Posts: 66
Joined: Tue Nov 24, 2009 2:03 am
Location: Germany

Re: help needed on making use of the call monitor service

Postby goaskin » Wed Apr 28, 2010 8:56 am

This service seems to be functional because I read a forum discussion (linked into the thread of another forum) that this feature works with one Nokia Handy that isn't available on the european market (I remembered N71).

Regarding Samsung Handies, they use three different operating systems. Some Windows, some Symbian and some Android. The technical realization, the features and the available applications are completely different. Possibly it works on Samsung Jet mobiles but not with Samsung Omnia.
goaskin
 
Posts: 69
Joined: Sat Nov 28, 2009 9:33 pm

Re: help needed on making use of the call monitor service

Postby doodlecz » Wed Apr 28, 2010 10:30 am

Yesterday I tried to send the latest non-working XML to the TV.
And I must say, with such request, we (you ;)) are still far away from the moment when the TV tries to parse and process the Message or MessageID node.

In some of your tests I read about
- error 412 - precondition failed - it means badly formatted XML (or Content-Length is too short, so the XML is not completely and therefore badly formatted).
- error 402 - invalid request - this seems to be about some session management, but still to be checked.
These are also two errors I encountered during tests..

Anyway, except some first checks (-> possible error 412), the content of the request is not checked and current issue IMO is not about content of the AddMessage node.
doodlecz
Official SamyGO Developer
 
Posts: 98
Joined: Wed Mar 17, 2010 9:12 am

Re: help needed on making use of the call monitor service

Postby goaskin » Wed Apr 28, 2010 5:40 pm

There are either additional tags required that are not part of the service description or the message itself is a specially formatted string. The exeDSP checks for things like sender, receiver, messagetype (numeric IDs for sms, calls and calendar schedules), messages and a few unknown parameters more.

For the message ID I guess I am right. With

Code: Select all
urn:uuid:12345678-1234-1234-1234-12345678abcd


I get error 412. When changing to something else (other format), I always get 402. The routines handle something different if the message-id begins with urn:uuid: with a set of numbers following. My intension to submit a MessageID with this format was because a messageID-parameter is often used on SOAP requests and has nearly always this format.
goaskin
 
Posts: 69
Joined: Sat Nov 28, 2009 9:33 pm

Re: help needed on making use of the call monitor service

Postby doodlecz » Wed Apr 28, 2010 9:49 pm

How exactly look your requests and related responses? (with and without MessageID node)
For me it doesn't matter if there is MessageID node or not. Just if the request is OK (by header and syntax) -> 402, if not -> 412..

Btw, I let exeDSP generate some uuids (cd_uuid_generate) and got following:
e6394016-2275-3743-fbde-60412921747d
64f32c88-f357-ac8f-acec-05f3eee35a7c
..just for confirmation of correct format.
doodlecz
Official SamyGO Developer
 
Posts: 98
Joined: Wed Mar 17, 2010 9:12 am

Next

Return to [B] General

Who is online

Users browsing this forum: No registered users and 1 guest