Owner manual

PAGE 17
Technical support (650) 384-0000 www.avalanwireless.com
AW2400mSPI
User’s Manual
D1,D0:ThesebitsreportorcongurewhetherthedeviceisanAPoranSU:
D1 D0 Mode
0 0 Not Configured
0 1 AP
1 0 AP
1 1 SU
MID5..0:ThesebitsreadbackorsettheconguredID.ForanAPthisisthemaxi-
mum ID number that is allowed to join the RF network. For an SU it is the number
to use to join the RF network.
Stats Command
The getStats command is used to gather all the statistics that the XC1220 is collect-
ing about the RF link. The statistics are, total number of packets transferred, total
number of packets that failed to make it across the RF, total number of packets that
successfully made it across the RF, total number of broadcast packets, total number
of unicast packets, average transmitted packet size in the last 32 packets, average
received packet size in the last 32 packets, and percentage block error rate.
The statistics can be read from the XC1220 at any time during normal operation.
getStats SPI Mode:
0x05
UART Mode:
0x04
b7 b6 b5 b4 b3 b2 b1 b0
Byte 1 TP23 TP22 TP21 TP20 TP19 TP18 TP17 TP16
Byte 2 TP31 TP30 TP29 TP28 TP27 TP26 TP25 TP24
Byte 3 TP7 TP6 TP5 TP4 TP3 TP2 TP1 TP0
Byte 4 TP15 TP14 TP13 TP12 TP11 TP10 TP9 TP8
Byte 5 FP23 FP22 FP21 FP20 FP19 FP18 FP17 FP16
Byte 6 FP31 FP30 FP29 FP28 FP27 FP26 FP25 FP24
Byte 7 FP7 FP6 FP5 FP4 FP3 FP2 FP1 FP0
Byte 8 FP15 FP14 FP13 FP12 FP11 FP10 FP9 FP8
Byte 9 PP23 PP22 PP21 PP20 PP19 PP18 PP17 PP16
Byte 10 PP31 PP30 PP29 PP28 PP27 PP26 PP25 PP24