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.
src/HeliumUtil.h
- Committer:
- Marc Nijdam
- Date:
- 2017-09-05
- Revision:
- 23:cc2c1d1ed159
File content as of revision 23:cc2c1d1ed159:
/* * Copyright 2017, Helium Systems, Inc. * All Rights Reserved. See LICENCE.txt for license information */ #ifndef HELIUMUTIL_H #define HELIUMUTIL_H #include "Helium.h" #if DEBUG #define DBG_PRINTF(...) printf(__VA_ARGS__) #else #define DBG_PRINTF(...) #endif int report_status(int status, int result = 0); void helium_connect(Helium * helium); void channel_create(Channel * channel, const char * channel_name); void channel_send(Channel * channel, const char * channel_name, void const * data, size_t len); #endif /* HELIUMUTIL_H */