Thursday, 12 July 2012

WEEK 3- 4th Day ( 12 July 2012 )

Assalamualaikum and Salam Satu MALAYSIA.


 From my last task in previous day, today we continue 'Receiving SMS'.



Receiving SMS.
1. Set up the GSM Modem following step 1 – 6 in the previous section.
2. Once the GSM Modem is ready, we can use a mobile phone to send a SMS to the modem.
3. The following response received from the modem indicates a new SMS is received.

+CMTI: "SM", 1

The last character indicates the memory index number, we use this index to read or delete this message. In this case, the index number is 1.


4. To list out all the available SMS in the SIM card, we can use the following command:

AT + CMGL = "ALL" <ENTER>

5. And the modem will respond with a list of SMS messages in the SIM card.



List SMS message in Sim Card

6. DONE !




No comments:

Post a Comment