EMBEDDED APPLICATIONS FCT
Contents
Contents ..................................................................................................... 3
1
Introduction ........................................................................................ 4
2
Using the Embedded Application TCP/IP Functions for Data
Exchange.................................................................................................... 5
2.1
Overview of Embedded Applications TCP/IP ............................................5
2.2
Basic Usage of TCP/IP Features...............................................................6
2.2.1
Protocols........................................................................................6
2.2.2
GPRS Transport for IP...................................................................6
2.2.3
Flow of TCP/IP Operations in a Script ...........................................6
2.2.4
TCP Connect Operations...............................................................7
2.2.5
Testing Communications over TCP/IP...........................................8
2.3
General Restrictions ..................................................................................8
2.4
Resource Restrictions ...............................................................................8
2.4.1
Packet Buffers ...............................................................................8
2.4.2
IP Fragmentation ...........................................................................9
2.4.3
Performance ..................................................................................9
2.5
UDP Example Script {UDP_transfer.sc} ..................................................10
2.6
TCP Example Script {TCP_transfer.sc} ...................................................12
2.7
TCP Send Function Script {TCP_send.sc} ..............................................14
2.8
Host Name Resolution.............................................................................15
2.9
IP Status Flags and Bytes .......................................................................15
2.10
Advanced Technical Details ....................................................................16
2.10.1
Time-to-Live (TTL) .......................................................................16
2.10.2
DNS Name Caching Period .........................................................16
LZT 123 8019 R1A
3