M2XStreamClient fork with a workaround in M2XStreamClient.cpp for the MTS_Wifi_Connect_M2X example.

Dependents:   STM32_MTS_Wifi_Connect_M2X M2X_STM32_MTS_Temp MTS_WiFi_Connect_M2X_Example

Fork of M2XStreamClient by AT&T M2X Team

Committer:
joe_tijerina
Date:
Tue Aug 26 15:20:40 2014 +0000
Revision:
2:6fbc104d1321
Parent:
0:f479e4f4db0e
Fixed compiler warning (added ifndef MIN to avoid defining duplicate MIN define)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jb8414 0:f479e4f4db0e 1 #ifndef Print_h
jb8414 0:f479e4f4db0e 2 #define Print_h
jb8414 0:f479e4f4db0e 3
jb8414 0:f479e4f4db0e 4 #include <stddef.h>
jb8414 0:f479e4f4db0e 5 #include <stdint.h>
jb8414 0:f479e4f4db0e 6
jb8414 0:f479e4f4db0e 7 class Print {
jb8414 0:f479e4f4db0e 8 public:
jb8414 0:f479e4f4db0e 9 size_t print(const char* s);
jb8414 0:f479e4f4db0e 10 size_t print(char c);
jb8414 0:f479e4f4db0e 11 size_t print(int n);
jb8414 0:f479e4f4db0e 12 size_t print(long n);
jb8414 0:f479e4f4db0e 13 size_t print(double n, int digits = 2);
jb8414 0:f479e4f4db0e 14
jb8414 0:f479e4f4db0e 15 size_t println(const char* s);
jb8414 0:f479e4f4db0e 16 size_t println(char c);
jb8414 0:f479e4f4db0e 17 size_t println(int n);
jb8414 0:f479e4f4db0e 18 size_t println(long n);
jb8414 0:f479e4f4db0e 19 size_t println(double n, int digits = 2);
jb8414 0:f479e4f4db0e 20 size_t println();
jb8414 0:f479e4f4db0e 21
jb8414 0:f479e4f4db0e 22 virtual size_t write(uint8_t c) = 0;
jb8414 0:f479e4f4db0e 23 virtual size_t write(const uint8_t* buf, size_t size);
jb8414 0:f479e4f4db0e 24 };
jb8414 0:f479e4f4db0e 25
jb8414 0:f479e4f4db0e 26 #endif