BGS2T AT Command Set
10.13 Examples of how to Configure and Use Internet Service Profiles
BGS2T_ATC_V01.301
Page 293 of 554
1/31/12
c
10.13.15 HTTP GET (Polling Mode)
^SISW: 1,0,0
No further data available, i.e. the service has fin-
ished.
OK
at^sisi?
^SISI: 1,6,0,180,0,0
The command response indicates that HTTP service
is in state "6" (Down) and that 180 bytes have been
sent.
OK
at^sise=1
Check error status of service profile 1.
^SISE: 1,0
The command response confirms that no error
occurred.
OK
at^sisc=1
Close the service.
OK
at^siss=0,srvType,"Http"
Select service type HTTP.
OK
at^siss=0,conId,1
Select connection profile 1.
OK
at^siss=0,hcMethod,0
OK
at^siss=0,address,http://192.168.1.4/
OK
at^siso=0
OK
at^sisr=0,1500
Start reading data in polling mode.
^SISR: 0,1264
...DATA...
OK
at^sisr=0,1500
^SISR: 0,1500
...DATA...
OK
at^sisr=0,1500
^SISR: 0,602
...DATA...
OK
at^sisr=0,1500
Again, try to read 1500 bytes.
^SISR: 0,-2
No more data to read, i.e. the service has finished.
OK
at^sisi?
^SISI: 0,6,0,3366,0,0
The command response indicates that the HTTP
service is in state "6" (Down) and that 3366 bytes
have been read.
OK
at^sise=0
Check error status of service profile 0.
^SISE: 0,0
The command response confirms that no error
occurred.
OK
at^sisc=0
Close the service.
OK
Confidential / Released