^SISW: 9, 1

The "^SISW" URC indicates that email data can be

 

transferred.

at^sisw=9,87

The email to be sent has 87 bytes.

^SISW: 9,87,87

The write command response confirms that 87 bytes

 

are available for transmission.

Good Morning everyone, we are delighted to

Write the message text.

announce our next meeting on Sunday morning.

 

OK

Set the <eodFlag> to mark the end of the email

at^sisw=9,0,1

 

body.

^SISW: 9,0,0

The <eodFlag> is accepted by the service.

^SISW: 9,2

The "^SISW" URC confirms that all data is sent suc-

 

cessfully.

at^sisi=9

Check the connection state of the service profile 9.

^SISI: 9,6,0,87,0,0

The command response confirms that the SMTP

 

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

 

been transferred.

at^sisc=9

Close the service.

OK

 

 

 

10.11.10Sending Email (Polling Mode)

This example uses the service profile described in Section 10.11.8.

at^siso=9

Open the service, i.e. start to send the email.

OK

Try to write 10 bytes.

at^sisw=9,10

^SISW: 9, 10, 0

The service response indicates that 10 bytes can be

 

written.

Hallo Tom!

Write 10 bytes.

OK

Try to write 10 bytes.

at^sisw=9,10

^SISW: 9, 0, 0

The service response indicates that the service

 

refuses to accept any data at the moment.

OK

Try to write 12 bytes.

at^sisw0=9,12

^SISW: 9, 12, 0

The service response indicates that 12 bytes can be

 

written.

Bye Bye Tom!

Write 12 bytes.

OK

Set the <eodFlag> to mark the end of the email

at^sisw=9,0,1

 

body.

^SISW: 9,0,0

The <eodFlag> is accepted by the service.

OK

Check the connection state of service profile 9.

at^sisi=9

^SISI: 9,5,0,22,0,0

The command response confirms that the SMTP

OK

service is in state "5" (Closing) and that 22 bytes

 

have been written.

at^sisi=9

^SISI: 9,6,0,22,0,0

OK

Check the connection state of service profile 9. The command response confirms that the SMTP service is in state "6" (Down) and that 22 bytes have been written.

at^sise=9

Check error status of service profile 9.

^SISE: 9,0

The command response confirms that no error

 

occurred.

OK

 

 

 

MC55_ATC_V04.00

Page 261 of 475

3/17/06

Confidential / Released

 

 

Page 261
Image 261
Siemens MC55 AT manual Sending Email Polling Mode