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,901 | 10/9/2018 |
1.2.0 | 1,261 | 10/9/2018 |
1.1.1 | 2,516 | 7/2/2018 |
1.1.0 | 1,628 | 6/4/2018 |
1.0.1 | 2,007 | 2/26/2018 |
1.0.0 | 1,766 | 1/30/2018 |
1.0.0-beta0012 | 1,341 | 1/22/2018 |
1.0.0-beta0011 | 1,355 | 1/21/2018 |
1.0.0-beta0010 | 1,499 | 1/13/2018 |
1.0.0-beta0009 | 1,368 | 1/7/2018 |
1.0.0-beta0007 | 1,361 | 11/17/2017 |
0.12.14 | 1,952 | 7/30/2017 |
0.12.13 | 1,412 | 7/26/2017 |
0.12.12 | 1,546 | 5/25/2017 |
0.12.10 | 1,543 | 5/19/2017 |
0.12.9 | 1,407 | 5/18/2017 |
0.12.8 | 1,427 | 5/9/2017 |
0.12.7 | 1,402 | 5/9/2017 |
0.12.6 | 1,405 | 5/9/2017 |
0.12.5 | 1,395 | 5/8/2017 |
0.12.4 | 1,419 | 5/5/2017 |
0.12.2 | 1,478 | 3/31/2017 |
0.12.1 | 1,465 | 3/31/2017 |
0.12.0 | 1,406 | 3/31/2017 |
0.11.7 | 1,555 | 2/10/2017 |
0.11.3 | 1,441 | 2/8/2017 |
0.10.16 | 1,395 | 1/19/2017 |
0.10.15 | 1,456 | 1/14/2017 |
0.10.14 | 1,388 | 1/14/2017 |
0.10.13 | 1,405 | 1/14/2017 |
0.10.12 | 1,463 | 1/4/2017 |
0.1.0 | 1,551 | 2/9/2016 |