Demo starter application to connect WiGo to NSP and expose on-board sensors

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed nsdl_lib TEMT6200 TSI Wi-Go_eCompass_Lib_V3 WiGo_BattCharger

This is the mbed project for the IoT World Hackathon event, June 17th and 18th in Palo Also.

The setup instructions for participants are at the Setup page of this wiki:

http://mbed.org/teams/MBED_DEMOS/code/IoT_World_Hackathon_WiGo_NSP_Demo/wiki/Setup-Guide-for-the-IoT-World-Hackathon

Committer:
michaeljkoster
Date:
Wed Jul 09 04:35:49 2014 +0000
Revision:
18:11b9d98ecae2
Parent:
0:07581223f90c
Checkpoint

Who changed what in which revision?

UserRevisionLine numberNew contents of line
michaeljkoster 0:07581223f90c 1 /*****************************************************************************
michaeljkoster 0:07581223f90c 2 *
michaeljkoster 0:07581223f90c 3 * strlib.h - String Library functions definitions
michaeljkoster 0:07581223f90c 4 *
michaeljkoster 0:07581223f90c 5 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
michaeljkoster 0:07581223f90c 6 *
michaeljkoster 0:07581223f90c 7 * Redistribution and use in source and binary forms, with or without
michaeljkoster 0:07581223f90c 8 * modification, are permitted provided that the following conditions
michaeljkoster 0:07581223f90c 9 * are met:
michaeljkoster 0:07581223f90c 10 *
michaeljkoster 0:07581223f90c 11 * Redistributions of source code must retain the above copyright
michaeljkoster 0:07581223f90c 12 * notice, this list of conditions and the following disclaimer.
michaeljkoster 0:07581223f90c 13 *
michaeljkoster 0:07581223f90c 14 * Redistributions in binary form must reproduce the above copyright
michaeljkoster 0:07581223f90c 15 * notice, this list of conditions and the following disclaimer in the
michaeljkoster 0:07581223f90c 16 * documentation and/or other materials provided with the
michaeljkoster 0:07581223f90c 17 * distribution.
michaeljkoster 0:07581223f90c 18 *
michaeljkoster 0:07581223f90c 19 * Neither the name of Texas Instruments Incorporated nor the names of
michaeljkoster 0:07581223f90c 20 * its contributors may be used to endorse or promote products derived
michaeljkoster 0:07581223f90c 21 * from this software without specific prior written permission.
michaeljkoster 0:07581223f90c 22 *
michaeljkoster 0:07581223f90c 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
michaeljkoster 0:07581223f90c 24 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
michaeljkoster 0:07581223f90c 25 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
michaeljkoster 0:07581223f90c 26 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
michaeljkoster 0:07581223f90c 27 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michaeljkoster 0:07581223f90c 28 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michaeljkoster 0:07581223f90c 29 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
michaeljkoster 0:07581223f90c 30 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
michaeljkoster 0:07581223f90c 31 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
michaeljkoster 0:07581223f90c 32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
michaeljkoster 0:07581223f90c 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
michaeljkoster 0:07581223f90c 34 *
michaeljkoster 0:07581223f90c 35 *****************************************************************************/
michaeljkoster 0:07581223f90c 36
michaeljkoster 0:07581223f90c 37 #ifndef STRLIB_H
michaeljkoster 0:07581223f90c 38 #define STRLIB_H
michaeljkoster 0:07581223f90c 39
michaeljkoster 0:07581223f90c 40 #ifdef __cplusplus
michaeljkoster 0:07581223f90c 41 extern "C" {
michaeljkoster 0:07581223f90c 42 #endif
michaeljkoster 0:07581223f90c 43
michaeljkoster 0:07581223f90c 44 char *itoa(int n, char *s, int b);
michaeljkoster 0:07581223f90c 45 char *strrev(char *str);
michaeljkoster 0:07581223f90c 46 unsigned char atoc(char data);
michaeljkoster 0:07581223f90c 47 unsigned short atoshort(char b1, char b2);
michaeljkoster 0:07581223f90c 48 unsigned char ascii_to_char(char b1, char b2);
michaeljkoster 0:07581223f90c 49
michaeljkoster 0:07581223f90c 50 #ifdef __cplusplus
michaeljkoster 0:07581223f90c 51 }
michaeljkoster 0:07581223f90c 52 #endif // __cplusplus
michaeljkoster 0:07581223f90c 53
michaeljkoster 0:07581223f90c 54 #endif // STRLIB_H
michaeljkoster 0:07581223f90c 55