GenericAccessService

open fun GenericAccessService(builder: ServiceScope.() -> Unit = {})

Declares the Generic Access Service (GAS) with common characteristics:

  • Device Name

  • Appearance

  • Peripheral Preferred Connection Parameters

and allows to add more with the builder.

Note: The 3 characteristics mentioned above will be handled automatically.