Please note that the status of the message is now “REC_READ” instead of “REC_UNREAD” because we have read the message.Ħ. For instance, to read the message on memory location 1, we use We must first know the index of the message. To read a single message, we have to use the read command. data – The actual message data in plain text.ĥ.Scts – The time when the message is forwarded to this phone or modem.mr – The reference number of this message. ![]() from_address – The subscriber number of the sender.There might be “REC READ” or “REC UNREAD” for received messages depending on whether the messages have been read or listed before. Index – The memory index number, use this index to read or delete this message.The responding messages are formatted like this:. To list out all the available SMS in the SIM card, we can use the following command:Īnd the modem will respond with a list of SMS messages in the SIM card. The last character indicates the memory index number, we use this index to read or delete this message. The following response received from the modem indicates a new SMS is received. Once the GSM Modem is ready, we can use a mobile phone to send a SMS to the modem.ģ. Set up the GSM Modem following step 1 – 6 in the previous section.Ģ. We can now type the message and send the message using the key.Īfter few seconds, the modem will respond with the message ID of the message, indicating that the message has been sent correctly.ġ. Replace the above phone number with your own number. After that, we can send the SMS message with the following command:. Use the following command to put the modem in text mode and it should respond with “OK”.ħ. This mode allows us to send SMS using AT commands without the need to encode the binary PDU field of the SMS. ![]() Start by configure the modem to use Text Mode instead of PDU mode for the SMS. Now we can start sending the AT command to the GSM Modem. Once it’s ready, the following response will be received from the modem.Ħ. While waiting, we can use the following command to make sure we can communicate with the GSM Modem.ĥ. Power on the GSM Modem and wait for it to initialize. Select the correct COM Port in Hyper Terminal and set up the parameters as follows.Ĥ. Connect the GSM Modem to the supplied AC-DC adapter and also to the serial port of the PC.ģ. Insert a valid SIM card from any mobile provider into the SIM slot.Ģ. Hyper Terminal is used to send the AT command to and from the modem.ġ. #Free serial monitor realterm ccs PcIn order to get familiar with the AT commands, we can hook up the GSM modem to the PC serial port to test the functionality of the GSM Modem. #Free serial monitor realterm ccs modMOD 9001D RS232 GSM/GPRS Modem from Cytron TechnologiesĢ.0 Quick Start – Interfacing GSM Modem with PC
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |