Insys GSM Small 11-02-01-03-02.001 사용자 설명서

제품 코드
11-02-01-03-02.001
다운로드
페이지 57
6. Function Description 
31 
Establishing a data connection 
 
AT^SCFG=“AutoExec“,1,0,0,0,“ATD0123456789” 
 
When activating the DTR control line from the application, a data connection to the 
specified number (here 0123456789) is established. 
This is indicated at the serial interface: 
^SCFG: "AutoExec",1,0,0,0,"ATD0123456789" 
CONNECT 9600/RLP 
 
In this case already existing data connections are ignored, i.e. establishing alarm 
connections would fail in this situation. 
 
If you want to wait until an already existing data connection ends, you have to enter 
AT^SCFG=“AutoExec“,1,0,0,1,“ATD0123456789”
 
If you want to terminate an existing data connection for the case of an alarm, the 
following must be entered: 
AT^SCFG=“AutoExec“,1,0,0,2,ATD0123456789
 
The setting can be deactivated by entering the following: 
AT^SCFG=“AutoExec“,0,0,0 
 
The settings of this command are only stored with the command AT^SMSO. 
 
Note: With DTR activation it is basically also possible to establish a data connection using 
the setting AT%D ; the setting with AT^SCFG, however, offers more possibilities. For this 
reason we are not elaborating on AT%D within the framework of this document. 
 
Sending an SMS 
 
For this, some default settings are necessary: 
 
AT+CMGF=1
 
      Set 
SMS 
text 
mode 
AT+CSCA=“<Service Center Number>“
   
SMS service center number 
AT+CMGD=1
 
 Delete SMS at the storage location 
1, then the following configured 
SMS will be specifically stored at 
the storage location 1. 
AT+CMGW=”<target number>”
   Target 
number 
>Alarm message INSYS GSM small <Ctrl Z>
  Prompt >, enter SMS text here, 
finish text entry with Ctrl Z (0x1A); 
Version  1.00 / 09.04