WaspClassLibraryStandard 1.5.2

dotnet add package WaspClassLibraryStandard --version 1.5.2
                    
NuGet\Install-Package WaspClassLibraryStandard -Version 1.5.2
                    
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="WaspClassLibraryStandard" Version="1.5.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WaspClassLibraryStandard" Version="1.5.2" />
                    
Directory.Packages.props
<PackageReference Include="WaspClassLibraryStandard" />
                    
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 WaspClassLibraryStandard --version 1.5.2
                    
#r "nuget: WaspClassLibraryStandard, 1.5.2"
                    
#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.
#:package WaspClassLibraryStandard@1.5.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WaspClassLibraryStandard&version=1.5.2
                    
Install as a Cake Addin
#tool nuget:?package=WaspClassLibraryStandard&version=1.5.2
                    
Install as a Cake Tool

WASP .NET Class Library (.NET Standard)

WaspClassLibraryStandard is the .NET Standard 2.0 build of North Pole Engineering's WASP class library — the programming interface to WASP devices, WiFi bridges that stream data from ANT+ and Bluetooth Low Energy (BLE) sensors (heart rate monitors, bike power/speed/cadence sensors, fitness equipment, and more) into your application.

Being .NET Standard 2.0, it can be consumed from .NET Framework 4.6.1+, .NET Core, and modern .NET (5+) applications.

The API is fully event-driven: create the device collection, register for the data you care about, and updates arrive as sensor data comes in — no polling required.

Quick start

// Join the WASP multicast group on all available network connections
WaspCollection wasps = new WaspCollection();

// Manages both ANT+ and BLE devices seen by the WASPs
AntPlusDevices ants = new AntPlusDevices(wasps);

// BLE heart rate monitors maintain their own observable collections
PolarH7Collection polarHRMs = ants.PolarH7HeartRateMonitors;
polarHRMs.CollectionChanged += (s, e) =>
{
    // New device found: subscribe to its data
};

Highlights

  • Automatic discovery of WASP bridges over WiFi (multicast)
  • ANT+ device profiles: heart rate, bike power, speed/cadence, fitness equipment (FE-C), running dynamics, muscle oxygen, and more
  • BLE sensor support including scanning, advertising data, and GATT connections
  • Configurable logging via Serilog with pluggable external sinks

The full .NET Framework 4.8 build (including USB device support) is available as the WaspClassLibrary package.

Copyright © North Pole Engineering 2012 - 2026. All rights reserved.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.2 89 9/9/2026
1.2.6 3,044 9/8/2023
1.2.2 1,266 1/13/2023
1.0.9 654 6/17/2022
1.0.2 8,805 2/11/2021
1.0.1 631 10/28/2020

1.5.2
1. Fix NullReferenceException crash when the network address changes (Ethernet unplug/replug). NetworkManager.CloseAsync dereferenced a static UdpClient field across an await, so two overlapping NetworkChange callbacks - or a callback racing an application close - could crash the host process on a thread pool thread.
2. NetworkManager.CloseAsync is now serialized, idempotent and safe to call concurrently. Drop, Send and the receive loop no longer dereference the shared client field directly.
3. WaspCollection contains network change recovery failures instead of letting them escape onto the NetworkChange callback thread, and serializes overlapping recoveries.
4. WaspCollection unsubscribes from the NetworkChange events if a constructor throws after subscribing, and unsubscribes before teardown in Dispose.
5. New WaspCollection.HandleNetworkChanges property (default true) to opt out of the library's own network change recovery.
6. New WaspCollection.NetworkRecoveryErrorEvent to observe recovery failures.