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.
Dependencies: EthernetInterface mbed-rtos mbed
Dependents: AxedaGo-mbed_WIZnetInterface
Revision 6:1f7647c5691a, committed 2014-06-26
- Comitter:
- AxedaCorp
- Date:
- Thu Jun 26 16:58:53 2014 +0000
- Parent:
- 5:1b8ad120cf29
- Commit message:
- url change
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1b8ad120cf29 -r 1f7647c5691a main.cpp
--- a/main.cpp Wed Jun 25 18:49:43 2014 +0000
+++ b/main.cpp Thu Jun 26 16:58:53 2014 +0000
@@ -76,7 +76,7 @@
oldPotVal2 = oil_level2;
printf("Sending Value for well1 %.2f\n\r", oil_level);
printf("Sending Value for well2 %.2f\n\r", oil_level2);
- sock.connect("toolbox-stage-connect.axeda.com", 80);
+ sock.connect("toolbox-connect.axeda.com", 80);
snprintf(http_cmd, http_cmd_sz, "POST /ammp/data/1/%s!%s HTTP/1.1\r\nContent-Type: application/json\r\nContent-Length: 65\r\n\r\n{\"data\":[{\"di\":{\"oil_level\":%.2f, \"oil_level2\":%.2f}}]}\r\n\r\n", MODEL, SERIAL_NUM, oil_level, oil_level2);
sock.send_all(http_cmd, http_cmd_sz-1);
Axeda GO Kit for ARM mbed