MetaWear.CSharp
1.0.15
See the version list below for details.
Requires NuGet 4.1 or higher.
dotnet add package MetaWear.CSharp --version 1.0.15
NuGet\Install-Package MetaWear.CSharp -Version 1.0.15
<PackageReference Include="MetaWear.CSharp" Version="1.0.15" />
paket add MetaWear.CSharp --version 1.0.15
#r "nuget: MetaWear.CSharp, 1.0.15"
// Install MetaWear.CSharp as a Cake Addin
#addin nuget:?package=MetaWear.CSharp&version=1.0.15
// Install MetaWear.CSharp as a Cake Tool
#tool nuget:?package=MetaWear.CSharp&version=1.0.15
MetaWear C# SDK
SDK for creating MetaWear apps using C#.
The SDK is distributed on NuGet as a platform agnostic, .NET Standard 2.0 assembly. Due to its platform agnostic nature, developers will need to plugin their own BLE stack and file i/o code specific to their target environment.
Install
The C# SDK is distributed via NuGet and can be installed with the package manager console:
PM> Install-Package MetaWear.CSharp
Usage
MbientLab provides an implementation of the MetaWear API in the Impl
namespace. Similiarly to the top level interfaces, the main class in the Impl
namespace is the MetaWearBoard
class.
To instantiate a MetaWearBoard
object, you will need to provide an implementation of the IBluetoothLeGatt and the ILibraryIO interfaces:
using MbientLab.MetaWear.Impl.Platform;
class BluetoothLeGatt : IBluetoothLeGatt {
// Implementation here
}
class IO : ILibraryIO {
// Implementation here
}
var metawear = new MetaWearBoard(new BluetoothLeGatt(), new IO());
Once you have your IMetaWearBoard
object, you can begin using the SDK features are described in the developers' guide.
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. |
.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. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MetaWear.CSharp:
Package | Downloads |
---|---|
MetaWear.CSharp.Win10
Provides Windows 10 specific Bluetooth LE and file i/o code for the MetaWear C# SDK, compatible with both UWP and .NET applications. |
|
MetaWear.CSharp.NetStandard
Provides NetStandard2.0 Bluetooth LE and file i/o code for .NET Core applications using the MetaWear C# SDK. Developers designing Windows 10 applications should instead use the MetaWear.CSharp.Win10 plugin |
GitHub repositories
This package is not used by any popular GitHub repositories.