Skip to content

Commit

Permalink
feat[wifi]: Connect to AP with highes RSSI
Browse files Browse the repository at this point in the history
  • Loading branch information
sidey79 committed Oct 26, 2024
1 parent bb33cb0 commit ddbbbc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wifi-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ void setupWifi()
Config.autoReconnect = true;
Config.reconnectInterval = 2;
Config.retainPortal = true; // Keep the captive portal open.
Config.principle = AC_PRINCIPLE_RSSI;

Portal.config(Config);

Expand Down

0 comments on commit ddbbbc8

Please sign in to comment.