TSAT 3000 - Telemetry and data transfer via SATellite
TSAT 3000 Configuration Parameter Description, January 2013 Page 18 of 124
3.1.11 PORT_PKT_TIMEOUT [n]
Default 100, Range –1…5000
Set packet Timeout on this PORT, expressed in milliseconds.
Usage is dependent on
PORT_TYPE [n].
PORT_TYPE [n]
Value Description
NONE n/a Not Used when PORT is Closed.
NETWORK n/a
Not Used when PORT is connected to IP-STACK.
Packets received from IP-STACK will be forwarded immediately.
0 NO timeout. Received data will be forwarded immediately.
1 … 5000
Timeout in ms.
A new timer will be started each time
some bytes are received, and all
received bytes will be forwarded when the last timer expires.
STREAM
–1
INFINITE timeout.
Actually, already received bytes will be forwarded 65535 ms after the
last byte is received.
0
NO timeout
If a complete protocol-packet is received, it will be forwarded
immediately. Otherwise, the received bytes (part of a protocol-packet)
will be discarded immediately.
1 … 5000
Timeout in ms.
A timer will be started when the first
byte of a protocol-packet is
received, and if the complete protocol-packet hasn’t been received
when timer expire, already received bytes will be discarded.
SERVICE
ADAPTER
–1
INFINITE timeout.
Actually, already received bytes will be discarded after 65535 ms.
Note 1: When a
STREAM PORT is connected to Remote-COM via “TSAT Comport Server”, the
Timeout value is sent to, and handled by Remote-COM. Packets received from Remote-COM
will be forwarded immediately.
Note 2: Due to operating system timer ticks, the actual timeout is modulo 16.67 ms.
Timeout = 16.667 x INT( (60 x
PORT_PKT_TIMEOUT + 999) / 1000 ) – ( 0 to 16.667 ) ms.
Note 3: The Timeout parameter is one of 3 parameters that define when
STREAM data packets
should be forwarded to the satellite link. That is:
• PORT_PKT_TIMEOUT
•
PORT_FORWARD_CHAR [n]
•
PORT_MAX_PKT_SIZE [n]
Note 4:
SERVICE PORT using a SOCKET connection, and Ver <= 30.3.0, are using a fixed
timeout of 300
ms. This error is corrected in Ver >= 30.3.1.