The ip and mac spark variables, below, works fine until I start UDP. The UDP works so no problem there. I can probably make a work around to start the UDP after I query the ip and mac addresses but thought I might point it out just in case someone has ran into it.
//Code without UDP works perfect.
IPAddress myIp = WiFi.localIP();
sprintf(myIpString, “%d.%d.%d.%d”, myIp, myIp, myIp, myIp);
sprintf(myMacString, “%02x:%02x:%02x:%02x:%02x:%02x”, mac,mac, mac,mac, mac, mac);
Spark.variable(“ipAddress”, myIpString, STRING);
Spark.variable(“MacAddress”, myMacString, STRING);
//Until I add UDP.