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

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

Parameters

successEndState - end state for this transaction

device - The remote device to send this response to

requestId - The ID of the request that was received with the callback

status - The status of the request to be sent to the remote devices

offset - Value offset for partial read/write response

value - The value of the attribute that was read/written (optional)