Manual of Board ET-BASE GSM SIM900
AT*PSSTK="NOTIFICATION",1,0
OK
*PSSTK: "END SESSION"
+CMTI: "SM",7
; มข"อความใหม6เข"า
มา
20. How to read data from website by GPRS Connection
(HTTP GET)
When connecting GPRS, user needs to know the value of APN that
is used to connect with internet network of each facilitator as
follows;
AIS
= internet
TRUE = internet
DTAC =
This example illustrates how to pull data from web site
by sending the commands below (please read more
information from the Document
SIM900_IP_Application Note_V1.03.pdf
)
AT+SAPBR=3,1,"Contype","GPRS"<Ent>
; เรQ(มเป:ดการใช"งาน GPRS
OK
AT+SAPBR=3,1,"APN","internet"<Ent>
OK
AT+SAPBR=1,1<Ent>
OK
AT+SAPBR=2,1<Ent>
+SAPBR: 1,1,"10.179.72.166"
OK
AT+HTTPINIT<Ent>
; เรQ(มการใช"งาน HTTP
OK
AT+HTTPPARA="CID",1<Ent>
OK
AT+HTTPPARA="URL","www.etteam.com"<Ent>
; เวTบไซตVท(ต"องการดWงข"อมIล
ETT CO., LTD.
-
32
-
www.etteam.com