pulsAR
radio Operator's Manual
With the UDP Command Interface a host computer can issue all the same text commands available
through the other interfaces and described in the radio Operator’s Manual. The command text, in
ASCII, must be encapsulated in an UDP/IP packet addressed to the radio. The radio replies to every
command with text also encapsulated in an UDP/IP packet. This reply packet can be addressed to a
pre-configured IP address or to the device that generated the command. See the
udp-configuration
command in section 4 for the options to configure this udp interface.
5.3.2
UDP Command Packet formats
Table 5.1 below shows the structure of the UDP command and reply packets. The host computer
always initiates the command, and the radios reply to every command. The command sequence
number field, in the reply, “echoes” the contents of the sequence number field in the command.
If the socket-mode is set to 2, the radio issues an “unsolicited reply” message on power up to the
configured peer-address. This can be used to alert a host that the radio just rebooted. The command
sequence number in this power up unsolicited reply is always zero.
The command and reply text is in ASCII. Refer to section 4 for a complete list of all valid
commands. Prior to using the UDP interface you must initialize the radio IP and the UDP
configuration (using commands
ip-configuration
and
udp-configuration
) through either the RS-232
console or the Ethernet port using the Econsole utility.
Table 5.1. UDP Command / Reply Packet Format
Bytes
Host to Radio (Command)
Radio to Host (reply)
0-5
Dest MAC address
Dest MAC address
Ethernet
Encapsulation
6-11
Src MAC address
Src MAC address
12-13
0x0800
0x0800
14-33
IP header
IP header
UDP/IP
encapsulation
RFC-768 (UDP)
RFC-760 (IP).
34-35
Src port (any)
Src port: radio UDP cmd port
36-37
Dest port: radio UDP cmd port
Dest port: UDP peer cmd port
38-39
Length of UDP payload (6-500)
Length of UDP payload (6-500)
40-41
Checksum
Checksum
42-45
Command Sequence number
Command Sequence number
Payload
46-47
Pad (all zeroes)
Reply code
48-
Command text
Reply text
The values of the “reply code” field are shown in the following table.
5-5
Summary of Contents for AR-24010E
Page 2: ......
Page 74: ...pulsAR radio Operator s Manual 4 26 ...
Page 96: ...pulsAR radio Operator s Manual B 2 ...