Pages: [1]   Go Down
Author Topic: saving and indexing messages on SIM900  (Read 539 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
I use a MEGA and  a GPRS SIM900 shield to communicate with a smartphone  by SMS
I'd like to save some parameters  and warnings messages on the shield,
the SIM900 shield also had a battery, in the ways I can keep and use the time, instead of buy  RTC shield
On the same idea, why not use the free memory on the SIM900 shield  ?
I wish  save  it on the "ME" part and not the "SM" part (sim card), because size of ME is greater than the SIM card and also the SIM can  change if its one other users (but messages remains the same).

I use the command AT + CPMS, then AT + CMGW,
At the moment I can only save one message this way
But I want save several messages without phone number
So I want save and index messages only
I want to give an index to read it

How to do ?

Thank's  for advice and help.
Henri
http://henrig.free.fr/
« Last Edit: August 04, 2014, 03:57:03 pm by Henrigp » Logged

Johannesburg, South Africa
Offline Offline
Full Member
***
Karma: 0
Posts: 180
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Post your code
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello RudiAhlers,
I'll post the code as it is now, dirty with a lot of mistakes, but functional
I can send more than fifty order ON/OFF through a SMS to a ARDUINO MEGA,

I use the alphabet (uppercase and lowercase) to make a difference, and 1 or 0 for on / off,
26  uppercase + 26  lowercase means almost all my input/output on  the Arduino MEGA

I always start with # #
the sms is : # # A1B1  switch ON pin 5 and 6 and so on

This is just for fun and learning .
Henri
http://henrig.free.fr/


* arduino_1.JPG (230.86 KB, 832x983 - viewed 8 times.)
* send_GSM1.ino (27.78 KB - downloaded 4 times.)
« Last Edit: August 06, 2014, 05:31:12 am by Henrigp » Logged

Pages: [1]   Go Up
Jump to: