ble.net-android NuGet Package

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.




Got any ble.net-android Question?





Info

Version: 1.2.1
Author(s): nexussays
Last Update: Tuesday, October 9, 2018
.NET Fiddle: Create the first 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 ble.net-android
paket add ble.net-android
ble.net-android Download (Unzip the "nupkg" after downloading)

monoandroid44 monoandroid50


Tags



STATS

must-have-score

1.9

avg-downloads-per-day

13

days-since-last-release

2266