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

GattServerResponseSender

class GattServerResponseSender

Send acknowledgment for any change request to local GATT server sent from remote device that requires response

Constructors

<init>

GattServerResponseSender(gattServerConnection: GattServerConnection, transactionProvider: SendGattServerResponseTransactionProvider = SendGattServerResponseTransactionProvider())

Send acknowledgment for any change request to local GATT server sent from remote device that requires response

Functions

send

fun send(successEndState: GattState = GattState.SEND_SERVER_RESPONSE_SUCCESS, device: FitbitBluetoothDevice, requestId: Int, status: Int, offset: Int = 0, value: ByteArray? = null): Completable

Send acknowledgment to remote device that requires response