DART 200 CDPD Modem User’s Guide
8 Application Programming
Sierra Wireless, Inc.
8-10
Maximum packet size transmit control
This feature is not under end-user control. It causes the data buffer to be
transmitted if the maximum packet size is reached and the conditions
covered by either, or both, of the above features are not met, for
example, if the packet is very large. It is also a backup if both of the
above features are inadvertently disabled. The maximum packet size for
the DART 200 is 1924 bytes (characters) and is not user adjustable. Use
of this technique as the primary data forwarding method is not
recommended.
The maximum physical size of an IP transmission packet is referred to as
the maximum transmission unit (MTU). To avoid packet segmentation,
the maximum segment size (MSS) for a data packet should be the MTU
size less the packet header size. The standard header sizes are 40 bytes
for TCP and 28 bytes for UDP. The following network parameters also
need be considered:
•
Largest MTU size - usually at the host LAN and is defined by the
Ethernet which has an MTU of 1500 bytes and an MSS of 1460
bytes
•
Smallest MTU size - usually found at an intermediate router. IP
standards require that network routers support a minimum MTU of
576 bytes. In most cases, this will be the limiting factor
•
Largest MSS - determined by the smallest MTU found at the various
routing points along the path taken by the packet. Usually, this is 576
minus the packet header size
Based on the above, the largest TCP packet which will avoid
segmentation is 536 bytes; for UDP it is 548 bytes.
Any end-user data packets exceeding the MSS for the network are
fragmented by the network software at one end and rebuilt at the other.
This is transparent to the application, but adds to the transmission time.
However, if any of the fragments are lost the entire MSS, not just the
dropped fragment, must be retransmitted. TCP and telnet (both
TCP-based) do this automatically. For UDP, however; this problem must
be detected and corrected by the application.
There is no method defined for IP to determine the minimum segment
size between two endpoints. Even if one could be developed, the
dynamic nature of IP routing makes it very likely that this value would
fluctuate and not be dependable. Therefore, to ensure the best application
performance use manual or timed data forwarding, and the data packet
sizes suggested above.
Summary of Contents for DART 200
Page 4: ...DART 200 CDPD Modem User s Guide Sierra Wireless Inc iv...
Page 18: ...DART 200 CDPD Modem User s Guide About This Guide Sierra Wireless Inc xviii...
Page 50: ...DART 200 CDPD Modem User s Guide 3 CPDP Security Features Sierra Wireless Inc 3 4...
Page 86: ...DART 200 CDPD Modem User s Guide 5 DART Supported Protocols Sierra Wireless Inc 5 32...
Page 90: ...DART 200 CDPD Modem User s Guide 6 Device Attachment Sierra Wireless Inc 6 4...
Page 94: ...DART 200 CDPD Modem User s Guide 7 Vehicle Installation Considerations Sierra Wireless Inc 7 4...
Page 120: ...DART 200 CDPD Modem User s Guide 8 Application Programming Sierra Wireless Inc 8 26...
Page 130: ...DART 200 CDPD Modem User s Guide D SLIP Setup Examples Sierra Wireless Inc D 4...
Page 144: ...DART 200 CDPD Modem User s Guide E S Registers Sierra Wireless Inc E 14...
Page 169: ...DART 200 CDPD Modem User s Guide F DART AT Command Set PN1197 00 Revision 1 0 F 25...
Page 176: ......
Page 180: ...DART 200 CDPD Modem User s Guide H Problem Sheet Sierra Wireless Inc H 2...
Page 202: ...DART 200 CDPD Modem User s Guide Index Sierra Wireless Inc Index 10...