 void readData() {
 
   while (conn.available()) {
-    Serial.println(F("Received message"));
+    Serial.println(F("!!!RECEIVED MESSAGE!!!!"));
     Serial.flush();
 
     if(pseudopod.readMessage() == TentacleMessageTopic_action) {

    delay(500);
  }

  size_t authSize = pseudopod.authenticate(uuid, token);
  Serial.print(authSize);
  Serial.println(F(" bytes written for authentication"));
}

void debugPhoton() {
  Serial.println(F("Waiting for slow humans."));
  delay(2000);

  Serial.println(F("\n\nDebugging PHOTON"));

  Serial.print(F("\nWiFi Ready:\t"));

// This #include statement was automatically added by the Spark IDE.
#include "tentacle-particle.h"

#define server "tentacle.octoblu.com"
#define port 80


IPAddress localServer(192, 168, 0, 104);
#define localPort 8111

static const char uuid[]  = "ff12c403-04c7-4e63-9073-2e3b1f8e4450";
static const char token[] = "28d2c24dfa0a5289799a345e683d570880a3bc41";

TCPClient conn;

bool hasConnectedToServer = false;
bool hasAuthenticated = false;

TentacleArduino tentacle;
Pseudopod pseudopod(conn, conn, tentacle);
