Digi International Inc XBEEPRO2 Manual Do Utilizador

Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     117
Node Identification Indicator
Frame Type: 0x95
This frame is received when a module transmits a node identification message to identify itself (when AO=0). 
The data portion of this frame is similar to a network discovery response frame (see ND command).
Example: If the commissioning push button is pressed on a remote router device with 64-bit 
address 0x0013A200 40522BAA, 16-bit address 0x7D84, and default NI string, the following node 
identification indicator would be received.
Frame Fields
Offset Example
Description
A
P
I
 
P
a
c
k
e
t
Start Delimiter
0 0x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
Frame-specific Data 
LSB 2 0x20
Frame Type
3 0x95
64-bit Source
Address
MSB 4 0x00
64-bit address of sender
5 0x13
6 0xA2
7 0x00
8 0x40
9 0x52
10 0x2B
LSB 11 0xAA
16-bit Source
Network Address
MSB 12 0x7D
16-bit address of sender.
LSB 13 0x84
Receive Options
14 0x02
0x01 - Packet Acknowledged
0x02 - Packet was a broadcast packet
Source 16-bit
address
15 0x7D
Set to the 16-bit network address of the remote. Set to 
0xFFFE if unknown.
16 0x84
64-bit Network 
address
17 0x00
Indicates the 64-bit address of the remote module that 
transmitted the node identification frame.
18 0x13
19 0xA2
20 0x00
21 0x40
22 0x52
23 0x2B
24 0xAA
NI String
25 0x20
Node identifier string on the remote device. The NI-String 
is terminated with a NULL byte (0x00).
26 0x00
Parent 16-bit
address
27 0xFF
Indicates the 16-bit address of the remote's parent or 
0xFFFE if the remote has no parent.
28 0xFE
Device Type
29 0x01
0 = Coordinator
1 = Router
2 = End Device
Source Event
30 0x01
1 = Frame sent by node identification pushbutton event 
(see D0 command)
2 = Frame sent after joining event occurred (see JN 
command). 
3 = Frame sent after power cycle event occurred (see JN 
command).
Digi Profile ID
31 0xC1
Set to Digi's application profile ID.
32 0x05
Manufacturer ID
33 0x10
Set to Digi's Manufacturer ID.
34 0x1E
Checksum
35 0x1B
0xFF - the 8 bit sum of bytes from offset 3 to this byte.