VEGA INSYS Modem GPRS 5.0 User Manual
Page 70

Functions
INSYS GPRS 5.0 serial
70
Alternatively, our example can be set using the terminal program:
In this example, you must note the order of the AT
commands!
Automatic activation of SMS dispatch
AT**INPUT1=1
for input 1; if you want to use only 1
switch input, use input 1.
AT**INPUT2=1
for input 2.
Set SMS storage locations
AT**INPUT1=1
AT**INPUT1=2
AT+CPMS=MT,MT,MT
Activate SMS text mode
AT+CMGF=1
Delete SMS storage location 1 preliminary,
AT+CMGD=2
for storage location 2. You must delete
this storage location, if you want to trigger an SMS via
the second input.
AT+CMGD=1
AT+CMGD=2
The SMS service center number of the network provider
(may be omitted if the number is stored on the SIM card).
AT+CSCA=
Enter the destination phone number
Wait for the prompt “>”, enter the text
The SMS is saved using the key stroke combination
Ctrl+Z.
If you trigger an SMS via input 2, you continue entering
the text for the SMS 2.
With AT+CMGL=ALL, you can check if the messages were
stored correctly and in the correct order.
AT+CMGW=
>
OK
AT+CMGW=
>
OK