Rick McConney
/
TCPSend
TCP send example
Fork of StarterKit by
Diff: config_me.h
- Revision:
- 46:733edf15f9e8
- Parent:
- 45:fe90f1fcb4e0
- Child:
- 47:2f5c4c35aa36
--- a/config_me.h Wed Nov 30 14:50:16 2016 +0000 +++ b/config_me.h Mon Jan 09 18:23:37 2017 +0000 @@ -6,7 +6,7 @@ // 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 = "runm-west.att.io"; // These are FLOW fields from the Endpoints tab: #define FLOW_BASE_URL "/a80556051c438/f4cd2ed65f73/7ecb40fcd115f7a/in/flow" @@ -38,10 +38,10 @@ 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: -//#define MY_APN_STR "m2m.com.attz" -#define MY_APN_STR "attiotdemo" +#define MY_APN_STR "m2m.com.attz" +//#define MY_APN_STR "attiotdemo" //#define MY_APN_STR "nxtgenphone" //This is for normal HTTP. If you want to use TCP to a specific port, change that here: -static int MY_PORT = 80; +static int MY_PORT = 33971; #endif