MCPcopy Create free account
hub / github.com/OpenEPaperLink/OpenEPaperLink / wsErr

Function wsErr

ESP32_AP-Flasher/src/web.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void wsErr(const String &text) {
51 JsonDocument doc;
52 doc["errMsg"] = text;
53 if (wsMutex) xSemaphoreTake(wsMutex, portMAX_DELAY);
54 ws.textAll(doc.as<String>());
55 if (wsMutex) xSemaphoreGive(wsMutex);
56}
57
58// Live upload progress of data being sent to a display.
59// Protocol: {"upload":{"src":"<16 hex MAC>","current":N,"total":M}}

Callers 15

jpg2bufferFunction · 0.85
wsSendSysteminfoFunction · 0.85
init_webFunction · 0.85
processPacketMethod · 0.85
drawNewFunction · 0.85
initSpriteFunction · 0.85
getImgURLFunction · 0.85
getCalFeedFunction · 0.85
getDayAheadFeedFunction · 0.85
drawBuienradarFunction · 0.85
getJsonTemplateUrlFunction · 0.85
drawJsonStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected