ServerScope

interface ServerScope

Scope for building a GATT server.

Functions

Link copied to clipboard
open fun Service(shortUuid: Int, builder: ServiceScope.() -> Unit = {})

Declares a service with the given 16 or 32 bit short UUID.

abstract fun Service(uuid: Uuid, builder: ServiceScope.() -> Unit = {})

Declares a service with the given UUID.