Siemens MC55 AT manual Http GET Polling Mode

Models: MC55 AT

1 475
Download 475 pages 54.64 Kb
Page 265
Image 265

at^sisi?

^SISI: 1,6,0,180,0,0

OK

The command response indicates that HTTP service is in state "6" (Down) and that 180 bytes have been sent.

at^sise=1

Check error status of service profile 1.

^SISE: 1,0

The command response confirms that no error

 

occurred.

OK

Close the service.

at^sisc=1

OK

 

 

 

10.11.15HTTP GET (Polling Mode)

at^siss=0,srvType,"Http"

Select service type HTTP.

OK

Select connection profile 1.

at^siss=0,conId,1

OK

 

at^siss=0,hcMethod,0

 

OK

 

at^siss=0,address,http://192.168.1.4/

 

OK

 

at^siso=0

 

OK

Start reading data in polling mode.

at^sisr=0,1500

^SISR: 0, 1264

 

...DATA...

 

OK

 

at^sisr=0,1500

 

^SISR: 0, 1500

 

...DATA...

 

OK

 

at^sisr=0,1500

 

^SISR: 0, 602

 

...DATA...

 

OK

Again, try to read 1500 bytes.

at^sisr=0,1500

^SISR: 0, -2

Nor more data to read, i.e. the service has finished.

OK

 

at^sisi?

The command response indicates that the HTTP

^SISI: 0,6,0,3366,0,0

OK

service is in state "6" (Down) and that 3366 bytes

 

have been read.

at^sise=0

Check error status of service profile 0.

^SISE: 0,0

The command response confirms that no error

 

occurred.

OK

Close the service.

at^sisc=0

OK

 

 

 

MC55_ATC_V04.00

Page 265 of 475

3/17/06

Confidential / Released

 

 

Page 265
Image 265
Siemens MC55 AT manual Http GET Polling Mode