Skip to content

Commit

Permalink
Added the ability to configure the device SSID
Browse files Browse the repository at this point in the history
  • Loading branch information
shillinc-osu committed May 27, 2024
1 parent 088f2dd commit bc0de6f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ build/
act.exe
docs/manual/mdpdf.log
docs/manual/wkhtmltopdf.exe
main/.DS_Store
2 changes: 1 addition & 1 deletion WebApp/size-plugin.json

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions WebApp/src/routes/wifi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,6 @@ const Wifi = () => {
onTextCommit={handleLocalPasswordChange}
/>
</div>
<div className={style.centeredContainer}>
<div className={style.fqdn}>
Once it joins a WiFi, AudioLux can be found in the network with this name: {fqdn}
</div>
</div>
</div>
<div className={style.settingsControl}>
<div className={style.centeredContainer}>
Expand Down
Binary file removed main/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions main/webServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@ inline void setup_networking(const char * password)
// AP mode is always active.
WiFi.mode(WIFI_MODE_APSTA);
if(password[0] == '\0'){
WiFi.softAP("AUDIOLUX UNSECURED");
WiFi.softAP("AudioluxUnsecured");
ALWAYS_PRINTF("WIFI IS UNSECURED!!!\n");
}else{
WiFi.softAP(ap_ssid, password);
WiFi.softAP(hostname, password);
}

delay(1000);
Expand Down

0 comments on commit bc0de6f

Please sign in to comment.