Rick McConney
/
stripReader
Proximity strip reader
Fork of StarterKit by
Diff: config_me.h
- Revision:
- 41:85a736a9b900
- Parent:
- 38:532a0d929756
- Child:
- 42:8500f0cb2ea5
diff -r 45e4636d20cc -r 85a736a9b900 config_me.h --- a/config_me.h Thu Sep 29 14:19:53 2016 +0000 +++ b/config_me.h Tue Oct 04 20:29:31 2016 +0000 @@ -6,12 +6,13 @@ // 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-east.att.io"; - +//static const char * MY_SERVER_URL = "run-east.att.io"; +static const char * MY_SERVER_URL = "108.244.165.22"; // These are FLOW fields from the Endpoints tab: -#define FLOW_BASE_URL "/a80556051c438/f4cd2ed65f73/7ecb40fcd115f7a/in/flow" +//#define FLOW_BASE_URL "/a80556051c438/f4cd2ed65f73/7ecb40fcd115f7a/in/flow" +//#define FLOW_INPUT_NAME "/shelf" +#define FLOW_BASE_URL "" #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: " @@ -33,12 +34,13 @@ #define TEMP_HUMIDITY_ACCELEROMETER 2 #define TEMP_HUMIDITY_ACCELEROMETER_PMODSENSORS 3 #define PROXIMITY_ONLY 4 +#define SWITCH_ONLY 5 static int iSensorsToReport = PROXIMITY_ONLY; //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"; //This is for normal HTTP. If you want to use TCP to a specific port, change that here: -static const char * MY_PORT_STR = "80"; +static const char * MY_PORT_STR = "5005"; #endif