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 #include "Utility.h"
jb8414 0:f479e4f4db0e 2
jb8414 0:f479e4f4db0e 3 void delay(int ms) {
jb8414 0:f479e4f4db0e 4 wait_ms(ms);
jb8414 0:f479e4f4db0e 5 }
jb8414 0:f479e4f4db0e 6
jb8414 0:f479e4f4db0e 7 char* strdup(const char* s) {
jb8414 0:f479e4f4db0e 8 char* ret = (char*) malloc(strlen(s) + 1);
jb8414 0:f479e4f4db0e 9 if (ret == NULL) { return ret;}
jb8414 0:f479e4f4db0e 10 return strcpy(ret, s);
jb8414 0:f479e4f4db0e 11 }