1 6
T HE O R Y OF O P E R A TI O N
E N G I N E E R ’ S T I P
16-bit Network Addresses.
In a ZigBee network, nodes are assigned a
The
6 4 - b i t M A C a d d r e s s
The
When a packet needs to be sent to a specific device through the network, the
T a b l e 3 : D e v i c e T a b l e E x a m p l e
Index | MAC Address | NWK Address |
0 | 0x00 0x00 0x00 0x50 0x67 0x12 0x34 0x56 | 0x0000 |
|
|
|
1 | 0x00 0x00 0x00 0x50 0x67 0x16 0x45 0x34 | 0x0001 |
|
|
|
2 | 0x00 0x00 0x00 0x50 0x67 0x34 0x21 0x78 | 0x143E |
|
|
|
M e s h R o u t i n g ( A O D V )
The ZigBee protocol uses the
Figure 4 below shows a typical ZigBee network. The circles surrounding the 4 nodes represent the Personal Operating Space (POS) of each node. Because of the limited range, each node can only communicate with the neighboring node(s) next to it. When a node needs to send a message to a node which is not a neighbor, it broadcasts a Route Request (RREQ) message containing the Source Destination Address, the Network Address of the Destination radio and a path cost metric.
In the example below, Node 0 needs to send a message to Node 3; however the two are not within communication range of each other. Node 0’s neighbors are Node 1 and Node 2. Since Node 0 cannot directly communicate with Node 3, it sends out a RREQ which is heard by Nodes 1 and 2 (see Figure 5: "ZigBee Route Request" on page 17).