![](/media/cache/group/u-blox_logo_trans.png.50x50_q85.png)
portable version of the cumulocity demo
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: AccelerationMeasurement.cpp
- Revision:
- 47:89ae46d5c466
- Parent:
- 41:804f6a0bda26
--- a/AccelerationMeasurement.cpp Thu Jul 24 16:02:47 2014 +0000 +++ b/AccelerationMeasurement.cpp Thu Jul 24 23:32:53 2014 +0000 @@ -19,7 +19,7 @@ return false; // Insert measurement - // USAGE: 105,<DEVICE/ID>,<X>,<Y>,<Z> + // USAGE: 106,<DEVICE/ID>,<X>,<Y>,<Z> if (!_tpl.add("10,106,POST,/measurement/measurements,application/vnd.com.nsn.cumulocity.measurement+json,application/vnd.com.nsn.cumulocity.measurement+json,%%,NOW UNSIGNED NUMBER NUMBER NUMBER,\"{\"\"time\"\":\"\"%%\"\",\"\"source\"\":{\"\"id\"\":\"\"%%\"\"},\"\"type\"\":\"\"c8y_MotionMeasurement\"\",\"\"c8y_MotionMeasurement\"\":{\"\"x\"\":{\"\"value\"\":%%,\"\"unit\"\":\"\"m^2/s\"\"},\"\"y\"\":{\"\"value\"\":%%,\"\"unit\"\":\"\"m^2/s\"\"},\"\"z\"\":{\"\"value\"\":%%,\"\"unit\"\":\"\"m^2/s\"\"}}}\"\r\n")) return false;