Skip to content

Files

Latest commit

 

History

History
 
 

barrels

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Barrels

Monkey Barrels are a way for developers to create custom Monkey C libraries containing source code and resource information that can be easily shared across Connect IQ Projects. To find out more about Monkey Barrels, please see the Shareable Libraries chapter in the Programmer's Guide.

Including Monkey Barrels

To include a Monkey Barrel in your project you need to declare a dependency on that Barrel within your Manifest file and then link to the Barrel within your project's Jungle file. See the Programmer's Guide for a detailed description of how to include Monkey Barrels in your project.

Barrel Index

The LogMonkey barrel provides some basic logging utilities to aid in developing Connect IQ apps. Including LogMonkey within an app and building the app in release mode will automatically minimize the compiled output to save run time memory.

The Semicircles barrel provides an abstract coordinate type that speeds up position computation, does not use Position module, and does not require the Position permission. This class also includes a fast method to calculate the distance between two points.

This Bluetooth Mesh barrel provides an abstract library for connecting your Connect IQ app to a Bluetooth Mesh network. See the blog post for details.

This barrel demonstrates how to use the Connect IQ Generic ANT Channel module to connect to an ANT+ Heart Rate monitor. This project can be adapted to work with any ANT or ANT+ device. See the Generic ANT+ Heart Rate Data Field for an example project that uses this barrel.