12
Atmel AVR2052
8200M-AVR-11/11
5 Developing custom applications with the Atmel BitCloud API
5.1 API overview
The BitCloud internal architecture follows IEEE
®
802.15.4 and the ZigBee-defined
convention for splitting the networking stack into layers. Besides the core stack
containing the protocol implementation, the BitCloud stack contains additional layers
implementing shared services (for example, task manager, configuration manager,
and power manager) and hardware abstractions (for example, hardware abstraction
layer (HAL) and board support package (BSP)). The APIs contributed by these layers
are outside the scope of core stack functionality. However, these essential additions
to the BitCloud API significantly reduce application complexity and simplify the
development effort. The BitCloud Stack Documentation
information on the stack’s C API and its use.
The main structure of the BitCloud stack is presented in
Figure 5-1.
BitCloud block diagram.
The topmost layer of the core stack, APS, provides the highest level of networking-
related APIs visible to an application. ZDO provides a set of fully compliant ZigBee
Device Object APIs, which enable main network management functionality (for
example, start, reset, formation, join). ZDO also implements ZigBee Device Profile
commands, including Device Discovery and Service Discovery.
There are three service "planes," including task manager, configuration manager, and
power manager. These services are available to the user application, and may also
be utilized by lower stack layers. The task manager is the stack component which