Problem in SMS PDU - Help needed

Problem in SMS PDU - Help needed SearchSearch
Author Message
Shivakumar Ramachandhran
New member
Username: Shiva1977

Post Number: 1
Registered: 01-2006
Posted on Wednesday, January 04, 2006 - 11:04 am:   

I have deveoped a code in PHP to code SMS PDU. Now I am in a testing stage. The following PDU is produced by my code and fails.

41000C91194934174739000472060504040B00C3890604013EAF848C829831313334353033393831 008D9083687474703A2F2F626C6973737061726B2E636F6D2F6D6D732F6E6F6E616D652E6D6D7300 8806800443C23C658919802B3931393434333731373439332F545950453D504C4D4E008A808E0215 B3965465737400

Here is the details of the PDU ....

41 - sms-submit with udh
00 - message reference
0C - address length
91 - type of address
194934174739 - 919443717493
00 - protocol
04 - 8 bit coding
72 - length of user data
user data follows...
060504040B00C3890604013EAF848C829831313334353033393831008D9083687474703A2F2F626C 6973737061726B2E636F6D2F6D6D732F6E6F6E616D652E6D6D73008806800443C23C658919802B39 31393434333731373439332F545950453D504C4D4E008A808E0215B3965465737400


The user data contains a mms push


I am using hyper terminal with motorola c650 as modem to send this sms

here is the transactions.....

AT+CMGF=0;
OK
AT+CMGS=127
> 0041000C91194934174739000472060504040B00C3890604013EAF848C82983131333435303339
3831008D9083687474703A2F2F626C6973737061726B2E636F6D2F6D6D732F6E6F6E616D652E6D6D
73008806800443C23C658919802B3931393434333731373439332F545950453D504C4D4E008A808E
0215B3965465737400
ERROR

NOTE THE LEADING "00" TO MODEM FOR SMSC INFO


Does MOT-C650 not support sms with UDH? anybody have experience with that device? I don't have any other device to test it.

If I replace the first octect "41" with "01" (without UDH) i get a blank sms at my inbox.

So, wats the problem? modem or the PDU?

Anybody could help?

Thanks in advance


birkof
Unregistered guest
Posted on Thursday, January 12, 2006 - 11:49 pm:   

Where have you find specification of this protocol? I used this and I have no problem.
http://www.dreamfabric.com/sms/
I use
00
11
00
then length of phone number
91 // indicates international format of the phone number
etc... Look at that site. Good luck. ;)
PS: sorry, my english is not so good. :-)

birkof
Anonymous
 
Posted on Monday, March 06, 2006 - 09:45 pm:   

deleted by admin 420