Siemens AC75 manual Http Post Polling Mode

Models: AC75

1 569
Download 569 pages 6.58 Kb
Page 306
Image 306

AC75 AT Command Set

10.14 Examples of how to Configure and Use Internet Service Profiles

s

^SISR: 1, 578

Command response indicates that 578 bytes are

 

available for reading.

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

Thecommand response indicates that the POP3 ser-

OK

vice 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.14.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

 

 

 

 

 

 

 

 

 

AC75_ATC_V01.002

Page 306 of 569

10/30/06

Confidential / Released

 

 

 

 

Page 306
Image 306
Siemens AC75 manual Http Post Polling Mode