Rick McConney
/
stripReader
Proximity strip reader
Fork of StarterKit by
Diff: config_me.h
- Revision:
- 35:2e864bae3af0
- Parent:
- 31:d7c386d2e95a
- Child:
- 38:532a0d929756
diff -r 029e07b67a41 -r 2e864bae3af0 config_me.h --- a/config_me.h Sat Jul 23 01:10:53 2016 +0000 +++ b/config_me.h Mon Sep 19 16:16:17 2016 +0000 @@ -6,11 +6,11 @@ // This is the server's base URL name. Example "www.google.com" // Note that when you Fork a FLOW, it will typically assign either // "run-east.att.io" or "run-west.att.io", so be sure to check this. -static const char * MY_SERVER_URL = "run-west.att.io"; +static const char * MY_SERVER_URL = "run-east.att.io"; // These are FLOW fields from the Endpoints tab: -#define FLOW_BASE_URL "/1e464b19cdcde/774c88d68202/86694923d5bf28a/in/flow" -#define FLOW_INPUT_NAME "/climate" +#define FLOW_BASE_URL "/a80556051c438/f4cd2ed65f73/7ecb40fcd115f7a/in/flow" +#define FLOW_INPUT_NAME "/shelf" // Unless you want to use a different protocol, this field should be left as is: #define FLOW_URL_TYPE " HTTP/1.1\r\nHost: " @@ -32,7 +32,8 @@ #define TEMP_HUMIDITY_ONLY 1 #define TEMP_HUMIDITY_ACCELEROMETER 2 #define TEMP_HUMIDITY_ACCELEROMETER_PMODSENSORS 3 -static int iSensorsToReport = TEMP_HUMIDITY_ONLY; //modify this to change your selection +#define PROXIMITY 4 +static int iSensorsToReport = PROXIMITY; //TEMP_HUMIDITY_ONLY; //modify this to change your selection // This is the APN name for the cellular network, you will need to change this, check the instructions included with your SIM card kit: static const char * MY_APN_STR = "m2m.com.attz";