On-Chip Software Development Guide
Introduction
The
On-Chip Software Development Kit
allows you to write applications directly on theLTC5800
andLTP59xx
products, 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 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
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 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
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
devices. - Supporting Tools contains a description of a set of tools available to simplify the development process, and pointers to their documentation.
- Sample Applications is a collection of small embedded applications that exercise specific functions of the stack, the device interfaces, and available services.
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
SmartMesh IP
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.