RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.server / ServerTransactionProvider / getAddServicesTransaction

getAddServicesTransaction

fun getAddServicesTransaction(gattConnection: GattServerConnection, service: BluetoothGattService): AddGattServerServiceTransaction

Provides a bitgatt add services transaction, which will add services (and the containing characteristics) to the gatt server.

Parameters

gattConnection - The server connection on which the transaction will run.

service - The service that needs to be added.