
2000 Digital Wireless Corporation 7042000
the ethernet packets can not be transmitted in a timely manner, such as going through a
router.
Synchronization
The SNAP uses broadcast or multicast datagrams for time synchronization. The default
is for the master SNAP to broadcast datagrams to the 255.255.255.255 all-hosts IP
broadcast address. Using the “sys xcast <ipaddr>”, SNAPs can be configured to use a
more limited IP broadcast address, or a multicast address. All SNAPs in a network
should be configured with the same “xcast” address. The use of multicast addresses is
preferred so that synchronization datagrams do not interfere with hosts other than the
SNAPs. Note that the SNAPs use UDP port 2410 as the source and destination UDP port
numbers in the synchronization packets.
The command “sync master” is used to set a SNAP to the master for time
synchronization, and the command “sync slave” is used to set a SNAP to be a slave for
time synchronization. There should be one master in a given network, even if there is
only one SNAP in the network.
There may be a time when there will be SNAP on different sides of a network router.
This situation could cause the SNAPs not to be synchronized. This is where the RJ-11
sync connectors can be used. If the remotes will need to be able to roam between the
SNAP located on different sides of the network router, the SNAP will have to be
connected together using the RJ-11 connectors. The cable will only need to be two
twisted pair. This is the same as regular phone cable. If there are more than two SNAPs
in the network, the SNAPs will need to be daisy chained together.
AP Mode Operation
The default operating mode of the SNAP is AP mode. This mode is optimized for
communications between a workstation or workstations on an Ethernet network and a
network of WIT2410-based devices. The AP mode assumes that there is limited
intelligence in the remote host. The AP mode is designed to allow the remote host
devices to send and receive data to the remote WIT2410 in transparent mode.
Data exchanges between the SNAP and workstations on the network are made using the
SDP protocol. This protocol is described in detail later on in this manual. To shorten
software development time, a C library is included that will help with the SNAP protocol.
roamlib will help in the developing the software needed to talk to the remote radios from
the SNAP. Also included is a simple multi-window (one per remote) ethernet chat
program, roam.exe. This program allows the user to send data to the SNAP and to the
remote. This program is based on the roamlib. In order for roam.exe to work the “sys
xcast” must be 224.5.5.5, the “sdp” must be 224.1.2.3 and the source and destination port
numbers must be 2411 and 2412 respectively. These are the default settings. Using the
roam library requires the use of winsock.dll. This file should already be included on any
Windows 95/98/NT PC that has TCP/IP installed as a protocol.