Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFi SSID truncated so it is impossible to connect during auto update #1337

Closed
aleroot opened this issue Feb 13, 2021 · 3 comments
Closed

WiFi SSID truncated so it is impossible to connect during auto update #1337

aleroot opened this issue Feb 13, 2021 · 3 comments
Labels
stale Stale

Comments

@aleroot
Copy link

aleroot commented Feb 13, 2021

Hi,
I have a WiFi network from the provider router with name: 533C Hyperoptic 1Gb Fibre 2.4Ghz, when it is saved by HAA setup tool the last character is truncated and so it is impossible to connect to the WiFi ...

Log :

no 533C Hyperoptic 1Gb Fibre 2.4Gh found, reconnect after 1s
reconnect
scandone

Mximum WiFi SSID length should be 32, I have a name long 32, but last character gets truncated.
The problem is already in the listed wifi that is already listed with last char truncated.
Even inserting the SSID manually doesn't work, it gets truncated at the saving operation.

@aleroot aleroot changed the title WiFi SSID truncate and impossible to connect during auto update WiFi SSID truncated so it is impossible to connect during auto update Feb 13, 2021
@aleroot
Copy link
Author

aleroot commented Feb 13, 2021

Looks like the issue is in the sdk_bss_info definition in: https://github.com/SuperHouse/esp-open-rtos/blob/503e66a500419e8863998b7ea784c5e26a7a5f7c/include/espressif/esp_sta.h it is defined as 32 char array while it should be 33 since it is null terminated.

@RavenSystem
Copy link
Owner

Forget PR. I will fix it by myself:

Jan 01 00:00:03 connected with 533C Hyperoptic 1Gb Fibre 2.4Ghz, channel 9
Jan 01 00:00:03 dhcp client start...

@stale
Copy link

stale bot commented Mar 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale label Mar 11, 2021
@stale stale bot closed this as completed Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale
Projects
None yet
Development

No branches or pull requests

2 participants