WaspClassLibraryStandard 1.5.2
dotnet add package WaspClassLibraryStandard --version 1.5.2
NuGet\Install-Package WaspClassLibraryStandard -Version 1.5.2
<PackageReference Include="WaspClassLibraryStandard" Version="1.5.2" />
<PackageVersion Include="WaspClassLibraryStandard" Version="1.5.2" />
<PackageReference Include="WaspClassLibraryStandard" />
paket add WaspClassLibraryStandard --version 1.5.2
#r "nuget: WaspClassLibraryStandard, 1.5.2"
#:package WaspClassLibraryStandard@1.5.2
#addin nuget:?package=WaspClassLibraryStandard&version=1.5.2
#tool nuget:?package=WaspClassLibraryStandard&version=1.5.2
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.
Links
- North Pole Engineering: https://www.npe-inc.com
Copyright © North Pole Engineering 2012 - 2026. All rights reserved.
| Product | Versions 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. |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- Serilog (>= 4.3.0)
- Serilog.Sinks.Console (>= 6.1.1)
- Serilog.Sinks.File (>= 7.0.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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.