Problems when creating a hotspot with a password of less than 8 bits

Issue #448 resolved
Sean shao created an issue

When creating a hotspot with wifi blocks, you must ensure that the password is 8 or more digits.

Currently, if the password is less than 8 digits, the program will not report an error. But the actual hotspot name will be ESP_XXXXX and no password. When you try to connect to the hotspot , you won't be able to connect.

A hint should be given here, or a restriction that the hotspot password must be 8 digits or more.

Console info:

Serial error, opcode: 50 

[WiFiAP.cpp:147] softAP(): passphrase too short!

Comments (4)

  1. John Maloney repo owner

    Thanks for reporting this. I will add some code to inform the user if they try to use fewer than eight characters in the passphrase.

  2. John Maloney repo owner

    Fixed in the latest pilot. It will display a message and refuse to create the hotspot if the password is not at least 8 characters.

  3. Log in to comment