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

feat: use hex digits for SSID #784

Merged
merged 3 commits into from
Jul 30, 2024
Merged

Conversation

james-ctc
Copy link
Contributor

@james-ctc james-ctc commented Jul 16, 2024

feat: added SSID string to hex and back functions

Describe your changes

Over the everest-api you can request a list of visible wifi networks and then connect.
SSIDs can contain non-printable characters (as well as ASCII/UTF-8) these are escaped (\xnn) in the SSID list.
The problem was that when attempting to connect the escaped characters were not being accepted.
The solution is to pass the SSID to wpa_supplicant as a string of hex digits.

Issue ticket number and link

Addresses the underlying issue in Issue #760
with a slightly different solution

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@james-ctc james-ctc force-pushed the fix/wi-fi-ssid-support-for-non-ascii branch 2 times, most recently from bf9019b to 451e25e Compare July 22, 2024 09:35
feat: added SSID string to hex and back functions

Signed-off-by: James Chapman <[email protected]>
Signed-off-by: James Chapman <[email protected]>
Signed-off-by: James Chapman <[email protected]>
@james-ctc james-ctc force-pushed the fix/wi-fi-ssid-support-for-non-ascii branch from 451e25e to 00babdf Compare July 30, 2024 12:00
@james-ctc james-ctc merged commit 65ba0a0 into main Jul 30, 2024
8 checks passed
@james-ctc james-ctc deleted the fix/wi-fi-ssid-support-for-non-ascii branch July 30, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants