ble.net-android
1.2.1
dotnet add package ble.net-android --version 1.2.1
NuGet\Install-Package ble.net-android -Version 1.2.1
<PackageReference Include="ble.net-android" Version="1.2.1" />
paket add ble.net-android --version 1.2.1
#r "nuget: ble.net-android, 1.2.1"
// Install ble.net-android as a Cake Addin #addin nuget:?package=ble.net-android&version=1.2.1 // Install ble.net-android as a Cake Tool #tool nuget:?package=ble.net-android&version=1.2.1
Android (API 18+) implementation of BLE.net cross-platform Bluetooth Low Energy library. Scan for advertisements and beacons, connect to devices, read/write/notify/indicate, all with a straightforward async API.
To get started, add these normal permissions to your app:
[assembly: UsesPermission( Manifest.Permission.Bluetooth )]
[assembly: UsesPermission( Manifest.Permission.BluetoothAdmin )]
Then in your main Activity OnCreated(), initialize and obtain the adapter. Retain this adapter reference for the lifetime of your app:
BluetoothLowEnergyAdapter.Init( this );
var ble = BluetoothLowEnergyAdapter.ObtainDefaultAdapter( this );
Complete readme & sample application:
https://github.com/nexussays/ble.net/blob/master/Readme.md
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid44 is compatible. monoandroid50 is compatible. |
-
MonoAndroid 4.4
- ble.net (>= 1.2.1)
- nexus.core (>= 0.34.0)
-
MonoAndroid 5.0
- ble.net (>= 1.2.1)
- nexus.core (>= 0.34.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on ble.net-android:
Repository | Stars |
---|---|
nexussays/ble.net
Cross-platform Bluetooth Low Energy (BLE) library for Android, iOS, and UWP
|
Version | Downloads | Last updated |
---|---|---|
1.2.1 | 28,878 | 10/9/2018 |
1.2.0 | 1,259 | 10/9/2018 |
1.1.1 | 2,514 | 7/2/2018 |
1.1.0 | 1,626 | 6/4/2018 |
1.0.1 | 2,005 | 2/26/2018 |
1.0.0 | 1,764 | 1/30/2018 |
1.0.0-beta0012 | 1,339 | 1/22/2018 |
1.0.0-beta0011 | 1,353 | 1/21/2018 |
1.0.0-beta0010 | 1,497 | 1/13/2018 |
1.0.0-beta0009 | 1,366 | 1/7/2018 |
1.0.0-beta0007 | 1,359 | 11/17/2017 |
0.12.14 | 1,950 | 7/30/2017 |
0.12.13 | 1,410 | 7/26/2017 |
0.12.12 | 1,544 | 5/25/2017 |
0.12.10 | 1,541 | 5/19/2017 |
0.12.9 | 1,405 | 5/18/2017 |
0.12.8 | 1,425 | 5/9/2017 |
0.12.7 | 1,400 | 5/9/2017 |
0.12.6 | 1,403 | 5/9/2017 |
0.12.5 | 1,393 | 5/8/2017 |
0.12.4 | 1,417 | 5/5/2017 |
0.12.2 | 1,476 | 3/31/2017 |
0.12.1 | 1,463 | 3/31/2017 |
0.12.0 | 1,404 | 3/31/2017 |
0.11.7 | 1,553 | 2/10/2017 |
0.11.3 | 1,439 | 2/8/2017 |
0.10.16 | 1,393 | 1/19/2017 |
0.10.15 | 1,454 | 1/14/2017 |
0.10.14 | 1,386 | 1/14/2017 |
0.10.13 | 1,403 | 1/14/2017 |
0.10.12 | 1,461 | 1/4/2017 |
0.1.0 | 1,549 | 2/9/2016 |