Skip to content

Unused password in "WiFiUdpSendReceiveString" example #59

Open
@kajnorman

Description

@kajnorman

should be:

status = WiFi.begin(ssid, pass);

Although the code is valid for an open access point, the presence of this line in the sketch clearly indicates the sketch was intended for use with a WPA encrypted access point:

char pass[] = "secretPassword"; // your network password (use for WPA, or use as key for WEP)

The user will be confused to find the board is unable to connect to the access point even though they set the correct password.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: documentationRelated to documentation for the projecttype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions