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

Function sendDataToClient

ESP32_AP-Flasher/src/webflasher.cpp:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void sendDataToClient(const uint8_t* data, size_t len) {
190 if (connectedClient != NULL) {
191 connectedClient->write(reinterpret_cast<const char*>(data), len);
192 } else {
193 Serial.println("No client connected");
194 }
195}
196
197void webFlasherTask(void* parameter) {
198 TCPserver.begin();

Callers 1

sendFlasherAnswerFunction · 0.85

Calls 2

printlnMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected