ServiceUuid

abstract fun ServiceUuid(uuid: Uuid)

Adds the service UUID to the advertising data, which will be added to the AD field "Complete List or X bit Service UUIDs", depending on the UUID length.

It is possible to add multiple different services by calling this method multiple times.

Parameters

uuid

The 128-bit service UUID.


abstract fun ServiceUuid(shortUuid: Int)

Adds the service UUID to the advertising data, which will be added to the AD field "Complete List or X bit Service UUIDs", depending on the UUID length.

It is possible to add multiple different services by calling this method multiple times.

Parameters

shortUuid

The 16-bit or 32-bit service UUID.