Motorola AT Commands G24-L Informacje Techniczne Strona 451

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 522
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 450
Chapter 4: Using the Commands
January 31, 2007 AT Commands Reference Manual 4-13
Sending Messages (Using AT+CMGS)
Sends an SM from the G24 to the network in TEXT mode, the header parameters will be set
according to CSMP settings. In text mode (+CMGF=1):
AT+CMGS="054565028" //Writing a message to be sent to specified destination address
>This is the message body <CTRL+Z> //<CTRL+Z> ends the prompt text mode and returns to
regular AT command mode
+CMGS: 238 //Message successfully sent. Returns the Message Reference
OK
AT+CMGS="+97254565028",145 //Writing a message to be sent to specified destination address
>message text <CTRL/Z>
+CMGS: 239 //Message successfully sent . Returns the Message Reference
OK
Deleting Messages (Using AT+CMGD)
AT+CMGD=179 //Delete a message using its index
OK
AT+CMGR=179 //The message index is now empty
+CMS ERROR: invalid memory index
Delete a group of messages. Note that deletion of a number of messages may take a short time.
AT+CMGD=1, 1 //Delete all read messages
OK
AT+CMGD= 1,2 //Delete all read and sent messages
OK
AT+CMGD= 1,3 //Delete all read, sent and unsent messages
OK
AT+CMGD= 1,4 //Delete all messages
OK
Przeglądanie stron 450
1 2 ... 446 447 448 449 450 451 452 453 454 455 456 ... 521 522

Komentarze do niniejszej Instrukcji

Brak uwag