Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WNCInterface_M2Xdemo ATT_WNCInterface_Info WNCInterface_HTTP_example Public_IoT_M2X_Cellular_Demo
Fork of M2XStreamClient by
Diff: StreamParseFunctions.h
- Revision:
- 13:0d574742208f
- Parent:
- 10:4ce9eba38dbe
diff -r debf4b2f7960 -r 0d574742208f StreamParseFunctions.h
--- a/StreamParseFunctions.h Fri Sep 26 09:35:10 2014 +0000
+++ b/StreamParseFunctions.h Tue Dec 09 14:36:16 2014 +0000
@@ -32,7 +32,7 @@
{
stream_parsing_context_state* state =
(stream_parsing_context_state*) context->client_state;
- if (strncmp((const char*) token->start, "at", 2) == 0) {
+ if (strncmp((const char*) token->start, "timestamp", 2) == 0) {
state->state |= WAITING_AT;
} else if ((strncmp((const char*) token->start, "value", 5) == 0) &&
(token->start[5] != 's')) { // get rid of "values"
