Table of Contents

Chapter 1. Introduction

Chapter 2. Wireless Communication

2.1 Communication Systems
2.2 Wireless Network Types
2.2.1 WPAN
2.2.2 WLAN
2.2.3 WWAN
2.3 Wireless Network Topologies
2.4 Wireless Standards
2.5 Security in a Wireless Network
2.5.1 Security Risks

Chapter 3. IEEE 802.15.4 Specification

3.1 Scope of 802.15.4
3.1.1 PHY Layers
3.1.2 MAC Layer
3.2 Properties of 802.15.4
3.2.1 Transmitter and Receiver
3.2.2 Channels
3.3 Network Topologies
3.4 Network Devices and their Operating Modes
3.5 Addressing Modes Supported by 802.15.4
3.5.1 PAN ID

Chapter 4. ZigBee Specification

4.1 Logical Device Types
4.2 ZigBee Stack Layers
4.2.1 Network (NWK) Layer
4.2.2 Application (APL) Layer
4.2.2.1 Application Support Sublayer (APS)
4.2.2.2 Application Framework
4.2.2.3 ZigBee Device Object (ZDO)
4.3 ZigBee Addressing
4.3.1 ZigBee Messaging
4.3.2 Broadcast Addressing
4.3.3 Group Addressing
4.4 ZigBee Application Profiles
4.4.1 ZigBee Device Profile

Chapter 5. Rabbit and ZigBee

5.1 Implementation Overview
5.1.1 Initialization State
5.1.2 Discovery State
5.1.3 Ready State
5.1.4 End Device Sleep Mode
5.2 Sample Programs
5.2.1 Sample Program Initialization Requirements
5.2.2 Summary of ZigBee Sample Programs
5.2.2.1 Sample Programs for One Rabbit-Based Board
5.2.2.2 Sample Programs for Two Rabbit-Based Boards
5.2.3 GPIO Server/Client Sample Programs
5.2.3.1 Running the GPIO Applications
5.2.3.2 Studying the Code
5.3 Dynamic C Library for ZigBee Applications
5.3.1 Communication with an RF Module
5.3.1.1 Sending Data to a Remote Device
5.3.1.2 Radio Commands
5.3.2 Configuration Macros and Constants
5.3.2.1 Compile-Time Macros
DEFAULT_CHANNELS
DEFAULT_EXTPANID
DEFAULT_PANID
ENDPOINT_TABLE_*
NODEID_STR
XBEE_DEBUG
XBEE_IN_BUF / XBEE_OUT_BUF
XBEE_ROLE
XBEE_VERBOSE
ZB_CONSTRUCT_NODE_ID
ZB_FATAL_ERROR
ZB_MULTI_PROFILE
5.3.2.2 Information Macros
XBEE_IS_COORD
XBEE_IS_ENDDEV
XBEE_IS_ROUTER
5.3.2.3 Deprecated Device Type Macros
ZIGBEE_COORDINATOR
ZIGBEE_ENDDEV
ZIGBEE_ROUTER
5.3.3 Error Codes
5.3.4 Data Structures
api_frame_t
xb_io_sample_t
_zb_NodeData_t
zb_sendAddress_t
5.3.5 API Functions and Macros
GET_NODE_DATA
resetRadio
xbee_awake
xbee_init
xbee_protocol
xbee_tick
xbee_wait_for_wake
xb_get_register
xb_hexdump
xb_io_conf_desc
xb_io_sample_clear
xb_IS_parse
xb_listNodes
xb_nd_nodetype_str
xb_sendAPIremoteATcmd
xb_send_command
xb_set_register
xb_sleep
xb_stayawake
zb_adc_in
zb_API_ATCmdResponse
zb_check_sleep_params
zb_dio_in
zb_dio_out
ZB_ERROR
ZB_GENERAL_MESSAGE_HANDLER
zb_getATCmdResponse
zb_io_init
ZB_LATEST_MESSAGE
ZB_LAST_MSG_DATA
ZB_LAST_MSG_DATALEN
ZB_LAST_STATUS
zb_MakeEndpointClusterAddr
zb_MakeIEEENetworkAddr
zb_missed_messages
ZB_ND_RUNNING
zb_Rabbit_poweroff
zb_Rabbit_Sleep
zb_receive
zb_reply
zb_send
zb_sendAPICmd
zb_sendATCmd
zb_swapBytes
zb_tick
ZB_XMIT_OVERHEAD
ZB_XMIT_STATUS
zigbee_init (deprecated)
5.4 Protocol Firmware
5.4.1 Updating RF Module FW on a Rabbit-Based Target
5.4.2 X-CTU: Updating RF Module FW on a DIGI XBee USB Device
5.4.2.1 X-CTU Installation
5.4.2.2 PC Settings Tab
5.4.2.3 Modem Configuration Tab
5.5 Summary

Appendix A. Glossary of Terms

ad-hoc network
application object
attribute
Bluetooth
BPSK
cluster
cluster ID
cluster tree
coordinator
CSMA-CA
device description
end device
endpoint
FFD
IEEE
EUI-64
IrDA
LAN
mesh
multi-hop
node
O-QPSK
peer-to-peer
point-to-multipoint
point-to-point
profile
router
RF
RFD
RSSI
self-healing network
star
UWB
WPAN
ZDO

Index