TCP send example

Dependencies:   FXOS8700CQ mbed

Fork of StarterKit by Rick McConney

Revision:
48:401a797a695f
Parent:
46:733edf15f9e8
diff -r 2f5c4c35aa36 -r 401a797a695f Wnc.cpp
--- a/Wnc.cpp	Mon Jan 09 19:48:35 2017 +0000
+++ b/Wnc.cpp	Thu Feb 02 15:41:15 2017 +0000
@@ -385,7 +385,7 @@
 {
   char *reply;
   reply = send("ATE1",WNC_WAIT_TIME_MS);           // Echo ON
-  char apn [32];
+  char apn [64];
   snprintf(apn,sizeof(apn),"AT%%PDNSET=1,%s,IP",MY_APN_STR);
 
   reply = send(apn, 2*WNC_WAIT_TIME_MS); // Set APN, cmd seems to take a little longer sometimes