thomasjacquin / allsky-portal

A simple, responsive web interface to control an allsky camera connected to a Raspberry Pi
GNU General Public License v3.0
35 stars 22 forks source link

Support 5 GHz Wi-Fi which the Pi 4 supports #29

Closed EricClaeys closed 3 years ago

EricClaeys commented 3 years ago

Not sure why there are lots of space-versus-tab changes since I didn't change that. Perhaps Geany or the Pi text editor converts tabs to spaces or spaces to tabs? Anyhow, ignoring those changes, configure_client.php checks for SSIDs on multiple channels and/or in multiple bands, and displays the first one. Subsequent ones have a red "*" displayed next to the SSID to indicate the SSID is duplicated, and a note appears at the bottom of the page. Also, the band (2.4 GHz or 5 GHz) is displayed next to the channel.

Please check the logic of the 5 GHz frequency-to-channel conversion in functions.php. I used the same logic as Thomas did for 2.4 GHz.