Giter Site home page Giter Site logo

3dfxuser / dsoft.system.bluetoothle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from newky2k/dsoft.system.bluetoothle

0.0 0.0 0.0 1.51 MB

Cross-platform Bluetooth Low Energy library, based on Plugin.BLE, for Xamarin.iOS, Xamarin.Android, UWP, Xamarin.Mac, .Net Core, TVOS(Preview) and WatchOS(Preview), Tizen(Coming soon)

License: Apache License 2.0

C# 100.00%

dsoft.system.bluetoothle's Introduction

DSoft.System.BluetoothLe

Cross-platform Bluetooth Low Energy library, based on Plugin.BLE , for Xamarin.iOS, Xamarin.Android, Xamarin.Mac, UWP(Preview), WPF for.Net Core 3.x and .Net Framework 4.6.1+(Preview - Windows 10 only), TVOS(Preview) and WatchOS(Preview), Tizen(coming soon)

.Net Core 3.x support

We have had added .Net Core and .Net Framework 4.6.1+ support for Windows using the Windows RT API using Microsoft.Windows.SDK.Contracts. The UWP,.Net Core and .Net Framework implementations are essentially the same as they use the same APIs. We have duplicated ObservableBluetoothLeDevice from Windows Community Toolkit as it doesn't work with Microsoft.Windows.SDK.Contracts, .Net Core or .Net Framework. ObservableBluetoothLeDevice has been modified to use the WPF Application dispatcher on .Net Core and .Net framework.

Note: .Net Core and .Net Framework support requires Windows 10 - version 1803 and above

Plugin.BLE

As of 1st of June 2020 this is essentially Plugin.BLE repackaged in a single Multi-target project with additional preview support for TVOS, WatchOS and .Net Core 3.x and .Net Framework 4.6.1+. Mac support is fixed(there is a Plugin.BLE issue with Assembly names when using Xamarin.Forms and Xamarin.Mac), based on the UWP branch.

Divergence

I have migrated the source code to single Multi-target library and added support for TVOS, .Net Core and WatchOS(untested). Additionally, I have moved away from Base classes (DeviceBase, AdapterBase etc) and are using multi-targeted partial classes instead.

I have changed the namespaces from Plugin.BLE to System.BluetoothLe and the main class from CrossBluetoothLe to BluetoothLe

This allows for seperation of the projects but also a fair amount of drop-in-ability for anyone using Plugin.BLE

The docs on Plugin.BLE should still be acurrate, with the changes noted above taken into consideration.

Preview

Xamarin.iOS, Xamarin.Android and Xamarin.Mac should be considered stable, as they are in Plugin.BLE.

All other platforms are in preview and essentially untested and compile without issue only.

This is a work in progress and although its based on a stable library, this will change and no guarenteee is made about the API at this stage or the stability of the library.

RoadMap

The first step is to stabilize the API and supported platforms and then extend to other platforms (Tizen, UWP, WPF/Net Core).

New docs and samples

dsoft.system.bluetoothle's People

Contributors

newky2k avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.