User`s manual
User manual Version 1.3
SW5002 Wireless Serial Server
Copyright © 2010 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan
- 28 -
If one or more of the delimiters are selected, data would be transmitted when any of the conditions are met.
ATTENTION
Packet delimiter by Interval timeout,
This parameter defines how large a gap in serial communication the serial device server will allow
before packing the serial data in its internal buffer for network transmission.
The optional “Internal timeout” transmit time depends on your application, but it must be at least larger than
one character interval within the specified baud rate. For example, assume that the serial port is set to 1200
bps, 8 data bits, 1 stop bit, and no parity. In this case, the total number of bits needed to send a character is
10 bits, and the time required to transfer one character is (10 (bits) / 1200 (bits/s)) × 1000 (ms/s) = 8.3 ms.
Therefore, you should set the “Interval timeout” to be larger than 8.3 ms, so in this case, it must be greater
than or equal to 10 ms. If it is necessary to send a series of characters in the same packet, the serial device
will need to send that series of characters within the specified transmit time, and the total length of data
must be less than or equal to the serial device server internal UART buffer size (4K per port).
Network to Serial Packet Delimiter
Network to Serial Packet Delimiter is used less often compared to Serial to Network Delimiter because
Ethernet has better speeds. Packet delimiter is a way of packing data in a serial communication. It is
designed to keep packets in track. Serial device server provides three patterns in parameter setting: (1)
packet delimiter by (1) Interval timeout, (2) Max Byte and (3) Character pattern.
1. By Time – The device will transmit the data when set time interval has reached and no more
data comes in.
2. By Max Bytes – The device will transmit the data when the data queue has reached the set
size.
3. By Character - The device will transmit the data when it sees the set character
If one or more of the delimiters are selected, data would be transmitted when any of the conditions are met.
Response interval timeout (Default: 1000ms):
This option only work in Request & Response Mode. When TCP data is received (request) and passed to
Serial side, the device will wait for the set time before transferring another TCP data if the Serial side did not
receive any data (response).
Keep serial buffer data before TCP connection is Established (Default: Disable):
If “Enable” is selected, the device will store received data in buffer and sent them out when
connection is establish. Otherwise, data will be discarded when “Disable” is selected.
5.6. Configure System
There are five subsystems for system settings, included Time, WLAN Region, Security, Set to default
and Restart.