An mbed wrapper around the helium-client to communicate with the Helium Atom

Helium for ARM mbed

This code repository exposes an mbed library for the Helium Atom module. The Helium Atom makes it easy to securely connect IoT devices and applications to back-end IoT services.

Getting Started

See a getting started guide on the Helium site.

Supported Boards

The Helium mbed client should work with any mbed board with an available serial port.

Example Setup

Example applications can be found in the mbed Helium team.

Getting Help

If you have any questions or ideas about how to use this code - or any part of Helium - head over to the Helium Community Slack. We're standing by to help.

Contributing

Want to contribute to helium-mbed? That's awesome!

Please see CONTRIBUTING.md in this repository for details.

Committer:
Marc Nijdam
Date:
Tue Sep 05 13:56:03 2017 -0700
Revision:
23:cc2c1d1ed159
Add configuration API support

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Marc Nijdam 23:cc2c1d1ed159 1 /*
Marc Nijdam 23:cc2c1d1ed159 2 * Copyright 2017, Helium Systems, Inc.
Marc Nijdam 23:cc2c1d1ed159 3 * All Rights Reserved. See LICENCE.txt for license information
Marc Nijdam 23:cc2c1d1ed159 4 */
Marc Nijdam 23:cc2c1d1ed159 5
Marc Nijdam 23:cc2c1d1ed159 6 #ifndef HELIUMUTIL_H
Marc Nijdam 23:cc2c1d1ed159 7 #define HELIUMUTIL_H
Marc Nijdam 23:cc2c1d1ed159 8
Marc Nijdam 23:cc2c1d1ed159 9 #include "Helium.h"
Marc Nijdam 23:cc2c1d1ed159 10
Marc Nijdam 23:cc2c1d1ed159 11 #if DEBUG
Marc Nijdam 23:cc2c1d1ed159 12 #define DBG_PRINTF(...) printf(__VA_ARGS__)
Marc Nijdam 23:cc2c1d1ed159 13 #else
Marc Nijdam 23:cc2c1d1ed159 14 #define DBG_PRINTF(...)
Marc Nijdam 23:cc2c1d1ed159 15 #endif
Marc Nijdam 23:cc2c1d1ed159 16
Marc Nijdam 23:cc2c1d1ed159 17 int
Marc Nijdam 23:cc2c1d1ed159 18 report_status(int status, int result = 0);
Marc Nijdam 23:cc2c1d1ed159 19
Marc Nijdam 23:cc2c1d1ed159 20 void
Marc Nijdam 23:cc2c1d1ed159 21 helium_connect(Helium * helium);
Marc Nijdam 23:cc2c1d1ed159 22
Marc Nijdam 23:cc2c1d1ed159 23 void
Marc Nijdam 23:cc2c1d1ed159 24 channel_create(Channel * channel, const char * channel_name);
Marc Nijdam 23:cc2c1d1ed159 25
Marc Nijdam 23:cc2c1d1ed159 26 void
Marc Nijdam 23:cc2c1d1ed159 27 channel_send(Channel * channel,
Marc Nijdam 23:cc2c1d1ed159 28 const char * channel_name,
Marc Nijdam 23:cc2c1d1ed159 29 void const * data,
Marc Nijdam 23:cc2c1d1ed159 30 size_t len);
Marc Nijdam 23:cc2c1d1ed159 31
Marc Nijdam 23:cc2c1d1ed159 32
Marc Nijdam 23:cc2c1d1ed159 33 #endif /* HELIUMUTIL_H */