Programming instructions

Atmel AT02597: ZigBee PRO Packet Analysis with Sniffer [APPLICATION NOTE]
32210AWIRELESS09/2013
31
6.
Example Application Scenarios
The zip package that comes with this application note includes sniffer logs with the example application scenarios
below. This will help the user to understand the packet exchange in the following cases that are not directly covered by
the reference applications in the BitCloud SDK. These scenarios require the user to modify the application to see and
understand the described scenarios.
6.1
PAN Same Channel Co-Existence
It is possible to have multiple ZigBee networks on the same channel. The sniffer log, pan_same_channel_co-
existence.dcf, shows that it is possible for a second PAN to be started in the presence of an existing PAN.
Packet #0 to 426 shows data transfer in a Personal Area Network (PAN) with the short PANID 0x1AAB as can be seen
from the macHeader->dstPanID field. This PAN consists of three devices, a coordinator, a router (macHeader-
>srcShortAddr =0x912F) and an end-device (macHeader->srcShortAddr =0x0B27).
The end-device transfers data to the router every two seconds.
Packet #427 shows the MAC beacon request from another coordinator device to which the coordinator and router from
the PAN 0x1AAB respond with beacons. The Beacon payload shows an extPanId of 0xBB BB BB BB BB BB BB BB BB
BB BB BB BB BB BB. The second coordinator starts a network with extPanId of 0xAA AA AA AA AA AA AA AA AA AA
AA AA AA AA AA AA and short PANID 0x1AAAA.
#432 shows the MAC beacon request from an end-device to which the coordinator of 0x1AAA, coordinator and router of
0x1AAB respond.
The end-device joins network with PANID 0x1AAB at its coordinator, as its information base contains the extended
PANID 0xAA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA.
Further, a router joins network 0x1AAB and the end-device transfers data to this router every two seconds.
6.2
End-to-End Establishment of Application Link Key
In a secure network, when two devices need to communicate on a secure link with each other, they shall request a link
key from the Trust Center.
In Figure 6-1, Router 0xEA1
E requests for a link key to Trust Center to communicate with router 0x12DC.