AC75 AT Command Set

10.8 AT^SISW

s

If Socket service is selected with UDP protocol

-<reqWriteLength>=0 can be used to send an empty UDP packet;

-it is recommended that the size of each data packet be limited to 1472 bytes. Otherwise, it is possible that the following URC occurs: "^SIS: <id>, 0, 9, The supplied buffer was too small / large".

<eodFlag>(num)

End of data indication flag.

Parameter is ignored for HTTP, POP3, FTP download, Socket with UDP protocol.

[0]

No end of data. Other data may follow to be transmitted via the Internet service.

1

End of data is signalled to the Internet Service. Further AT^SISW write com-

 

mands return an error response. However, reading data may be possible. The

 

<eodFlag> is effective only if the <reqWriteLength> equals <cnfWrite-

Length>, in particular if the <reqWriteLength> equals 0.

If <mode> equals 1 the <eodFlag> is effective only if the write operation has been finished with CTRL-Z.

<mode>(num)

Control how the application provides the data bytes to be sent.

[0]

Binary mode

 

This mode allows sending a number of bytes defined with parameter

 

<reqWriteLength>.

1

Interactive text mode

 

This mode allows the user to type and send 8-bit ASCII characters while the

 

service is open. Ctrl-Z terminates data input and causes the data to be trans-

ferred.

Interactive text mode requires that the <reqWriteLength> is set to any value greater than 0 (though it is not necessary to specify the precise number of bytes). In this case the <cnfWriteLength> parameter indicates the maxi- mum length of the data stream without control character CTRL-Z. The <txCount> counter is incremented only by the portion of data actually trans- mitted.

In interactive text mode, the following characters are predefined as control codes:

• BACKSPACE ("\x08") deletes the last given character,

CTRL-Z ("\x1a") terminates the input,

• ESC ("\x1b") aborts the command. An <eodFlag> is ignored in this case.

The V.25 command ATE also controls the echo mode of the interactive text mode. If echo is enabled (ATE1) all characters are echoed until <cnfWrite- Length> is reached. Any attempt to input further data ends up with the warn- ing message 4001 indicated after the data stream has been completed with CTRL-Z, nevertheless all data within the range of <cnfWriteLength> will be sent. See also Section 10.13, Internet Service URC "^SIS". ATE0 disables the echo mode generally.

<optServParam>(str)

Service specific parameter of the AT^SISW write command. If the Socket service is configured as UDP endpoint this parameter is mandatory and specifies the IP address (in dotted format) and the UDP port of the remote host. For each write request another IP address and UDP port may be given.

<cnfWriteLength>(num)

0...1500

Confirmed number of data bytes which can be transmitted via the Internet ser-

 

 

vice configured in <srvProfileId>. In binary mode (see <mode>) this num-

 

 

ber may be less or equal to the value requested with <reqWriteLength>.

 

 

The application has to deliver exactly the number of bytes indicated by <cnf-

 

 

 

 

AC75_ATC_V01.002

Page 284 of 569

10/30/06

Confidential / Released

 

 

Page 284
Image 284
Siemens AC75 manual EodFlagnum, ReqWriteLength, OptServParamstr, CnfWriteLengthnum