Skip to content

Getting Started

Shiny.BluetoothLE.HostingNuGet package Shiny.BluetoothLE.Hosting
Shiny.Hosting.MauiNuGet package Shiny.Hosting.Maui

Advertising is severally downplayed by both operating systems. On iOS, you are limited to advertising the local name and service UUIDs

  • On iOS, you can only advertise a custom local name and custom service UUIDs
  • On Android, things are different
    • You cannot control the device naming
    • TX Power (high, medium, low, balanced)
    • Service Data
    • Service UUIDs
    • Specific Manufacturer Data

For now, I have chosen to support only the same feature band as iOS

IBleHostingManager manager;
await manager.StartAdvertising(new AdvertisementData
{
LocalName = "TestServer",
ServiceUUIDs = new Guid[] { /* your custom UUIDs here */ }
});
manager.StopAdvertising();