Sample Applications

This section contains a collection of sample applications (the "cookbook.")  Each section focuses on a particular capability of the 

LTC5800

 platform and associated libraries.

Some sections of the Cookbook have a sample application associated. We recommend you read these sections while having the 

On-Chip Software Development Kit

 tool chain in place, so you can run the sample applications in parallel and look at the source code.

Each category in this Cookbook corresponds to a prefix in the sample application names:

  • The 00: Hello World section lists the smallest set of operations your application needs to do to successfully boot the device. It also illustrates some common uC/OS-II-related operations. The names of the corresponding sample applications start with prefix 00-*.
  • The 01: Stack section shows how your application can interact with the 

    SmartMesh network stack

    . The names of the corresponding sample applications start with prefix 01-*.
  • The 02: Devices section details how your application can interact with the different devices. The names of the corresponding sample applications start with prefix 02-*.
  • The 03: Services sections covers the miscellaneous services offered by the 

    SmartMesh library

    . The names of the corresponding sample applications start with prefix 03-*.
  • The 04: Applications sections covers the more full featured aplications built on top of the

    SmartMesh library

    . The names of the corresponding sample applications start with prefix 04-*.

When writing your application, you can use snippets from these sample applications as "building blocks".

The following table lists the sample applications provided with the 

On-Chip Software Development Kit

, as well as the related section(s) in this Cookbook.

 

CategorySample Application NameRelated Sections
00: Hello World00-hello
00-hello_common
00-uc_resources
00-uc_stack 
00-uc_timers 

01: Stack
01-join
01-service





02: Devices

02-gpio
02-gpio_net
02-adc
02-temperature
02-battery
02-spi
02-spi_net
02-i2c
02-onewire
02-uart
02-random
03: Services03-time
03-security
03-cli_module
03-cli_accesslevel