| 362 | return false; |
| 363 | } |
| 364 | bool 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 | } |
| 378 | bool sendHighspeed() { |
| 379 | if (apInfo.state == AP_STATE_NORADIO) return true; |
| 380 | if (!txStart()) return false; |
no test coverage detected