| Reply | « Previous Thread | Next Thread » |
|
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 |
|
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. ![]() |
|
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 |
|
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.
|
|
You can have a look here Sending out an SMS. I explain the PDU mode in reasonable detail. Hope this helps.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |