Chapter 3 – Using Your Wireless Modem

+CMTI: "SM",1 (indication that message was received and stored to SIM location 1) at+cmgr=1 (read message stored in location 1)

+CMGR: "REC UNREAD","+17632273726",,"06/03/17,13:55:22+00" TEST1

OK

at+cmgd=1 (delete message that is stored in location 1)

OK

Receive Example 2: Receive SMS message in text mode by directly routing the received message to the TE through the serial port using Phase 2:

at+cmgf=1 (set to text mode)

OK

at+csms=0 (set to Phase 2) +CSMS: 1,1,1

OK

at+cnmi=2,2,0,0,0 (set to receive SMS and route directly to TE)

OK

+CMT: "+17632273726",,"06/03/17,13:59:18+00" (message received and directly routed to TE) TEST2

Receive Example 3: Receive SMS message in text mode by directly routing the received message to the TE through the serial port using Phase 2+:

at+cmgf=1 (set to text mode)

OK

at+csms=1 (set to Phase 2+) +CSMS: 1,1,1

OK

at+cnmi=2,2,0,0,0 (set to receive SMS and route directly to TE)

OK

+CMT: "+17632273726",,"06/03/17,14:01:17+00" (message received and directly routed to TE) TEST3

at+cnma (acknowledge that message has been received)

OK

28

Multi-Tech Systems, Inc. MultiModem GPRS USB Wireless Modem User Guide

Page 28
Image 28
Multi-Tech Systems MTCBA-G-U-F4 manual