Owner manual
PAGE 15
Technical support (650) 384-0000 www.avalanwireless.com
AW2400mSPI
User’s Manual
Network Key Command
TheNetworkKey isA 32-bitnumberusedforNetworkIdentication.AvaLAN m-
series devices with different Network Keys will not be able to communicate with
each other. The Network Key can be changed without resetting the device.
The getNetworkKey command will read back the last 32-bit key issued to the
device.
The setNetworkKey command stores a new 32-bit key to be used for RF
communications.
getNetworkKey SPI Mode:
0x02
UART Mode:
0x01
setNetworkKey SPI Mode:
0x82
UART Mode:
0x81
b7 b6 b5 b4 b3 b2 b1 b0
Byte 1 PK7 PK6 PK5 PK4 PK3 PK2 PK1 PK0
Byte 2 PK15 PK14 PK13 PK12 PK11 PK10 PK9 PK8
Byte 3 PK23 PK22 PK21 PK20 PK19 PK18 PK17 PK16
Byte 4 PK31 PK30 PK29 PK28 PK27 PK26 PK25 PK24
Private Key Command
The Private Key is the 128-bit key used in the AES encryption of data transmitted
over the RF. This key must be set once at start up and cannot be changed without
resetting the device. If two or more radios have the same Public Key but different
Private Keys, they will connect with each other. However, the received data will be
completely scrambled.
The getPrivateKey command reads back the private key issued at startup.
The setPrivateKey command stores the private key to be used for the AES encryp-
tion. This command should be issued only once at start up. If issued again with a
different key, data corruption will occur.
getPrivateKey SPI Mode:
0x03
UART Mode:
0x02
setPrivateKey SPI Mode:
0x83
UART Mode:
0x82
b7 b6 b5 b4 b3 b2 b1 b0
Byte 1 SK7 SK6 SK5 SK4 SK3 SK2 SK1 SK0
Byte 2 SK15 SK14 SK13 SK12 SK11 SK10 SK9 SK8