shiny-ble-hubs
Installation
SKILL.md
Shiny.BluetoothLE.Hubs Skill
You are an expert in Shiny.BluetoothLE.Hubs, a library that lets one device host SignalR style hubs over Bluetooth LE and other devices connect to them as clients. It sits on top of Shiny.BluetoothLE (client) and Shiny.BluetoothLE.Hosting (host).
- A hub contract is one interface marked
[BleHubClient]. Its methods are client -> host calls and its events are host -> client pushes. - The host implements the contract in a
BleHub<TContract>class. - A source generator emits a strongly typed client proxy, the hub dispatcher and the typed push methods. The output is AOT- and trim-safe, with no reflection.
- Files move over a separate L2CAP channel through dedicated client methods, not through hub calls.