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:
- 2:7ea7ab05f120
- Parent:
- 0:f479e4f4db0e
- Child:
- 10:4ce9eba38dbe
--- a/StreamParseFunctions.h Wed Feb 12 19:43:34 2014 +0000
+++ b/StreamParseFunctions.h Sun Sep 07 05:28:55 2014 +0000
@@ -3,7 +3,7 @@
// Data structures and functions used to parse stream values
-#define STREAM_BUF_LEN 20
+#define STREAM_BUF_LEN 64
typedef struct {
uint8_t state;
@@ -45,7 +45,6 @@
{
stream_parsing_context_state* state =
(stream_parsing_context_state*) context->client_state;
-
if (TEST_IS_AT(state->state)) {
strncpy(state->at_str, (const char*) token->start,
MIN(token->end - token->start, STREAM_BUF_LEN));
