You Are Here:

Community: Developer Discussion Boards

#1 Old how to send SMS message in pdu mode - 2007-06-25, 20:34

Join Date: May 2007
Posts: 9
etsang3
Offline
Registered User
Hi, anyone know how to send a SMS message using AT cmd on the BT link. I tried and could not figure the coding for AT+CMGS for the pdu mode.
Please help,

etsang3
Reply With Quote

#2 Old 2007-06-28, 11:48

Join Date: Mar 2003
Posts: 2,617
traud
Offline
Super Contributor
Just to make sure, I understood you. You have a computer, a mobile phone both are connect via Bluetooth and you want to issue an AT command on the computer via the mobile phone to send an SMS. However, you do not know how a SMS PDU is encoded (because AT+CMGF=0). Is this your question?

Please have a look at this. In the middle of that page, there are the specifications of SMS PDU, another (easier than specification reading) example and a generator tool which should help you to understand the specification because you can play around with that tool and learn how the parameters change the PDU. On that webpage(s) you might further interesting stuff. So navigate a bit around, when you have played a bit and you have a follow-up question, do not hesitate to ask.
Reply With Quote

#3 Old Re: how to send SMS message in pdu mode - 2007-06-28, 18:05

Join Date: May 2007
Posts: 9
etsang3
Offline
Registered User
Hi Traud,
Thanks for you help. I tried a lot of combination and still could not fix my "invalid PDU mode parameter" error.
Here is the sniffed data over the Bluetooth.
Tx/Rx Ascii hex
Tx AT+CMGF=0.
Rx ..OK..
Tx AT+CMGS=18. 41542b434d47533d31380d
Rx ..>. 0d0a3e20
Tx 0001030b916161833336f0000005e8329bfd06
// 00 use default SMSC
// 01 tried with 11 (with TP-Validy Period)
// 03 tried with 00
// 0b 91 6151833336f0 (16153833630)
// 00 00 (without TP-Validy for this time)
//05e8329bfd06 (Hello)
Tx 1a
// Cntrl-z
Rx ..+CMS ERROR: 304..
// "invalid PDU mode parameter" error

I though the <pdu> is correct, I also try with AT+CMGS=19. , added the actual SMSC address .... still no luck??

Did you spot anything that is not quite right?

etsang3
Reply With Quote

#4 Old 2007-06-29, 12:39

Join Date: Mar 2003
Posts: 2,617
traud
Offline
Super Contributor
I use a message reference of 0 for SMS-SUBMIT, normally. This is your 0x03, however, you state you played with 0x00 already. Puh. Have you played a bit with the PDUspy application, I referred to? I cannot see any problem at the first glace, so two questions: Is this a Nokia? Other phones require a validity period. Is the phone nummer correct (USA)? Is the SMSC set in your phone or asked different, can you send an SMS from within your phone.
Reply With Quote

#5 Old Re: how to send SMS message in pdu mode - 2009-02-12, 19:16

Join Date: Feb 2009
Posts: 6
Jeroendb
Offline
Registered User
You can have a look here Sending out an SMS. I explain the PDU mode in reasonable detail. Hope this helps.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Max size of a message sent using PDU mode? GrimmyEFG General Messaging 3 2009-02-16 22:31
MIDlet, pdu, sms and gsm modem... fwoehl General Messaging 4 2009-02-16 22:20
Send SMS message via bluetooth to a LOCAL phone dinne General Messaging 2 2008-07-09 14:33
Problem with Cabride.c++ v1.1 markovuksanovic Carbide.c++ IDE and plug-ins 3 2007-01-24 21:05
Setting of send a PDU mode SMS webwing PC Suite API and PC Connectivity SDK 0 2003-02-17 02:57

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia