AeroComm ZB2430 R e a d R a d i o T a b l e, Command Definitions, Only valid when Device Type =

Models: ZB2430

1 62
Download 62 pages 17.51 Kb
Page 56
Image 56
R e a d R a d i o T a b l e

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

 

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

 

Start Delimiter

 

Command Identifier

Request

 

 

 

 

 

 

 

 

 

 

 

 

0xCC

 

 

 

0x8C

 

 

 

Data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 1

Device Type (Byte 3)

0x00: All

0x01: Parent

0x02: Children

0x03: Radio at index

Index (Byte 4)

Radio Index in table.

(Only valid when Device Type = 0x03)

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.

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.

www.aerocomm.com

Page 56
Image 56
AeroComm ZB2430 manual 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, Command Definitions