TI's mqtt.

Dependencies:   client server

Committer:
dflet
Date:
Sat Jun 06 13:37:53 2015 +0000
Revision:
1:673880ad39ad
Parent:
0:698866e331b2
TI's mqtt

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dflet 0:698866e331b2 1 /******************************************************************************
dflet 0:698866e331b2 2 *
dflet 0:698866e331b2 3 * Copyright (C) 2014 Texas Instruments Incorporated
dflet 0:698866e331b2 4 *
dflet 0:698866e331b2 5 * All rights reserved. Property of Texas Instruments Incorporated.
dflet 0:698866e331b2 6 * Restricted rights to use, duplicate or disclose this code are
dflet 0:698866e331b2 7 * granted through contract.
dflet 0:698866e331b2 8 *
dflet 0:698866e331b2 9 * The program may not be used without the written permission of
dflet 0:698866e331b2 10 * Texas Instruments Incorporated or against the terms and conditions
dflet 0:698866e331b2 11 * stipulated in the agreement under which this program has been supplied,
dflet 0:698866e331b2 12 * and under no circumstances can it be used with non-TI connectivity device.
dflet 0:698866e331b2 13 *
dflet 0:698866e331b2 14 ******************************************************************************/
dflet 0:698866e331b2 15
dflet 0:698866e331b2 16 /*
dflet 0:698866e331b2 17 platform.h
dflet 0:698866e331b2 18
dflet 0:698866e331b2 19 This file contains the platform specific typedefs
dflet 0:698866e331b2 20 */
dflet 0:698866e331b2 21
dflet 0:698866e331b2 22 #ifndef __PLATFORM_H__
dflet 0:698866e331b2 23 #define __PLATFORM_H__
dflet 0:698866e331b2 24
dflet 0:698866e331b2 25 #include "cc3100_simplelink.h"
dflet 0:698866e331b2 26
dflet 0:698866e331b2 27 #ifdef __cplusplus
dflet 0:698866e331b2 28 extern "C"
dflet 0:698866e331b2 29 {
dflet 0:698866e331b2 30 #endif
dflet 0:698866e331b2 31
dflet 0:698866e331b2 32 namespace mbed_mqtt {
dflet 0:698866e331b2 33
dflet 0:698866e331b2 34 //typedef unsigned char u8; /* Range: 0 to 255; refers network buf */
dflet 0:698866e331b2 35 //typedef signed char i8; /* Range: -127 to 127 and signed maths */
dflet 0:698866e331b2 36 //typedef char c8; /* ASCII string and value of 0 to 127 */
dflet 0:698866e331b2 37
dflet 0:698866e331b2 38 //typedef unsigned short u16;
dflet 0:698866e331b2 39 //typedef signed short i16;
dflet 0:698866e331b2 40 //typedef unsigned long u32;
dflet 0:698866e331b2 41 //typedef signed long i32;
dflet 0:698866e331b2 42
dflet 0:698866e331b2 43 extern void platform_timer_init();
dflet 0:698866e331b2 44 extern uint32_t platform_get_time_in_secs();
dflet 0:698866e331b2 45
dflet 0:698866e331b2 46 }//namespace mbed_mqtt
dflet 0:698866e331b2 47
dflet 0:698866e331b2 48 #ifdef __cplusplus
dflet 0:698866e331b2 49 }
dflet 0:698866e331b2 50 #endif
dflet 0:698866e331b2 51
dflet 0:698866e331b2 52 #endif /* __PLATFORM_H__ */
dflet 0:698866e331b2 53