Siemens AC75 Benutzerhandbuch

Seite von 569
AC75 AT Command Set  
10.14 Examples of how to Configure and Use Internet Service Profiles
s
AC75_ATC_V01.002
Page 306 of 569
10/30/06
Confidential / Released
 
10.14.14
HTTP POST (Polling Mode)
^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
at^sisr=1,1000
Try to read 1000 bytes once again.
^SISR: 1,-2
No more data available to read, i.e. the service has
finished.
OK
at^sisi=1
Check the connection state of service profile 1. 
^SISI: 1,6,578,0,0,0
Thecommand response indicates that the POP3 ser-
vice is in state "6" (Down) and that 578 bytes have
been retrieved. 
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=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.