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: mbed FXOS8700CQ
Flow_parameters.h@4:f83bedd9cab4, 2016-07-11 (annotated)
- Committer:
- stefanrousseau
- Date:
- Mon Jul 11 06:53:41 2016 +0000
- Revision:
- 4:f83bedd9cab4
- Parent:
- 3:26b3cc155f39
- Child:
- 7:489835c87d95
- Child:
- 8:b08ec94d9e9f
Added a sensors file that will write the FRDM-K64F motion sensor and the values from the SiLabs PMOD into a structure.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| stefanrousseau | 3:26b3cc155f39 | 1 | /****************************************************** |
| stefanrousseau | 3:26b3cc155f39 | 2 | * Constants |
| stefanrousseau | 3:26b3cc155f39 | 3 | ******************************************************/ |
| stefanrousseau | 3:26b3cc155f39 | 4 | |
| stefanrousseau | 3:26b3cc155f39 | 5 | |
| stefanrousseau | 3:26b3cc155f39 | 6 | //sockwrite_mdm("GET /f653d97537235/a31c2684a02c/d35e42196968fd6/in/flow/climate?deviceID=e5ee19804bd500c8fe69a809342384c2&temp=41.0&humidity=87.33 HTTP/1.1 Host: run-east.att.io:80 Accept: */*\r\n\r\n"); |
| stefanrousseau | 3:26b3cc155f39 | 7 | #define FLOW_CALLBACK_URL_START "GET /f653d97537235/a31c2684a02c/d35e42196968fd6/in/flow/climate" |
| stefanrousseau | 3:26b3cc155f39 | 8 | #define FLOW_DEVICE_ID "e5ee19804bd500c8fe69a809342384c2" |
| stefanrousseau | 3:26b3cc155f39 | 9 | #define FLOW_CALLBACK_URL_END "HTTP/1.1 Host: run-east.att.io:80 Accept: */*\r\n\r\n" |
| stefanrousseau | 3:26b3cc155f39 | 10 | |
| stefanrousseau | 3:26b3cc155f39 | 11 | /****************************************************** |
| stefanrousseau | 3:26b3cc155f39 | 12 | * Type Definitions |
| stefanrousseau | 3:26b3cc155f39 | 13 | ******************************************************/ |
| stefanrousseau | 3:26b3cc155f39 | 14 | #define FLOW_FIELD_LEN_LIMIT 32 |
| stefanrousseau | 3:26b3cc155f39 | 15 | // Flow Message Definition // |
| stefanrousseau | 3:26b3cc155f39 | 16 | typedef struct |
| stefanrousseau | 3:26b3cc155f39 | 17 | { |
| stefanrousseau | 3:26b3cc155f39 | 18 | char URL_start[256]; |
| stefanrousseau | 3:26b3cc155f39 | 19 | char URL_end[256]; |
| stefanrousseau | 3:26b3cc155f39 | 20 | char Device_ID[128]; |
| stefanrousseau | 3:26b3cc155f39 | 21 | |
| stefanrousseau | 3:26b3cc155f39 | 22 | float latitude; |
| stefanrousseau | 3:26b3cc155f39 | 23 | float longitude; |
| stefanrousseau | 3:26b3cc155f39 | 24 | long elevation; |
| stefanrousseau | 3:26b3cc155f39 | 25 | } Flow_datapoint_t; |
| stefanrousseau | 3:26b3cc155f39 | 26 | |
| stefanrousseau | 3:26b3cc155f39 | 27 |

