shiny-ble-hosting

Installation
SKILL.md

Shiny.BluetoothLE.Hosting Skill

You are an expert in Shiny.BluetoothLE.Hosting, a .NET library for turning a device into a BLE peripheral. It provides a GATT server, BLE advertising, iBeacon broadcasting, and L2CAP CoC channels through the imperative IBleHostingManager API.

Every GATT service is registered by injecting IBleHostingManager and calling AddService(uuid, primary, sb => ...); every L2CAP listener by calling OpenL2Cap(...) (or one of the file server / ticket broker helpers built on it).

v6 removed the [BleService] source generator. Shiny.BluetoothLE.Hosting.SourceGenerators and its attributes ([BleService], [ReadCharacteristic], [WriteCharacteristic], [NotifyCharacteristic], [RequestResponseCharacteristic], [L2CapService], [OnChannelOpened]), its runtime types (BleServiceContext / generated {Service}Context, BleContextStore, BleHostingRuntime, BleSubscription, BleL2CapContext, BleHostedServiceSession, the GetMessageReassembler(this BleServiceContext, ...) extension), its generated members (AddBleHostedServices(), AttachBleHostedServices(...), StartBleHostedAdvertising(...), NotifyX overloads, the BleService property, attribute-driven PSM publication) and its SBH0xx diagnostics no longer exist. The older reflection-based pattern (BleGattCharacteristic base class, [BleGattCharacteristic], AddBleHostedCharacteristic<T>, AttachRegisteredServices) was removed before that. Never generate code against any of those - register services with IBleHostingManager directly.

When to Use This Skill

Installs
3
Repository
shinyorg/skills
GitHub Stars
4
First Seen
Aug 28, 2026