Binary SMS DRM rights

Binary SMS DRM rights SearchSearch
Author Message
jignesh kakkad
New member
Username: Jig21nesh

Post Number: 27
Registered: 03-2005
Posted on Monday, January 29, 2007 - 04:51 am:   

Dear All,
I am trying to send DRM rights as Binary message using XML setting option of nowsms. i have found couple of problem. when i try to send it i am getting msg id, and when i check the log file of the same it gives me binary data, now i have build another application where i am getting binary (HEX) value of the same rights object. when i compare both one from log file and one from my applciation it seems to me that nowsms is addgin some of the charactor in the binary HEX string and if i try to send the bianry data of my application using send binary SMS, i am not getting any SMS, but at tat same time if i add those random charactor and add them into the binary and then send it, it is owrking fine.
I dont know what is those chara? and why that is necessary?

Second problem is that evvery time i need to chnage content id in the rights object. which is ont specify in DRM standerds but if i want to send SMS using nowsms i need to. this is really unexpected. i would like to know reason for this.

Thanking you

Jignesh
Software Engineer
Mobile Domain
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 150
Registered: 12-2006
Posted on Wednesday, January 31, 2007 - 10:23 pm:   

Hi Jignesh,

Am I correct to understand that when you send the DRM rights by submitting XML with NowSMS it works. However, when you submit your own DRM rights as a binary object, it does not?

If this is correct, then I can only suggest that you double-check your binary data, because it sounds like it is missing some necessary data.


quote:

Second problem is that evvery time i need to chnage content id in the rights object. which is ont specify in DRM standerds but if i want to send SMS using nowsms i need to. this is really unexpected. i would like to know reason for this.




I don't understand what you are trying to describe.

I believe an example would help me understand.

--
Malcolm
Now Wireless Support
jignesh kakkad
New member
Username: Jig21nesh

Post Number: 28
Registered: 03-2005
Posted on Tuesday, February 06, 2007 - 04:38 am:   

Dear Malcom,

Thank you for the reply,

Yeah it does and let me send you data which i have received from nowsms log and i would like to konw something about the same.

First DAta (Working using send XML setting option)

Data=D30603CBAF88030E6A00C505850686078701464703312E30000101494A464803687474703A2 F2F7777772E63656C6C656E742E636F6D2F312E6A70670001014B4CC310E4F6207720445E3D1C218 5CD481F28350101014D4F5253033500010101010101

now in this data i would like to know what does this mean 'D30603CBAF88' starting of the binary data coz whne i converts same rights ojbect in binary it starts with 03 and onwards

Please let me know in detail

my second question is


my program
030e6a00c505850686078701464703312e30000101494a464803687474703a2f2f7777772e63656c
6c656e742e636f6d2f322e6a70670001014b4cc3104c6276c6b2afca705f9baf54e669cf79010101
4d4f5253033500010101010101


NWOSMS
D70603CBAF88030E6A00C505850686078701464703312E30000101494A464803687474703A2F2F77 77772E63656C6C656E742E636F6D2F322E6A70670001014B4CC3104C6276C6B2AFCA705F9BAF54E6 69CF790101014D4F5253033500010101010101

There is only two diffrence those two binary data of the same key

1. D70603CBAF88 this number has been added by nowsms i dont know why?
2. NOWSMS conversion is in caps

PLease let me know sir
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 176
Registered: 12-2006
Posted on Thursday, February 08, 2007 - 12:28 am:   

They look like the WSP push headers.

Off the top of my head, I believe D7 is a push id, 06 indicates a connection-less push PDU ... 03 looks like header length ... CB is content type ... AF88 is the application id to receive the push.
Manuel Montana
New member
Username: Montimamf

Post Number: 3
Registered: 03-2007
Posted on Thursday, April 26, 2007 - 02:11 am:   

Hi,

I would like your help, telling me what's the encryption algorithm in key value coversion make from dr(xml) file to (drc)wbxml file or hex data in the application log.

could you give me an example, coz I've to make a second aplication to store in a db the cid and keyvalue of dr file.

Thanks,

Manuel