Digi International Inc XBEEPRO2 Manual Do Utilizador

Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     31
Modes of Operation
Idle Mode
When not receiving or transmitting data, the RF module is in Idle Mode. The module shifts into the other modes 
of operation under the following conditions:
•Transmit Mode (Serial data in the serial receive buffer is ready to be packetized)
•Receive Mode (Valid RF data is received through the antenna)
•Sleep Mode (End Devices only)
•Command Mode (Command Mode Sequence is issued)
Transmit Mode
When serial data is received and is ready for packetization, the RF module will exit Idle Mode and attempt to 
transmit the data. The destination address determines which node(s) will receive the data. 
Prior to transmitting the data, the module ensures that a 16-bit network address and route to the destination 
node have been established. 
If the destination 16-bit network address is not known, network address discovery will take place. If a route is 
not known, route discovery will take place for the purpose of establishing a route to the destination node. If a 
module with a matching network address is not discovered, the packet is discarded. The data will be transmitted 
once a route is established. If route discovery fails to establish a route, the packet will be discarded. 
Transmit Mode Sequence
16-bit Network
Address Discovery
Data Discarded
Successful
Transmission
Yes
No
New
Transmission
16-bit Network
Address Discovered?
Route Known?
Route Discovered?
16-bit Network
Address Known?
Route Discovery
Transmit Data
Idle Mode
No
Yes
No
No
Yes
Yes