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

Function sendGetInfo

ESP32_AP-Flasher/src/serialap.cpp:364–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362 return false;
363}
364bool sendGetInfo() {
365 if (apInfo.state == AP_STATE_NORADIO) return true;
366 if (!txStart()) return false;
367 for (uint8_t attempt = 0; attempt < 5; attempt++) {
368 cmdReplyValue = CMD_REPLY_WAIT;
369 AP_SERIAL_PORT.print("NFO?");
370 if (waitCmdReply()) {
371 txEnd();
372 return true;
373 }
374 }
375 txEnd();
376 return false;
377}
378bool sendHighspeed() {
379 if (apInfo.state == AP_STATE_NORADIO) return true;
380 if (!txStart()) return false;

Callers 1

bringAPOnlineFunction · 0.85

Calls 4

txStartFunction · 0.85
waitCmdReplyFunction · 0.85
txEndFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected