Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Core bluetooth

I'm currently creating an application in .NET core. I want to run this application on a Raspberry Pi Zero W and use the Bluetooth functionality to communicate with an external device (Light Bulb with bluetooth). Are there any bluetooth (NuGet) libraries to work with bluetooth? I've searched on NuGet but I've found only Xamarin related packages.

Thanks in advance

like image 975
mrtentje Avatar asked Apr 06 '17 10:04

mrtentje


People also ask

What is core Bluetooth?

The Core Bluetooth framework provides the classes needed for your apps to communicate with Bluetooth-equipped low energy (LE) and Basic Rate / Enhanced Data Rate (BR/EDR) wireless technology.

Can Web Apps access Bluetooth?

The Web Bluetooth API allows websites to communicate with Bluetooth devices.

Does Bluetooth send packets?

Data is transmitted between Bluetooth-enabled devices in packets that are positioned in these slots. Frequency hopping takes place between the transmission or reception of packets, so the packets that make up one transmission may be sent over different frequencies within the ISM band.


2 Answers

There's a new dotnet-bluez library available that looks promising, and is pure .Net (not Xamarin).

https://github.com/hashtagchris/DotNet-BlueZ

like image 69
qDot Avatar answered Sep 28 '22 04:09

qDot


Not currently, as far as I'm aware.

However, I believe it would be possible if you explore using Platform Invoke with the Bluez Bluetooth library for Linux.

like image 24
Carlos P Avatar answered Sep 28 '22 02:09

Carlos P