-
Implement SMS from PIC
Hi Everyone,
Does anyone know how to read SMS from GSM Modem and copy it out as a string?
Using C languange.
AT Command: at+cmgr=1
Thanks alot.
-
BAsically, you will need to use your modem manfacturer's SDK. SMS messages occupy up to 160 characters but they may need additional coversions (the text in an SMS message isn't in pure ASCII but uses a more compact encoding system) so I would start with a buffer of 200 character, initialize it to binary zeros and then use the manfacturer's APIs for reading the message into that buffer. It shouldn't be complex stuff, just 2-3 function calls but again, these functions are manfacturer dependent. If youre modem automatically store incoming messages in a file (what's known as store and forward), it will be easier: simply open the file and read the data.
Danny Kalev
-
Hi Danny,
Thanks for your reply.
I am currently using a GSM modem module connected toa PIC18F2550 IC chip and using C languages on a breadboard.
I am able to sent out sms from the PIC to GSM modem, but for can't copy message content out to the PIC.
What are you method of doing? Changing in binary?
at+cmgr=1 // read sms.
http://www.roundsolutions.com/gsm-modem/index.htm
Similar Threads
-
By hpnasik in forum Mobile
Replies: 3
Last Post: 02-12-2007, 03:23 AM
-
Replies: 1
Last Post: 01-09-2007, 05:13 AM
-
By jatanr in forum Mobile
Replies: 3
Last Post: 08-03-2006, 02:15 PM
-
By Energy Programming in forum vb.announcements
Replies: 0
Last Post: 02-10-2003, 10:48 AM
-
By Energy Programming in forum vb.announcements
Replies: 0
Last Post: 12-16-2002, 08:27 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks