AC75 AT Command Set

10.14 Examples of how to Configure and Use Internet Service Profiles

s

^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.14.10Sending Email (Polling Mode)

This example uses the service profile described in Section 10.14.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

 

 

 

AC75_ATC_V01.002

Page 303 of 569

10/30/06

Confidential / Released

 

 

Page 303
Image 303
Siemens AC75 manual Sending Email Polling Mode