Read radio table, Read radio table 51 – AeroComm TRANSCEIVER ZB2430 User Manual

Page 56

Advertising
background image

5 1

ZB2430 User’s Manual - v1.6

A D V A N C E D N E T W O R K C O M M A N D S

www.aerocomm.com

R e a d R a d i o T a b l e

The Radio Table, stored in NV RAM, contains information about any parent or children it is associated with. The Radio
Table stores relationship and link-state information which updates everytime the radio receives a packet from that
device. To read a device’s Radio Table, use the command format shown in Figure 23 below.
Note: This command not valid for End Devices.
Command Definitions

• Index Number: Index location of radio in Radio Table (range = 0-20).
• NWK Address: 16-bit NWK address of the device.
• Node Relation: The type/relation of the device.
• Device Status: Status of the link between the two devices.
• TX Cost: Counter of transmission (success/failures). Failures are incremented on fail and decremented on

success. Range is 0x00 - 0x07.

• RX Cost: Average of received RSSI values for the specified device

F i g u r e 2 3 : R e a d R a d i o T a b l e C o m m a n d

After issuing the Read Radio Table command, the radio will respond with the requested information as shown in
Figure 24 below. The actual command response format may vary depending on the Return Mask setting used in the
command.

0x00: All
0x01: Parent
0x02: Children
0x03: Radio at index

Device Type (Byte 3)

Radio Index in table.

(Only valid when Device
Type = 0x03)

Index (Byte 4)

Data

Request

0xCC

Start Delimiter

0x8C

Command Identifier

Return Mask (Bytes 5-6)

Bit 0: Index number
Bit 1: NWK Address
Bit 2: Address index
Bit 3: Node relation
Bit 4: Device Status
Bit 5: Association Count
Bit 6: TX cost
Bit 7: RX cost
Bit 8: Security Key sequence number
Bit 9: Security Frame counter
Bits 10-15: Reserved. Set to 0.

Advertising