MakoIoT.Device.Services.WiFi 1.0.41.63925

There is a newer version of this package available.
See the version list below for details.
dotnet add package MakoIoT.Device.Services.WiFi --version 1.0.41.63925
                    
NuGet\Install-Package MakoIoT.Device.Services.WiFi -Version 1.0.41.63925
                    
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.41.63925" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MakoIoT.Device.Services.WiFi" Version="1.0.41.63925" />
                    
Directory.Packages.props
<PackageReference Include="MakoIoT.Device.Services.WiFi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MakoIoT.Device.Services.WiFi --version 1.0.41.63925
                    
#r "nuget: MakoIoT.Device.Services.WiFi, 1.0.41.63925"
                    
#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.
#addin nuget:?package=MakoIoT.Device.Services.WiFi&version=1.0.41.63925
                    
Install as a Cake Addin
#tool nuget:?package=MakoIoT.Device.Services.WiFi&version=1.0.41.63925
                    
Install as a Cake Tool

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 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.

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.87.52823 213 4/25/2025
1.0.86.43045 172 4/24/2025
1.0.85.14079 296 4/17/2025
1.0.83.51874 263 4/2/2025
1.0.82.31546 312 3/20/2025
1.0.80.59303 216 3/12/2025
1.0.79.15391 362 3/3/2025
1.0.78.62238 201 2/27/2025
1.0.76.36463 226 2/20/2025
1.0.75.54666 190 2/18/2025
1.0.74.30059 318 11/28/2024
1.0.73.53555 115 11/27/2024
1.0.72.30577 128 11/26/2024
1.0.71.57505 141 11/25/2024
1.0.70.14151 131 11/19/2024
1.0.69.49339 277 10/18/2024
1.0.68.49698 129 10/16/2024
1.0.67.13914 204 9/26/2024
1.0.66.65363 140 9/20/2024
1.0.65.7814 175 9/12/2024
1.0.64.26884 189 8/27/2024
1.0.63.57653 189 8/10/2024
1.0.62.46574 134 8/5/2024
1.0.61.39615 125 7/29/2024
1.0.60.19597 250 6/12/2024
1.0.59.6363 787 5/17/2024
1.0.58.60201 256 5/13/2024
1.0.57.57505 436 4/9/2024
1.0.56.50928 142 4/8/2024
1.0.55.21361 245 4/3/2024
1.0.54.58193 334 3/22/2024
1.0.53.16802 188 3/21/2024
1.0.52.44712 410 1/29/2024
1.0.51.6735 213 1/26/2024
1.0.50.6919 277 1/18/2024
1.0.49.3780 302 1/9/2024
1.0.48.33058 241 1/6/2024
1.0.47.49098 313 12/31/2023
1.0.46.50782 188 12/29/2023
1.0.45.20405 146 12/29/2023
1.0.44.28861 340 12/13/2023
1.0.43.57103 215 12/8/2023
1.0.41.63925 321 12/2/2023
1.0.40.4174 154 12/1/2023
1.0.39.52460 313 11/18/2023
1.0.38.25523 138 11/17/2023
1.0.37.1748 269 11/16/2023
1.0.36.35709 193 11/12/2023
1.0.35.20139 335 10/16/2023
1.0.34.19366 154 10/10/2023
1.0.33.57632 165 10/6/2023
1.0.32.45906 157 10/6/2023
1.0.30.32221 152 10/6/2023
1.0.28.50821 242 5/25/2023
1.0.27.31853 197 5/24/2023
1.0.26.27954 215 5/24/2023
1.0.25.44549 170 5/24/2023
1.0.24.48419 192 5/23/2023
1.0.22.30546 172 5/22/2023
1.0.21.19281 197 5/22/2023