Sample Applications

Sample Applications

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

 platform and associated libraries.

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

 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:

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 

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

 

Category

Sample Application Name

Related Sections

00: Hello World

00-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: Services

03-time

03-security

03-cli_module

03-cli_accesslevel