Skip to content
Shiny .NET v4 is here with BLE Windows Support, Improved GPS, & More! Check It Out

BluetoothLE Hosting

  • GitHub stars for shinyorg/shiny
  • NuGet downloads for Shiny.BluetoothLE.Hosting
  • NuGet downloads for Shiny.BluetoothLE.Hosting.Linux
Frameworks
.NET
.NET MAUI
Operating Systems
Android
iOS
macOS
Windows
Linux

BluetoothLE Hosting allows your device to act as a BLE peripheral (server). You can advertise services, create GATT services with characteristics, and communicate with central devices that connect to you.

  • Advertise as a BLE peripheral
  • Create GATT services with read/write/notify characteristics
  • Managed characteristic classes with dependency injection
  • Cross-platform: iOS, macOS, Android, Windows, Linux
FeatureiOSmacOSAndroidWindowsLinux
AdvertisingForeground + limited backgroundFullFullFullFull
GATT ServerFullFullFullFullFull
Managed CharacteristicsFullFullFullFullFull
Shiny.BluetoothLE.HostingNuGet package Shiny.BluetoothLE.Hosting
Shiny.Hosting.MauiNuGet package Shiny.Hosting.Maui
IBleHostingManager hostingManager; // injected
var access = await hostingManager.RequestAccess(advertise: true, connect: true);
// Start advertising with a local name and service UUIDs
await hostingManager.StartAdvertising(new AdvertisementOptions(
LocalName: "MyDevice",
ServiceUuids: new[] { "Your-Service-UUID" }
));
// Check advertising state
var isAdvertising = hostingManager.IsAdvertising;
// Stop advertising
hostingManager.StopAdvertising();
claude plugin marketplace add shinyorg/skills
claude plugin install shiny-client@shiny
copilot plugin marketplace add https://github.com/shinyorg/skills
copilot plugin install shiny-client@shiny
View shiny-client Plugin