Shiny .NET v4 is here with BLE Windows Support, Improved GPS, & More! Check It Out
BluetoothLE Hosting
Getting Started
Section titled “Getting Started” 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.
Features
Section titled “Features”- 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
Platform Notes
Section titled “Platform Notes”| Feature | iOS | macOS | Android | Windows | Linux |
|---|---|---|---|---|---|
| Advertising | Foreground + limited background | Full | Full | Full | Full |
| GATT Server | Full | Full | Full | Full | Full |
| Managed Characteristics | Full | Full | Full | Full | Full |
Requesting Access
Section titled “Requesting Access”IBleHostingManager hostingManager; // injected
var access = await hostingManager.RequestAccess(advertise: true, connect: true);Advertising
Section titled “Advertising”// Start advertising with a local name and service UUIDsawait hostingManager.StartAdvertising(new AdvertisementOptions( LocalName: "MyDevice", ServiceUuids: new[] { "Your-Service-UUID" }));
// Check advertising statevar isAdvertising = hostingManager.IsAdvertising;
// Stop advertisinghostingManager.StopAdvertising();AI Coding Assistant
Section titled “AI Coding Assistant”Step 1 — Add the marketplace:
claude plugin marketplace add shinyorg/skills Step 2 — Install the plugin:
claude plugin install shiny-client@shiny Step 1 — Add the marketplace:
copilot plugin marketplace add https://github.com/shinyorg/skills Step 2 — Install the plugin:
copilot plugin install shiny-client@shiny