 SoftwareSerial GPRS(rxPin, txPin); // RX, TX
 //DFRobot_SIM808 sim808(&GPRS);
 SimpleTimer timer;
+
+enum Protocol {
+    CLOSED = 0,
+    TCP    = 1,
+    UDP    = 2,
+};
 
 
 char* key;

  //delay(3000);

}//end procedure

/*************************************************************************************
 * SendDataCIPSEND()

#define DEBUG 1
#define PROTOCOL 2 //1 = TCP and 2 = UDP

#ifdef PROTOCOL
  static int const prot = PROTOCOL;
#else
  static int const prot = 1;          // default value TCP
#endif

//#include <DFRobot_sim808.h>
#include <sim808.h>
#include <SoftwareSerial.h>
