Eodflag, In the, Writelength – Siemens AC75 User Manual

Page 284: E.g. at^sisw=9,0,1, Cnfwrite, Length, If ne, Ac75 at command set

Advertising
background image

AC75 AT Command Set

10.8 AT^SISW

s

AC75_ATC_V01.002

Page 284 of 569

10/30/06

Confidential / Released

• 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".

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.

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 (

ATE

1) 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"

.

ATE

0 disables the

echo mode generally.

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.

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-

<eodFlag>

(num)

<mode>

(num)

<optServParam>

(str)

<cnfWriteLength>

(num)

Advertising