14 http post (polling mode) – Siemens Brodersen MC55 AT User Manual
Page 264
MC55_ATC_V04.00
Page 264 of 475
3/17/06
Confidential / Released
10.11.14
HTTP POST (Polling Mode)
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from 10.10.0.132 (unknown [10.10.0.132])
by testdomain.com (Postfix) with SMTP id 379321D004
for <[email protected]>; Tue, 20 Dec 2005 08:00:07 +0100 (CET)
To: [email protected]
Cc:
From: [email protected]
Subject: TestMail
Message-Id: <[email protected] >
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
The command response indicates that the POP3
service 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.
^SISW: 1, 0, 0
No further data available, i.e. the service has fin-
ished.
OK