Introduction

The  allows you to write applications directly on the  and  products, on top of the  network protocol stack.

The  stack and the device drivers are provided as pre-compiled libraries. Your mote application links against them, and can then be loaded into your -based devices.

All networking is handled by the stack "under-the-hood": you don't have to think about network connectivity, channel hopping, or synchronization. Simply write your application. The libraries provide APIs to configure network parameters, join a network, interact with internal and external sensors, and send data. Similarly, they provide the primitives for your application to receive notifications about network availability and received data.

Writing a mote application becomes very similar to writing an application on a regular computer. Because  is IPv6-ready, your application can exchange data with computers on the Internet through socket-based programming. Simply prepare bytes of data and send them using UDP transport to some IPv6 address.

This guide serves as overarching documentation for the libraries, header files, tools, and other resources bundled in the .

Document Organization

This document is organized as follows:

How to Read this Guide

We recommend that you read the Getting Started and Concepts sections, in sequence. Getting Started allows you to create the setup you need to write and debug applications. Concepts provides a quick introduction to the few concepts important to writing applications on a  mote.

The Supporting Tools documentation can be consulted once you need to start working with devices and debug applications, or when pointed to by another section.

The Sample Applications comes with ready-to-run sample embedded applications, so it's easy to run the applications while reading this section. The order of the sections mirrors the order in the Doxygen-based documentation. You can, however, explore the sample applications in any order.

This guide allows you to create a larger application by using snippets from the sample applications as building blocks.