-
48
-
48
10. GPRS TESTING
Using the direct connection to the GSM modem (in test mode under ‘Hyperterminal).
1.
Check GSM signal
AT+CSQ <Enter>
Example: +CSQ: 21,0
2. Check SIM card registered
AT+CREG?
Example: +CREG:0,1 (registered Home network)
3. Check network connected
AT+COPS?
Example: +COPS: 0,0,"CHINA MOBILE"
4. Set APN ( AT + CSTT )
AT + CSTT = “APN”[,”ID”, “password”]
Ex.
at + cstt = “internet”
<Enter> (Chun Huw
,
TCC)
at + cstt = “FETNet01” <Enter> (FET)
5. Attach to GPRS network ( AT + CIICR )
AT + CIICR <Enter>
6. Get local IP address assign by GPRS Network
(
AT + CIFSR
)
AT + CIFSR <Enter>
7. Start TCP/UDP connection ( AT+CIPSTART )
AT + CIPSTART = ”Mode”,”IP”,”Port”
Mode
=TCP”or”UDP”
IP
=remote server IP address
Port
=remote server port
Example.
at + cipstart = “TCP”,”192.168.100.1”,”1234”
<Enter>
8. DATA Send ( AT+CIPSEND )
AT + CIPSEND
<Enter>
(Send data out by Ctrl-z )
>DATA
Ctrl Z
AT + CIPSEND = <length> <Enter> (setup Length of data and send out automatically)
9. Close connection( AT + CIPCLOSE )
AT + CIPCLOSE
<Enter>
10. Shut down connect ( AT + CIPSHUT )
AT+CIPSHUT<Enter>
Summary of Contents for WTGAT
Page 8: ... 8 8 WTGAT Front View Microphone PANIC BUTTON SPEAKER ...
Page 15: ... 15 15 Select Com port ...
Page 17: ... 17 17 After upload select View Setup Basic Configuration ...
Page 22: ... 22 22 View Setup Advanced Configuration ...
Page 45: ... 45 45 ...
Page 50: ... 50 50 ...
Page 51: ... 51 51 ...
Page 52: ... 52 52 ...
Page 53: ... 53 53 ...
Page 54: ... 54 54 ...
Page 55: ... 55 55 ...
Page 56: ... 56 56 ...
Page 57: ... 57 57 ...
Page 58: ... 58 58 ...
Page 59: ... 59 59 ...
Page 60: ... 60 60 ...
Page 61: ... 61 61 ...
Page 62: ... 62 62 ...
Page 63: ... 63 63 ...
Page 64: ... 64 64 ...
Page 65: ... 65 65 ...