Added relative API calls

This commit is contained in:
cschwinne
2019-02-22 22:53:33 +01:00
parent f86cdd8cde
commit f0e525d2e2
6 changed files with 118 additions and 161 deletions

View File

@@ -238,6 +238,10 @@ void getJsonInfo()
oappend(serverDescription);
oappend("\",\r\n\"udpport\":");
oappendi(udpPort);
oappend(",\r\n\"modecount\":");
oappendi(strip.getModeCount());
oappend(",\r\n\"palettecount\":");
oappendi(strip.getPaletteCount());
#ifdef ARDUINO_ARCH_ESP32
oappend(",\r\n\"arch\":\"esp32\",\r\n\"core\":\"");
oappend((char*)ESP.getSdkVersion());