Introduction
The
On-Chip Software Development Kit
allows you to write applications directly on theLTC5800
, on top of theSmartMesh IP
network protocol stack.The
SmartMesh IP
stack and the device drivers are provided as pre-compiled libraries. Your mote application links against them, and can then be loaded into yourLTC5800
-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 provides APIs to configure network parameters, join a network, interact with internal or 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
SmartMesh IP
is IPv6-ready, your application can exchange data with computers on the Internet through socket-based programming. Simply prepare bytes of data and send that 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
On-Chip Software Development Kit
.Document Organization
This document is organized as follows:
- Getting Started lists what hardware and software you need.
- Concepts explains the concepts behind developing applications for
SmartMesh IP
. - Supporting Tools contains a description of the tools useful for firmware development, and pointers to their documentation.
- Cookbook is a collection of small applications, exercising specific functions of the stack, the device interfaces or the services.
How to Read this Guide
We recommend 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
SmartMesh IP
mote.Supporting Tools contains a list of tools useful program motes and debug applications. You can consult this section only when needed, or when pointed to by another section.
The Cookbook comes with ready-to-run sample 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.