aboutsummaryrefslogtreecommitdiff
path: root/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-01-28 23:45:38 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-01-28 23:45:38 +0100
commit3e619a735e63a1222e71060d9e65b354a156b158 (patch)
tree2f31cdc65d0d773874800c114530eb620bcca536 /trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java
parentc4685214d8db34166213ffa373a16af1a99401a5 (diff)
downloadio.trygvis.soilmoisture-android-3e619a735e63a1222e71060d9e65b354a156b158.tar.gz
io.trygvis.soilmoisture-android-3e619a735e63a1222e71060d9e65b354a156b158.tar.bz2
io.trygvis.soilmoisture-android-3e619a735e63a1222e71060d9e65b354a156b158.tar.xz
io.trygvis.soilmoisture-android-3e619a735e63a1222e71060d9e65b354a156b158.zip
o Major refactoring on the BtPromise, mainly internal. Renaming BtPromise to BtSequence and BtSequencer.
Diffstat (limited to 'trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java')
-rw-r--r--trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java b/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java
new file mode 100644
index 0000000..13b33ed
--- /dev/null
+++ b/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java
@@ -0,0 +1,32 @@
+package android.bluetooth;
+
+import java.util.List;
+import java.util.UUID;
+
+public class BluetoothGatt {
+ public static final int GATT_SUCCESS = 1;
+ public static final int STATE_CONNECTED = 2;
+
+ public boolean discoverServices() {
+ return false;
+ }
+
+ public List getServices() {
+ return null;
+ }
+
+ public BluetoothGattService getService(UUID uuid) {
+ return null;
+ }
+
+ public boolean writeCharacteristic(BluetoothGattCharacteristic characteristic) {
+ return false;
+ }
+
+ public void setCharacteristicNotification(BluetoothGattCharacteristic characteristic, boolean b) {
+ }
+
+ public boolean writeDescriptor(BluetoothGattDescriptor descriptor) {
+ return false;
+ }
+}