 //access point should only work for b and g
 char ssid[] = "nsynapse";
 char password[] = "elec6887";
-const char* uuid = "61ba1b0e47e34a98abb4b1d1bae10960";
+const char* uuid = "35bf1b1e47e34a98abb4b1d1bae10960";
 WiFiServer server(8000);
 WiFiUDP Udp;
 byte mac[6];
-String mac_string;
+char mac_string[24] = {0,};
 
 
 int push1_state = LOW;

  if(announce) {
    aJson.addStringToObject(announce, "devicename", "TI-CC3200");
    aJson.addStringToObject(announce, "uuid", uuid);
    aJson.addStringToObject(announce, "mac", mac_string.c_str());
    aJson.addStringToObject(announce, "manufacturer", "Texas Instrument");
    aJson.addStringToObject(announce, "author", "cossb");
    aJson.addStringToObject(announce, "component", "cc3200button");

  }
  
  WiFi.macAddress(mac);
  sprintf(mac_string,"%02x:%02x:%02x:%02x:%02x:%02x",mac[0],mac[1],mac[2],mac[3],mac[4],mac[5]);
  
  printWifiStatus();

