// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.olio.communication.bluetooth; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattServer; import android.bluetooth.BluetoothGattService; import java.util.UUID; public class PeripheralManager { private BluetoothGattServer mGattServer; public PeripheralManager() { } public void setupServices(BluetoothGattServer bluetoothgattserver) { if (bluetoothgattserver == null) { throw new IllegalArgumentException("gattServer is null"); } else { mGattServer = bluetoothgattserver; bluetoothgattserver = new BluetoothGattService(UUID.fromString("Service UUID"), 0); bluetoothgattserver.addCharacteristic(new BluetoothGattCharacteristic(UUID.fromString("Characteristic UUID"), 10, 17)); mGattServer.addService(bluetoothgattserver); return; } } }