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 |
---|---|
MonoAndroid | monoandroid44 monoandroid50 |
-
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 | 23,928 | 10/9/2018 |
1.2.0 | 742 | 10/9/2018 |
1.1.1 | 1,965 | 7/2/2018 |
1.1.0 | 1,091 | 6/4/2018 |
1.0.1 | 1,473 | 2/26/2018 |
1.0.0 | 1,227 | 1/30/2018 |
1.0.0-beta0012 | 838 | 1/22/2018 |
1.0.0-beta0011 | 836 | 1/21/2018 |
1.0.0-beta0010 | 949 | 1/13/2018 |
1.0.0-beta0009 | 840 | 1/7/2018 |
1.0.0-beta0007 | 848 | 11/17/2017 |
0.12.14 | 1,409 | 7/30/2017 |
0.12.13 | 888 | 7/26/2017 |
0.12.12 | 1,033 | 5/25/2017 |
0.12.10 | 1,013 | 5/19/2017 |
0.12.9 | 856 | 5/18/2017 |
0.12.8 | 906 | 5/9/2017 |
0.12.7 | 887 | 5/9/2017 |
0.12.6 | 873 | 5/9/2017 |
0.12.5 | 870 | 5/8/2017 |
0.12.4 | 899 | 5/5/2017 |
0.12.2 | 943 | 3/31/2017 |
0.12.1 | 922 | 3/31/2017 |
0.12.0 | 904 | 3/31/2017 |
0.11.7 | 991 | 2/10/2017 |
0.11.3 | 898 | 2/8/2017 |
0.10.16 | 887 | 1/19/2017 |
0.10.15 | 936 | 1/14/2017 |
0.10.14 | 893 | 1/14/2017 |
0.10.13 | 889 | 1/14/2017 |
0.10.12 | 941 | 1/4/2017 |
0.1.0 | 994 | 2/9/2016 |