From 7592deb0d4b8c531204266afebb361ae3772d07e Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 21 May 2019 10:58:27 +0300 Subject: Fixed issue with WiFi auto connect. --- .../PPC/Tango.PPC.Common/Connectivity/IConnectivityProvider.cs | 2 +- Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/IConnectivityProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/IConnectivityProvider.cs index 85c25128a..67b73d4f6 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/IConnectivityProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/IConnectivityProvider.cs @@ -71,7 +71,7 @@ namespace Tango.PPC.Common.Connectivity /// /// The network. /// - Task Connect(WiFiNetwork network); + Task Connect(WiFiNetwork network, String password = null); /// /// Disconnects the specified network. diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs index ed3f7f796..e98a03404 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCSettings.cs @@ -33,10 +33,15 @@ namespace Tango.PPC.Common public int MachineScanningTimeoutSeconds { get; set; } /// - /// Gets or sets the name of the name of a WiFi network to automatically connect to when the application starts. + /// Gets or sets the name of the WiFi network to automatically connect to when the application starts. /// public String AutoConnectWiFiName { get; set; } + /// + /// Gets or sets the password of the WiFi network to automatically connect to when the application starts. + /// + public String AutoConnectWiFiPassword { get; set; } + /// /// Gets or sets the embedded COM port if not specified will use auto scanning. /// -- cgit v1.3.1 From 8bbf01656894d9b1c3ac27138f49608a862473c2 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 21 May 2019 11:08:21 +0300 Subject: Wifi Connection design changes. --- Software/DB/PPC/Tango.mdf | Bin 75497472 -> 75497472 bytes Software/DB/PPC/Tango_log.ldf | Bin 53673984 -> 53673984 bytes .../AvailableWiFiConnectionsControl.xaml | 4 ++-- .../Connectivity/WiFiAuthenticationView.xaml | 8 ++++---- .../PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common') diff --git a/Software/DB/PPC/Tango.mdf b/Software/DB/PPC/Tango.mdf index 146b82571..dd6bb02b9 100644 Binary files a/Software/DB/PPC/Tango.mdf and b/Software/DB/PPC/Tango.mdf differ diff --git a/Software/DB/PPC/Tango_log.ldf b/Software/DB/PPC/Tango_log.ldf index 34e912e88..4183eba07 100644 Binary files a/Software/DB/PPC/Tango_log.ldf and b/Software/DB/PPC/Tango_log.ldf differ diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/AvailableWiFiConnectionsControl.xaml b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/AvailableWiFiConnectionsControl.xaml index dac37ba10..a8675f843 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/AvailableWiFiConnectionsControl.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connectivity/AvailableWiFiConnectionsControl.xaml @@ -64,8 +64,8 @@ Connect automatically - Connect - Disconnect + Connect + Disconnect diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Connectivity/WiFiAuthenticationView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Connectivity/WiFiAuthenticationView.xaml index 311c3ce99..d3f6f9e49 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Connectivity/WiFiAuthenticationView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Connectivity/WiFiAuthenticationView.xaml @@ -36,10 +36,10 @@ - - CANCEL - CONNECT - + + CANCEL + CONNECT + diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs index dc9e111f3..5e3394ad6 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs @@ -8,4 +8,4 @@ using System.Windows; // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tango PPC Application")] -[assembly: AssemblyVersion("1.0.29.0")] +[assembly: AssemblyVersion("1.0.30.0")] -- cgit v1.3.1