User's Manual

CHAPTER 6 READER-HOST PROTOCOL
NANOSCANNER READER USER GUIDE DOC # 8101029-000 REV A 59
© 2003 Alien Technology™
GET HEARTBEATPORT
S
ET HEARTBEATPORT
The reader can be configured to periodically send out a heartbeat message to
the network. This heartbeat takes the form of a single UDP packet (Universal
Datagram Packet) broadcast out to the entire subnet that the reader is configured
for.
The Set HeartbeatPort command allows you to configure the actual port number
that this packet is sent out to.
Listening for this heartbeat can be used to initially locate a reader on a network
and subsequently make sure that the reader is still alive.
The default port setting for this command is 3988
The format of the UDP packet is a single XML document detailing the reader:
<Alien-RFID-Reader-Heartbeat>
<ReaderName>Alien RFID Reader</ReaderName>
<ReaderType>Alien RFID Tag Reader (Class 1 / 915Mhz)</ReaderType>
<IPAddress>10.1.60.5</IPAddress>
<CommandPort>23</CommandPort>
<HeartbeatTime>30</HeartbeatTime>
</Alien-RFID-Reader-Heartbeat>
NOTE: Changes made with this command will take effect immediately.
Example
Command
Response
>Get HeartbeatPort
>HeartbeatPort=3004
Command
Response
>Set HeartbeatPort=10002
>HeartbeatPort=10002
G
ET HEARTBEATTIME
S
ET HEARTBEATTIME
The reader can be configured to periodically send out a heartbeat message to
the network. This heartbeat takes the form of a single UDP packet (Universal
Datagram Packet) broadcast out to the entire subnet that the reader is configured
for.
The time interval between heartbeats can be assigned and retrieved using this
command.
All intervals are specified in seconds.
A setting of zero (seconds) will suspend the output of any further heartbeats.
The default setting for this command is 30 seconds.
NOTE: Changes made with this command will take effect immediately.