Siemens MC55 AT manual Http Post Polling Mode

Models: MC55 AT

1 475
Download 475 pages 54.64 Kb
Page 264
Image 264

Return-Path: <subscriber1@testdomain.com>

X-Original-To: subscriber1@testdomain.com

Delivered-To: subscriber2@testdomain.com

Received: from 10.10.0.132 (unknown [10.10.0.132]) by testdomain.com (Postfix) with SMTP id 379321D004

for <subscriber1@testdomain.com>; Tue, 20 Dec 2005 08:00:07 +0100 (CET) To: subscriber2@testdomain.com

Cc:

From: subscriber1@testdomain.com

Subject: TestMail

Message-Id: <20051220070007.379321D004@testdomain.com >

Date: Tue, 20 Dec 2005 08:00:07 +0100 (CET)

X-UIDL: &lL"!(Z6"!^cl!!1+%"!

Status: RO

Hallo Tom!Bye Bye Tom!

Dot indicates end of mail according to RFC 2821.

.

OK

Try to read 1000 bytes once again.

at^sisr=1,1000

^SISR: 1,-2

No more data available to read, i.e. the service has

 

finished.

OK

Check the connection state of service profile 1.

at^sisi=1

^SISI: 1,6,578,0,0,0

The command response indicates that the POP3

OK

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

 

been retrieved.

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.14HTTP POST (Polling Mode)

 

at^siss=1,srvType,"Http"

 

Select service type HTTP.

 

 

 

OK

 

Select connection profile 1.

 

 

 

at^siss=1,conId,1

 

 

 

 

OK

 

Select "Post" method.

 

 

 

at^siss=1,hcMethod,1

 

 

 

 

OK

 

 

 

 

 

at^siss=1,address,"http://192.168.1.3/datafiles/dummy/dummy.txt"

 

 

 

OK

 

Try to upload 180 bytes.

 

 

 

at^siss=1,hcContLen,180

 

 

 

 

OK

 

Open the service.

 

 

 

at^siso=1

 

 

 

 

OK

 

Send the first 100 bytes.

 

 

 

at^sisw=1,100

 

 

 

 

^SISW: 1, 100, 0

 

 

 

 

 

OK

 

Try to send again 100 bytes.

 

 

 

at^sisw=1,100

 

 

 

 

^SISW: 1, 80, 0

 

80 bytes are sent.

 

 

 

OK

 

Try to write data once again.

 

 

 

at^sisw=1,40

 

 

 

 

^SISW: 1, 0, 0

 

No further data available, i.e. the service has fin-

 

 

 

ished.

 

 

 

OK

 

 

 

 

 

 

 

 

 

 

MC55_ATC_V04.00

Page 264 of 475

3/17/06

Confidential / Released

 

 

 

 

Page 264
Image 264
Siemens MC55 AT manual Http Post Polling Mode