diff --git a/docs/ChangingTheWebServerPort.md b/docs/ChangingTheWebServerPort.md index 53970e3..36135bb 100644 --- a/docs/ChangingTheWebServerPort.md +++ b/docs/ChangingTheWebServerPort.md @@ -10,7 +10,7 @@ You can optionally restrict the addresses on which PiPedal will respond by provi To configure PiPedal to only accept connections on the Wi-Fi host access point: - sudo pipedalconfig --install --port 172.22.1.1:80 + sudo pipedalconfig --install --port 172.23.0.2:80 -------- [<< Command-Line Configuration of PiPedal](CommandLine.md) | [Up](Documentation.md) | [Using LV2 Audio Plugins >>](UsingLv2Plugins.md) \ No newline at end of file diff --git a/react/src/PiPedalModel.tsx b/react/src/PiPedalModel.tsx index 8e7c6f3..a45c7d0 100644 --- a/react/src/PiPedalModel.tsx +++ b/react/src/PiPedalModel.tsx @@ -1205,6 +1205,7 @@ class PiPedalModelImpl implements PiPedalModel { let newPedalBoard = pedalBoard.clone(); let item = newPedalBoard.getItem(instanceId); + let changed = value !== item.isEnabled; if (changed) { item.isEnabled = value; diff --git a/react/src/SettingsDialog.tsx b/react/src/SettingsDialog.tsx index d57a34e..a0e36a2 100644 --- a/react/src/SettingsDialog.tsx +++ b/react/src/SettingsDialog.tsx @@ -611,7 +611,7 @@ const SettingsDialog = withStyles(styles, { withTheme: true })(
- Connect to a difference device + Connect to a different device diff --git a/react/src/WifiConfigDialog.tsx b/react/src/WifiConfigDialog.tsx index db70664..685bf91 100644 --- a/react/src/WifiConfigDialog.tsx +++ b/react/src/WifiConfigDialog.tsx @@ -349,7 +349,7 @@ const WifiConfigDialog = withStyles(styles, { withTheme: true })( Enabling the Wi-Fi hotspot will disable regular Wi-Fi network access on the PiPedal device. Once - enabled, connect to the hotspot and launch http://172.24.1.1 or http://{this.state.name}.local to access the PiPedal web app again. + enabled, connect to the hotspot and launch http://172.23.0.2 or http://{this.state.name}.local to access the PiPedal web app again. Are you sure you want to proceed? diff --git a/src/BeastServer.cpp b/src/BeastServer.cpp index 7b66723..34f3a4d 100644 --- a/src/BeastServer.cpp +++ b/src/BeastServer.cpp @@ -221,6 +221,7 @@ namespace pipedal public: ~WebSocketSession() { + Lv2Log::info("WebSocketSession closed."); } using ptr = std::shared_ptr; WebSocketSession(BeastServerImpl *pServer, server::connection_ptr &webSocket) @@ -230,6 +231,8 @@ namespace pipedal uri requestUri(webSocket->get_uri()->str().c_str()); fromAddress = SS(webSocket->get_socket().remote_endpoint()); + Lv2Log::info(SS("WebSocketSession opened. (" << fromAddress << ")")); + auto pFactory = pServer->GetSocketFactory(requestUri); if (!pFactory) @@ -568,6 +571,7 @@ namespace pipedal void on_fail(connection_hdl hdl) { + m_connections.erase(hdl); } void on_close(connection_hdl hdl) { diff --git a/src/SetWifiConfig.cpp b/src/SetWifiConfig.cpp index 1412e72..52de880 100644 --- a/src/SetWifiConfig.cpp +++ b/src/SetWifiConfig.cpp @@ -436,7 +436,7 @@ void pipedal::SetWifiDirectConfig(const WifiDirectConfigSettings &settings) // dhcpcd.conf: // ====== // interface p2p-wlan0-0 - // static ip_address=172.24.0.1/16 + // static ip_address=172.24.0.1/24 // domain_name_server=172.24.0.1 diff --git a/src/templates/pipedal_p2pd.service.template b/src/templates/pipedal_p2pd.service.template index dda1f5f..9de872c 100644 --- a/src/templates/pipedal_p2pd.service.template +++ b/src/templates/pipedal_p2pd.service.template @@ -9,8 +9,6 @@ ExecStart=${COMMAND} --systemd --log-level debug Type=notify WorkingDirectory=/var/pipedal TimeoutStopSec=5 -Restart=always -RestartSec=5 [Install] WantedBy=multi-user.target diff --git a/submodules/pipedal_p2pd b/submodules/pipedal_p2pd index fdaac29..a056ff0 160000 --- a/submodules/pipedal_p2pd +++ b/submodules/pipedal_p2pd @@ -1 +1 @@ -Subproject commit fdaac29a125de7affc6cf5e15fd10fda14e7e7be +Subproject commit a056ff061f123bdff22c4d3eaceb006db4aa39de