ble.net-android

Android (API 18+) implementation of BLE.net Bluetooth Low Energy library.

Scan for advertisements and beacons, connect to devices, read/write/notify/indicate, all with a simple 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():

BluetoothLowEnergyAdapter.Init( this );

Then obtain the adapter and retain this reference for the lifetime of your app:

var ble = BluetoothLowEnergyAdapter.ObtainDefaultAdapter( this );

Complete readme & sample application:
https://github.com/nexussays/ble.net/blob/master/Readme.md.

Info

Version: 1.1.1
Author(s): nexussays
Last Update: Monday, July 2, 2018
.NET Fiddle:
Project Url: https://github.com/nexussays/ble.net
NuGet Url: https://www.nuget.org/packages/ble.net-android


Install
Install-Package ble.net-android
dotnet add package Z.EntityFramework.Plus.EF6
paket add ble.net-android
ble.net-android Download (Unzip the "nupkg" after downloading)

monoandroid44 monoandroid50


Tags



STATS

must-have-score

4.9

avg-downloads-per-day

5

days-since-last-release

13