ARM mbed M2X API Client: The ARM mbed client library is used to send/receive data to/from AT&T's M2X service from mbed LPC1768 microcontrollers.
Dependents: m2x-demo-all M2X_MTS_ACCEL_DEMO M2X_MTS_Accel M2X_K64F_ACCEL ... more
Revision 11:a11af0c81cfa, committed 2014-09-15
- Comitter:
- citrusbyte
- Date:
- Mon Sep 15 14:01:40 2014 +0000
- Parent:
- 10:4ce9eba38dbe
- Child:
- 12:debf4b2f7960
- Commit message:
- Use new value update API
Changed in this revision
M2XStreamClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/M2XStreamClient.cpp Wed Sep 10 13:07:34 2014 +0000 +++ b/M2XStreamClient.cpp Mon Sep 15 14:01:40 2014 +0000 @@ -160,7 +160,7 @@ print_encoded_string(_client, feedId); _client->print("/streams/"); print_encoded_string(_client, streamName); - _client->println(" HTTP/1.0"); + _client->println("/value HTTP/1.0"); writeHttpHeader(contentLength); }