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
- Committer:
- stefanrousseau
- Date:
- 2016-07-11
- Revision:
- 4:f83bedd9cab4
- Parent:
- 3:26b3cc155f39
- Child:
- 7:489835c87d95
- Child:
- 8:b08ec94d9e9f
File content as of revision 4:f83bedd9cab4:
/******************************************************
* Constants
******************************************************/
//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");
#define FLOW_CALLBACK_URL_START "GET /f653d97537235/a31c2684a02c/d35e42196968fd6/in/flow/climate"
#define FLOW_DEVICE_ID "e5ee19804bd500c8fe69a809342384c2"
#define FLOW_CALLBACK_URL_END "HTTP/1.1 Host: run-east.att.io:80 Accept: */*\r\n\r\n"
/******************************************************
* Type Definitions
******************************************************/
#define FLOW_FIELD_LEN_LIMIT 32
// Flow Message Definition //
typedef struct
{
char URL_start[256];
char URL_end[256];
char Device_ID[128];
float latitude;
float longitude;
long elevation;
} Flow_datapoint_t;

