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

Function wsLog

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

Source from the content-addressed store, hash-verified

40uint32_t lastssidscan = 0;
41
42void wsLog(const String &text) {
43 JsonDocument doc;
44 doc["logMsg"] = text;
45 if (wsMutex) xSemaphoreTake(wsMutex, portMAX_DELAY);
46 ws.textAll(doc.as<String>());
47 if (wsMutex) xSemaphoreGive(wsMutex);
48}
49
50void wsErr(const String &text) {
51 JsonDocument doc;

Callers 15

BLE_reportProgressFunction · 0.85
drawNewFunction · 0.85
drawWeatherFunction · 0.85
drawForecastFunction · 0.85
getRssFeedFunction · 0.85
getCalFeedFunction · 0.85
getDayAheadFeedFunction · 0.85
drawBuienradarFunction · 0.85
getLocationFunction · 0.85
delayedStartFunction · 0.85
prepareDataAvailFunction · 0.85
prepareExternalDataAvailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected