Specifications

Chapter 10 – Internet Service Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 186
10.14.15 HTTP POST (Polling Mode)
at^siss=1,srvType,"Http" Select service type HTTP.
OK
at^siss=1,conId,1 Select connection profile 1.
OK
at^siss=1,hcMethod,1 Select "Post" method.
OK
at^siss=1,address,"http://192.168.1.3/datafiles/dummy/dummy.txt"
OK
at^siss=1,hcContLen,180 Try to upload 180 bytes.
OK
at^siso=1 Open the service.
OK
at^sisw=1,100 Send the first 100 bytes.
^SISW: 1, 100, 0
OK
at^sisw=1,100 Try to send again 100 bytes.
^SISW: 1, 80, 0 80 bytes are sent.
OK
at^sisw=1,40 Try to write data once again.
^SISW: 1, 0, 0 No further data available, i.e. the service has finished.
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
10.14.16 HTTP GET (Polling Mode)
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