The Godfather talking
You can run, but you can't hide.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2016, 10:48:30 22:48


Login with username, password and session length


Pages: [1]
Print
Author Topic: Receiving SMS with the PIC.  (Read 4182 times)
0 Members and 1 Guest are viewing this topic.
casebsantos
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 1
-Receive: 11


« on: December 22, 2007, 04:29:35 16:29 »

I am testing some commands AT between a PIC and one siemens c65.
How I make for I read the content of a received message? Huh

Since Already, thanks.
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #1 on: December 22, 2007, 05:57:43 17:57 »

try searching the forum Shocked Shocked
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Rute
Junior Member
**
Offline Offline

Posts: 61

Thank You
-Given: 82
-Receive: 159


« Reply #2 on: December 22, 2007, 06:06:49 18:06 »

Read the SIM (First set the phone  to store sms in sim) If delete 1-st place in sim for SMS after reading,you will find new  sms there.
Logged
casebsantos
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 1
-Receive: 11


« Reply #3 on: December 24, 2007, 01:20:26 01:20 »

I need a code sample that will read the received text message.
Somebody can help me? Huh
Logged
salej
Guest
« Reply #4 on: December 24, 2007, 05:44:04 05:44 »

hello i am new here, you need to use at+cmgread command

Posted on: December 24, 2007, 05:41:40 05:41 - Automerged

you can work with any mobile phone, the at commands are the same with some variations
Logged
halil
Newbie
*
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #5 on: December 24, 2007, 11:00:21 11:00 »

http://www.riccibitti.com/tinyplanet/tiny_article.htm

Posted on: December 24, 2007, 10:54:27 10:54 - Automerged

Mobile Phone
T68
Developers Guidelines
AT Commands
Online Reference
http://www.anotherurl.com/library/at_test.htm

Posted on: December 24, 2007, 10:59:05 10:59 - Automerged

sorry the links is http://pupius.co.uk/download/misc/t68i-at-commands.pdf
Logged
zaliko
Guest
« Reply #6 on: January 12, 2008, 04:25:06 16:25 »

hi,
1. ATE0 CR LF - turn off echo from the mobile device
2. AT+CPMS="SM","SM","SM" CR LF - set preffered message storage for mobile device (sim card in our case)
3. AT+CMGF=0 CR LF - trun sms PDU format on
4. AT+CNMI=1,1,0,0,1 CR LF- indicates new incoming sms. when, new sms arrived mobile device generate message like this: +CMTI: <mem>,<index>. where indexis the index of the incoming sms in the sotrage <mem>. in our case mem is SIM card(see command 2). you can catch this this if you enable RX interrupt in MCU.
after you got  +CMTI: <mem>,<index> you can easy read the incoming sms with command:
AT+CMGR=<index>CR LF.
you will got answer:
+CMGR: bla bla CR LF
<pdu>
where <pdu> is the sms text in PDU mode.
decode it and do anything you want.
hope this helps.
p.s. CR = 0x0D LF=0x0A
Logged
glenjoy
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 2
-Receive: 4


« Reply #7 on: January 17, 2008, 02:27:09 02:27 »

You need to study the AT commands required for the phone to function properly.
Logged
kiashee
Newbie
*
Offline Offline

Posts: 24

Thank You
-Given: 70
-Receive: 7


« Reply #8 on: January 23, 2008, 03:48:24 03:48 »

you may also wish to visit www.etsi.org for some GSM standards, like PDU and at-commands.
Logged
Kafao
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 1
-Receive: 0


« Reply #9 on: January 25, 2008, 09:50:02 21:50 »

Hello. Anyone has made something for PDU to Normal mode for SMS?

Thanks
Logged
klivi1
Guest
« Reply #10 on: January 29, 2008, 10:11:52 10:11 »

Hi,

you need to connect to mobile phone via RS232. When it works you can send/receive AT commands to phone. A good way to test them using PC and a terminal program. When it works you can implement into MCU.
Concerning PDU I suggest you to use normal SMS mode (if your phone can accept) The PDU is a hard game :-(

Logged
strat
Newbie
*
 Muted
Offline Offline

Posts: 12

Thank You
-Given: 11
-Receive: 0


« Reply #11 on: February 26, 2008, 03:25:54 15:25 »

Some important common AT  commands  :
AT+CMGF=1                    -->turn on Text mode
AT+CMGL="REC UNREAD"   --> Read new messages
AT+CMGS=Tel No   +  message --> Send message       
AT+CMGD= message text  -->Delete message

After all succeeded commands Pic will wait 'OK' sign.
« Last Edit: February 26, 2008, 03:31:06 15:31 by strat » Logged
free
Active Member
***
Offline Offline

Posts: 115

Thank You
-Given: 66
-Receive: 13


« Reply #12 on: February 27, 2008, 11:35:39 23:35 »

If you want to detect every incoming sms, use AT+CNMI command.
You will get the index from +CMTI as respond and write AT+CMGR = <index> to get the all data message.
From the message you can check the sender phone number, message etc.

Hope it helps you


 
Logged

Some dream to escape reality, some to change it forever.
- Soichiro Honda -
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #13 on: March 10, 2008, 12:29:21 00:29 »

any conveter for pdu to text and show on lcd?
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
microcom-ecuador
Guest
« Reply #14 on: March 22, 2008, 05:59:19 05:59 »

Is most easy work with text mode direct
Logged
Ret12_12
Junior Member
**
Offline Offline

Posts: 75

Thank You
-Given: 104
-Receive: 32


« Reply #15 on: March 23, 2008, 12:34:43 00:34 »

If we say CMGF = 1 ( i see above) on the nokia phone then it will accept AT Commands ? instead of the PDU ?
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC