EVerest / everest-core

Apache License 2.0
92 stars 68 forks source link

feat: use hex digits for SSID #784

Closed james-ctc closed 1 month ago

james-ctc commented 1 month ago

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