Go Down

Topic: Sending SMS with a Sony Ericsson K700i phone (Read 3012 times) previous topic - next topic


Im trying to send a sms message using arduino and a SE K700i phone but im having big problems.
I wrote a function which builds a pdu text string and sends it to the phone but nothing happens. If i run this snippet i found sms is sent
Code: [Select]
Serial1.println("AT+CMGF=0"); // Set PDU mode
  Serial1.println("AT+CMGS=19"); // Number of octets
  Serial1.print("0011000B918346555555F50000AA05C8329BFD06"); // Sends "Hello" to "00 46707112233"
  Serial.println("Command sent");

But when i try my function.. nothing. Any suggestions?  :~
Here is my code:


Feb 13, 2012, 06:43 am Last Edit: Feb 22, 2013, 03:11 pm by power7net Reason: 1
Hello.First check your cable connection mobile phone with arduino.You test it with AT commands? AT....ok
Look my code http://www.power7.net and http://www.dreamfabric.com/sms/ i use an old SE K700i check pins...
Web / sms / bluetooth / arduino / android remote control. Home Automation projects.


Some times ago I made a small libray to build PDU
check on the playground it should still be there (PDU encoder )
I heavily tested it.


Why do you want to send it in PDU mode?

Code: [Select]
Serial1.println("AT+CMGF=0"); // Set PDU mode

If you set it to 1 instead, you dont have to encode the SMS to PDU, but instead use clear text ->> much easier IMO.   XD

Code: [Select]
Serial1.println("AT+CMGF=1"); // Set TXT mode


For a more convenient way of handling the comms with the mobile phone, consider using the Sserial2mobile library:


Feb 21, 2012, 06:12 pm Last Edit: Feb 21, 2012, 06:51 pm by BineG Reason: 1
Thank you all. I could send sms messages afterwards (although to be honest i dont know why it started working) but i will definitely check out sending it as plain text. Sounds much easier.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131