CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Ericsson GM22 RS232 serial cable need help

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
masud58



Joined: 24 Apr 2007
Posts: 3

View user's profile Send private message

Ericsson GM22 RS232 serial cable need help
PostPosted: Mon Apr 30, 2007 10:36 am     Reply with quote

Thanks for all the member of ccs forum, i have 10 pcs Ericsson GM22 module. i want to send sms to Ericsson GM22 for controlling my hardware ( server reset by relay ) which will controle by any pre pic microcontroller. can any one help me. i know many proffesional work on it . please help

thanks
masud
masudrana99@gmail.com
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Mon Apr 30, 2007 12:05 pm     Reply with quote

These GSM modems use the AT command set thru their serial port You have to connect the USART of the PIC to the GSM modem
in a loop:
- use the AT command set language to poll for any SMS arrived ('AT+CMGL' command)
- look for a specific text (password) in the SMS (if yes:activate the relay for 500ms and release it)
- delete all incoming SMS
masud58



Joined: 24 Apr 2007
Posts: 3

View user's profile Send private message

PostPosted: Mon Apr 30, 2007 12:27 pm     Reply with quote

Thanks for ur reply. i didnt work with serial port before. please guide me with circuit diagramme which pin should be connect with GM22 to max232 to pic. please help me with all details programme.

for guide http://rpu6.nm.ru/doc/gm22man.pdf

pleaseeeeeeeeee
thanks Embarassed Sad
masud58



Joined: 24 Apr 2007
Posts: 3

View user's profile Send private message

PostPosted: Sat May 05, 2007 5:13 am     Reply with quote

FINALY I HAVE CONNECT MODULE TO PC SERIAL PORT, NOW I AM ABLE TO SEND COMAND , THIS IS MY TEST COMAND FOR SMS AND CALL. BUT I CANT SEE TEST MESSAGE. WHAT CAN I DO NOW?

\0AERROR\0D
\0AAT+CSMS=?<CR>\0D
\0A+CSM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SM",16\0D
\0AAT+CMGR=16\0D
\0A+CMGR: 0,,23\0D
\0A0791881005519999A40C9188104553579900007050700011534204F4F29C0E\0D
\0AOK\0D
\0AAT+CMGR="SM"\0D
\0AERROR\0D
\0AAT+CMGR=SM\0D
\0AERROR\0D
\0AAT+CMGR=<16>\0D
\0AERROR\0D
\0AAT+CMGR=<SM>\0D
\0AERROR\0D
\0AAT+TEST\0D
\0AERROR\0D
\0AAT+CMTI?\0D
\0AERROR\0D
\0AAT+CMTI="SM",16\0D
\0AERROR\0D
\0AAT+CMGE\0 \0\0D
\0AERROR\0D
\0AAT+CMGR\0D
\0AERROR\0D
\0AAT+CMGR?\0D
\0AERROR\0D
\0AAT+CMGR=\0D
\0AERROR\0D
\0AAT+CMGR=?\0D
\0AOK\0D
\0AAT+CMGF=?\0D
\0A+CMGF: (0)\0D
\0A\0D
\0AOK\0D
\0AAT+CMGF=1\0D
\0AERROR\0D
\0AAT+CMGF=0\0D
\0AOK\0D
\0A\0D
\0A*ECAV: 1,6,1,,,"0154357599",129\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0ARING\0D
\0A\0D
\0A*ECAV: 1,0,1,08,222\0D
\0Aat+cmgl\0D
\0AOK\0D
\0AAT+CMGL=?\0D
\0A+CMGL: (0-4)\0D
\0A\0D
\0AOK\0D
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group