Discussion in "Embedded GSM Development" started by    nadeem malik    Jan 19, 2008.
Sat Jan 19 2008, 12:26 pm
#1
HAYE JNAB KIA HALL HIAN

H R U ?

AJAY


I M ON A PROJECT TO INTERFACE GSM MODEM WITH 8051

CAN U GIVE ME SUM INFORMAION


I AM ABLE TO SEND AT OMMANDS


I.E

SEND N READ MESSAGE FROM IT USING HYPER TERMINAL

I KNOW THAT AT+CMNI
IS THE NEW MESSAGE IDENTIFICATION COMMAND BUT HOW CAN I USE IT ??????????
Sun Jan 20 2008, 01:29 am
#2
read this:

AT+CNMI: New Message indication to TE


Command Possible response(s) +CNMI=[[,[,[,[,]]]]] +CNMI?+CNMI: ,,,, +CNMI=?+CSCB: (list of supported s,s,s,s,s)


: 0: buffer in TA;

1: discard indication and reject new SMs when TE-TA link is reserved; otherwise forward

directly;

2: buffer new Sms when TE-TA link is reserved and flush them to TE after reservation;

otherwise forward directly to the TE;

3: forward directly to TE;

: 0: no SMS-DELIVER are routed to TE;

1: +CMTI: , routed to TE;

2: for all SMS_DELIVERs except class 2: +CMT: .... routed to TE;

class 2 is indicated as in =1;

3: Class 3: as in =2;

other classes: As in =1;

: same as , but for CBMs;

: 0: No SMS-STATUS-REPORT are routed to TE;

1: SMS-STATUS-REPORTs are routed to TE, using +CDS: ...

: 0: TA buffer is flushed to TE (if =1..3);

1: TA buffer is cleared (if =1..3);


---> Only when is different from 0, you will get a message that a new SMS has been received.



By the way which mobile phone you are using? and go through the AT command manual of that phone.
Sun Jan 20 2008, 01:46 pm
#3
try the following sequences..

Command syntax in text mode : AT+CNMA
Command syntax in PDU mode : AT+CNMA [ = <n> [ , <length> [ <CR>
PDU is entered <ctrl-Z / ESC> ] ] ]
Note: PDU is entered using <ackpdu> format instead of <pdu> format (e.g..
SMSC address field is not present).




Example of acknowledgement of a new message in TEXT mode
Command Possible responses
AT+CSMS=1 OK
Note: SMS AT commands
compatible with GSM 07.05
Phase 2 + version

AT+CMGF=1 OK
Note: Set TEXT mode

Note: TEXT mode valid OK
AT+CNMI=2,2,0,0,0
Note: <mt>=2

+CMT: “123456”,”98/10/01,12:30 00+00”, 129, 4,
32, 240, “15379”, 129, 5<CR><LF>
Received message
Note: message received
AT+CNMA OK
Note: acknowledge the message Note: send positive acknowledgement to the
received network



AT+CNMA +CMS ERROR: 340
Note: try to acknowledge again Note: no +CNMA acknowledgment expected


Tue Jan 22 2008, 04:04 pm
#4
Dear Nadeem,
Salam waley Kum.
Please let us know what is your final object/application using GSM with 8051?So at least we can give you information related to your specific application.Also let me know which GSM module/mobile/media you are using? We may able to provide you information regarding the same
 kumar.vikash798 like this.
Sat Feb 16 2008, 12:10 pm
#5
haye


sir
i m using samsung c100 mobile as a gsm modem



i m able to send
AT Commands

using Hyper terminal


i want to know how to receive new message from gsm using 8051

i know the command

AT+CNMI

but it replies with some numbers like

(3,0)(3,0)(0,0)(0,0)


ok



now how can i red the new message


and what is CNMA



new message acknolegment




thx
Sat Mar 29 2008, 02:55 pm
#6
hello..
i wanted to interface a gsm module to a 8051 microcontroller..the main purpose of the module would be to send a SMS to a specific number..can you please tell me how to start and use AT command to send the sms...i havent tried out nething so ne suggestions would be helpful...
thanks in advance...
Sat Mar 29 2008, 03:29 pm
#7
first of all you need to find out a phone with AT Command support, get AT Command manual for that phone. then you need to check if it support text mode or not. So sending sms will be simpler.

after that send sms with the appropriate command from manual.
Fri Jan 30 2009, 01:36 pm
#8
I want to interface GSM modem with AT commands...with RS232c interface with microcontrollers ...
can any body suggest me?
Fri Jan 30 2009, 05:19 pm
#9
hey
i m also doin d same project ... i m able to use at commans at lcd using hyperterminal...now pls help me to proceed further... aim is to reciev msg at lcd sent thru a mobile... modem is wavecomm
Sat Jan 31 2009, 03:05 am
#10
which model of wavecom modem are you using?
are you using OpenAT (preferable) or microcontroller?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm
Richardedils
Wed Apr 24 2024, 04:07 am
Malcolmaccek
Wed Apr 24 2024, 01:21 am
ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am