Rick McConney
/
stripReader
Proximity strip reader
Fork of StarterKit by
Diff: config_me.h
- Revision:
- 12:7c94ec5069dc
- Parent:
- 11:e6602513730f
- Child:
- 13:df9c49662797
diff -r e6602513730f -r 7c94ec5069dc config_me.h --- a/config_me.h Tue Jul 12 03:11:05 2016 +0000 +++ b/config_me.h Tue Jul 12 21:56:51 2016 +0000 @@ -2,10 +2,19 @@ #define __CONFIG_ME_H_ // User must set these for own context: -static const char * MY_FLOW_DEVICE_ID_STR = "48482f"; -//static const char * MY_SERVER_URL = "run-east.att.io"; -static const char * MY_SERVER_URL = "run-west.att.io"; -static const char * MY_APN_STR = "m2m.com.attz"; -static const char * MY_PORT_STR = "80"; +//static const char * MY_SERVER_URL = "run-east.att.io"; +static const char * MY_SERVER_URL = "run-west.att.io"; +#define FLOW_BASE_URL "/1e464b19cdcde/774c88d68202/86694923d5bf28a/in/flow" +#define FLOW_INPUT_NAME "/climate" +#define FLOW_DEVICE_NAME "vstarterkit001" +#define FLOW_URL_TYPE " HTTP/1.1\r\nHost: " + +#define TEMP_HUMIDITY_ONLY 1 +#define TEMP_HUMIDITY_ACCELEROMETER 2 +#define TEMP_HUMIDITY_ACCELEROMETER_PMODSENSORS 3 +static int iSensorsToReport = TEMP_HUMIDITY_ACCELEROMETER_PMODSENSORS; + +static const char * MY_APN_STR = "m2m.com.attz"; +static const char * MY_PORT_STR = "80"; //This is for normal HTTP. If you want to use TCP to a specific port, change that here #endif