RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.server / BitGattServer

BitGattServer

class BitGattServer

Reactive API for the Bitgatt Bluetooth GATT Profile server role.

Constructors

<init>

BitGattServer(fitbitGatt: FitbitGatt = FitbitGatt.getInstance(), serverTransactionProvider: ServerTransactionProvider = ServerTransactionProvider())

Reactive API for the Bitgatt Bluetooth GATT Profile server role.

Functions

addServices

fun addServices(service: BluetoothGattService): Completable

Adds a BluetoothGattService to this gatt server.

isUp

fun isUp(): Boolean

Returns true if up, false if not up.