override fun onCharacteristicReadRequest()

in PoC/android/app/src/main/java/com/epam/crowdresitance/bluetooth/gatt/BtGattServerCallback.kt [37:46]


    override fun onCharacteristicReadRequest(
        device: BluetoothDevice?,
        requestId: Int,
        offset: Int,
        characteristic: BluetoothGattCharacteristic?
    ) {
        super.onCharacteristicReadRequest(device, requestId, offset, characteristic)
        val response = userIdData()
        gattServer?.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, response)
    }