diff options
Diffstat (limited to 'java/direct_bt/tinyb')
-rw-r--r-- | java/direct_bt/tinyb/DBTAdapter.java | 4 | ||||
-rw-r--r-- | java/direct_bt/tinyb/DBTDevice.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/java/direct_bt/tinyb/DBTAdapter.java b/java/direct_bt/tinyb/DBTAdapter.java index d9f5f684..100334e7 100644 --- a/java/direct_bt/tinyb/DBTAdapter.java +++ b/java/direct_bt/tinyb/DBTAdapter.java @@ -41,7 +41,7 @@ import org.tinyb.BluetoothManager; import org.tinyb.BluetoothNotification; import org.tinyb.BluetoothType; import org.tinyb.EIRDataTypeSet; -import org.tinyb.HCIErrorCode; +import org.tinyb.HCIStatusCode; import org.tinyb.HCIWhitelistConnectType; import org.tinyb.AdapterStatusListener; import org.tinyb.TransportType; @@ -433,7 +433,7 @@ public class DBTAdapter extends DBTObject implements BluetoothAdapter } @Override - public void deviceDisconnected(final BluetoothDevice device, final HCIErrorCode reason, final long timestamp) { + public void deviceDisconnected(final BluetoothDevice device, final HCIStatusCode reason, final long timestamp) { if( DEBUG ) { System.err.println("Adapter.StatusListener.DISCONNECTED: Reason "+reason+": "+device+" on "+device.getAdapter()); } diff --git a/java/direct_bt/tinyb/DBTDevice.java b/java/direct_bt/tinyb/DBTDevice.java index 5f122720..f7bc5e91 100644 --- a/java/direct_bt/tinyb/DBTDevice.java +++ b/java/direct_bt/tinyb/DBTDevice.java @@ -39,7 +39,7 @@ import org.tinyb.BluetoothNotification; import org.tinyb.BluetoothType; import org.tinyb.EIRDataTypeSet; import org.tinyb.GATTCharacteristicListener; -import org.tinyb.HCIErrorCode; +import org.tinyb.HCIStatusCode; public class DBTDevice extends DBTObject implements BluetoothDevice { @@ -90,7 +90,7 @@ public class DBTDevice extends DBTObject implements BluetoothDevice } } @Override - public void deviceDisconnected(final BluetoothDevice device, final HCIErrorCode reason, final long timestamp) { + public void deviceDisconnected(final BluetoothDevice device, final HCIStatusCode reason, final long timestamp) { if( connected ) { connected = false; synchronized(userCallbackLock) { |