AVR2070
27
8240B-AVR-06/09
A<enter>
A0
A1<enter>
A<enter>
A1
HTL<enter>
H50T22.5L50
A0A<enter>
A0
This also demonstrates how multiple commands could be sent at once. The sensor
always sends its packets back to the source port specified in the original packet.
Note
If a response is not received, try sending either the 'A1' or 'A0'
command to turn on and off the LED. If the LED responds, the node is
receiving the message, but the response is not being passed back.
Running Wireshark on the interface may provide some useful
information, such as if the UDP response packet has an incorrect
checksum.
6.4.2 Commands on Port 61618
This is the administrative port, and allows control of various settings in the device.
The commands which can be sent are shown in the following table, and must also
end with either a <LF> or <CR><LF> combination.
Table 6-4-3. UDP Commands on Port 61618
Command Description
S2001:0db8:01e1:0000:459D:00ff:fe29:bcf5 Set the server IP address to
2001:db8:1e1::459d:ff:fe29:bcf5
Ds
Set the destination IP of the button press to
the server address (aka: what was stored with
'S')
D2001:0db8:01e1:0001:baad:00ff:fe00:0002 Set the destination IP of the button press to
the IP 2001:db8:1e1:1:baad:ff:fe00:2
BST22.5 Send the string 'T22.5' to the IP specified with
'D' when the button is pressed.
BP
Send an ICMP echo request (ping) to the
node specified with 'D' when the button is
pressed
H Remotely simulate a button press
G
Get the last message received by this node,
typically in response to the action occurring on
the button press.
C
Clear the last message received by this node.
All commands except for 'G' will be acknowledged with an 'OK' from the wireless
sensor.