Skip to content

Commit

Permalink
Disable AP for MDNS requests to work
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Mar 4, 2021
1 parent c4918ee commit e0f2782
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/Basic_Mdns/app/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ void init()
test();

// Setup the WIFI connection
// IMPORTANT: MUST disable AP or multicast won't work
WifiAccessPoint.enable(false);
WifiStation.enable(true);
WifiStation.config(WIFI_SSID, WIFI_PWD); // Put you SSID and Password here

Expand Down

0 comments on commit e0f2782

Please sign in to comment.