Skip to content

Getting Started

Setup

Shiny.BluetoothLE.Hosting
Shiny.Hosting.Maui

Advertising

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();

Samples