MakoIoT.Device.Services.WiFi
1.0.70.14151
dotnet add package MakoIoT.Device.Services.WiFi --version 1.0.70.14151
NuGet\Install-Package MakoIoT.Device.Services.WiFi -Version 1.0.70.14151
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MakoIoT.Device.Services.WiFi" Version="1.0.70.14151" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MakoIoT.Device.Services.WiFi --version 1.0.70.14151
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MakoIoT.Device.Services.WiFi, 1.0.70.14151"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MakoIoT.Device.Services.WiFi as a Cake Addin #addin nuget:?package=MakoIoT.Device.Services.WiFi&version=1.0.70.14151 // Install MakoIoT.Device.Services.WiFi as a Cake Tool #tool nuget:?package=MakoIoT.Device.Services.WiFi&version=1.0.70.14151
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mako-IoT.Device.Services.WiFi
Manages WiFi connections and interfaces.
Usage
Connect to WiFi network (STAtion mode)
Add WiFi configuration in DeviceBuilder
public static void Main()
{
DeviceBuilder.Create()
.AddWiFi()
.AddConfiguration(cfg =>
{
cfg.WriteDefault(WiFiConfig.SectionName, new WiFiConfig
{
Ssid = "MyWiFiNetwork",
Password = "MyWiFiPassword"
});
})
.AddFileStorage()
.Build()
.Start();
Thread.Sleep(Timeout.Infinite);
}
Use INetworkProvider to connect to thew network
public class MyAppService : IMyAppService
{
private readonly INetworkProvider _networkProvider;
private readonly ILogger _logger;
public MyAppService(INetworkProvider networkProvider, ILogger logger)
{
_networkProvider = networkProvider;
_logger = logger;
}
public void DoSomeNetworking()
{
if (!_networkProvider.IsConnected)
{
_logger.LogDebug("Network not connected");
_networkProvider.Connect();
if (!_networkProvider.IsConnected)
throw new Exception("Could not connect to network");
}
_logger.LogDebug("Connected to WIFI");
//[...]
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- MakoIoT.Device.Services.Interface (>= 1.0.47.44904)
- nanoFramework.CoreLibrary (>= 1.15.5)
- nanoFramework.DependencyInjection (>= 1.1.3)
- nanoFramework.Runtime.Events (>= 1.11.18)
- nanoFramework.System.Collections (>= 1.5.45)
- nanoFramework.System.Device.Wifi (>= 1.5.91)
- nanoFramework.System.IO.Streams (>= 1.1.59)
- nanoFramework.System.Net (>= 1.11.1)
- nanoFramework.System.Text (>= 1.2.54)
- nanoFramework.System.Threading (>= 1.1.32)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MakoIoT.Device.Services.WiFi:
Package | Downloads |
---|---|
MakoIoT.Device.Platform.LocalConfig
MAKO-IoT Platform local configuration library. On-device web server, WiFi AP |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.70.14151 | 56 | 11/19/2024 |
1.0.69.49339 | 240 | 10/18/2024 |
1.0.68.49698 | 87 | 10/16/2024 |
1.0.67.13914 | 164 | 9/26/2024 |
1.0.66.65363 | 103 | 9/20/2024 |
1.0.65.7814 | 141 | 9/12/2024 |
1.0.64.26884 | 151 | 8/27/2024 |
1.0.63.57653 | 159 | 8/10/2024 |
1.0.62.46574 | 102 | 8/5/2024 |
1.0.61.39615 | 93 | 7/29/2024 |
1.0.60.19597 | 217 | 6/12/2024 |
1.0.59.6363 | 565 | 5/17/2024 |
1.0.58.60201 | 226 | 5/13/2024 |
1.0.57.57505 | 407 | 4/9/2024 |
1.0.56.50928 | 112 | 4/8/2024 |
1.0.55.21361 | 214 | 4/3/2024 |
1.0.54.58193 | 302 | 3/22/2024 |
1.0.53.16802 | 155 | 3/21/2024 |
1.0.52.44712 | 377 | 1/29/2024 |
1.0.51.6735 | 184 | 1/26/2024 |
1.0.50.6919 | 245 | 1/18/2024 |
1.0.49.3780 | 269 | 1/9/2024 |
1.0.48.33058 | 211 | 1/6/2024 |
1.0.47.49098 | 281 | 12/31/2023 |
1.0.46.50782 | 158 | 12/29/2023 |
1.0.45.20405 | 117 | 12/29/2023 |
1.0.44.28861 | 308 | 12/13/2023 |
1.0.43.57103 | 185 | 12/8/2023 |
1.0.41.63925 | 297 | 12/2/2023 |
1.0.40.4174 | 136 | 12/1/2023 |
1.0.39.52460 | 288 | 11/18/2023 |
1.0.38.25523 | 116 | 11/17/2023 |
1.0.37.1748 | 248 | 11/16/2023 |
1.0.36.35709 | 175 | 11/12/2023 |
1.0.35.20139 | 316 | 10/16/2023 |
1.0.34.19366 | 132 | 10/10/2023 |
1.0.33.57632 | 143 | 10/6/2023 |
1.0.32.45906 | 137 | 10/6/2023 |
1.0.30.32221 | 131 | 10/6/2023 |
1.0.28.50821 | 187 | 5/25/2023 |
1.0.27.31853 | 160 | 5/24/2023 |
1.0.26.27954 | 180 | 5/24/2023 |
1.0.25.44549 | 135 | 5/24/2023 |
1.0.24.48419 | 156 | 5/23/2023 |
1.0.22.30546 | 138 | 5/22/2023 |
1.0.21.19281 | 160 | 5/22/2023 |