InverseRE / antiflood

domestic automation
GNU General Public License v3.0
2 stars 0 forks source link

OOP #10

Closed InverseRE closed 5 years ago

InverseRE commented 5 years ago

Move code to an OOP style.

InverseRE commented 5 years ago

TODO:

  1. stable the firmware
  2. debug printing
  3. power save modes
  4. hw configures
  5. internal TODOs
  6. Up changes from master
  7. merge into master
InverseRE commented 5 years ago

FIXME:

    case WEB_NOT_FOUND:
         page.response_not_found();
    case WEB_UNKNOWN:
    default:
InverseRE commented 5 years ago
    if (!client.connected()) {
        ticker.delay_shield_trx();
    }
    client.stop();

Fix to

    if (client.connected()) { // direct condition!!!
        ticker.delay_shield_trx();
    }
    client.stop();
    client.disconnect(); // ???