Skip to content

Commit e61a59a

Browse files
authored
Release/lib 2 0 0 (#41)
* The library package name has been changed from `uk.co.alt236.bluetoothlelib.*` to `dev.alt236.bluetoothlelib.*`. * Updated README.md
1 parent 71df9e1 commit e61a59a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+110
-101
lines changed

README.md

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Bluetooth LE Library for Android
22

3+
[![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-webviewdebug-green.svg?style=flat )]( https://android-arsenal.com/details/1/693 )
4+
35
This library allows for easy access to a Bluetooth LE device's Advertisement Records.
46
It also offers:
57

@@ -17,16 +19,16 @@ This will only work on devices with Android 4.3 (API Level 18) and above.
1719

1820
## Including the Library in Your Project
1921

22+
⚠️ BREAKING CHANGES ⚠️
23+
24+
As of version 2.0.0, the library package name has been changed from `uk.co.alt236.bluetoothlelib.*`
25+
to `dev.alt236.bluetoothlelib.*`.
26+
The maven coordinates have also changed due to the migration to Maven Central (see below).
27+
2028
This project is available as an artifact for use with Gradle. To use that, add the following blocks to your build.gradle file:
2129
```groovy
22-
repositories {
23-
maven {
24-
url "https://dl.bintray.com/alt236/maven"
25-
}
26-
}
27-
2830
dependencies {
29-
compile 'uk.co.alt236:bluetooth-le-library-android:1.0.0'
31+
compile 'dev.alt236:bluetooth-le-library-android:2.0.0'
3032
}
3133
```
3234
If you *really* need a Jar file, fork the project and execute `./gradlew clean build generateRelease` at the root of the project.
@@ -110,7 +112,6 @@ An IBeaconDevice extends BluetoothLeDevice, so you still have access to the same
110112
* `getMajor()`: Gets the device's Major value
111113
* `getMinor()`: Gets the device's Minor value
112114

113-
114115
### Lookup Functions
115116
You can also lookup values and convert them to human friendly strings:
116117
* `BluetoothClassResolver.resolveDeviceClass(int btClass)`: Will try to resolve a Blueotooth Device class
@@ -132,6 +133,10 @@ You can also lookup values and convert them to human friendly strings:
132133
* We now use the more generic `BeaconUtils.getBeaconType()` method instead of `IBeaconUtils.isThisAnIBeacon()`
133134
* Fix for [issue 5](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/5)
134135
* Fix for [issue 9](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/9)
136+
* v2.0.0
137+
* Migrated packages to Maven Central - Fix
138+
for [issue 37](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/37)
139+
* Targeting Android API 34 with a minSDK of 21
135140

136141
## Sample Application Changelog
137142
* v0.0.1
@@ -148,6 +153,9 @@ You can also lookup values and convert them to human friendly strings:
148153
* Added runtime permissions.
149154
* v1.1.1:
150155
* Fix for [issue 23](https://github.com/alt236/Bluetooth-LE-Library---Android/issues/23)
156+
* v2.0.0
157+
* Now using the new package names (`dev.alt236.bluetoothlelib.*`)
158+
* Targeting Android API 34 with a minSDK of 21
151159

152160
## Permission Explanation
153161
You will need the following permissions to access the Bluetooth Hardware

library/build.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ final int versionMajor = 2
1313
final int versionMinor = 0
1414
final int versionPatch = 0
1515

16-
final String semanticVersion = "${versionMajor}.${versionMinor}.${versionPatch}"
17-
1816
def project_name = "Bluetooth LE Libarary (Android)"
1917
def project_description = "Allows for easy access to a Bluetooth LE device's AdRecord and RSSI value"
2018
def github_owner_and_repo = "alt236/Bluetooth-LE-Library---Android"
2119
def group_id = 'dev.alt236'
2220
def artifact_id = 'bluetooth-le-library-android'
23-
def artifact_version = semanticVersion
21+
def artifact_version = "${versionMajor}.${versionMinor}.${versionPatch}"
2422

2523
repositories {
2624
google()

library/src/main/java/uk/co/alt236/bluetoothlelib/device/BluetoothLeDevice.java library/src/main/java/dev/alt236/bluetoothlelib/device/BluetoothLeDevice.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device;
1+
package dev.alt236.bluetoothlelib.device;
22

33
import android.Manifest;
44
import android.bluetooth.BluetoothDevice;
@@ -15,11 +15,11 @@
1515

1616
import androidx.annotation.Nullable;
1717
import androidx.annotation.RequiresPermission;
18-
import uk.co.alt236.bluetoothlelib.device.adrecord.AdRecordStore;
19-
import uk.co.alt236.bluetoothlelib.resolvers.BluetoothClassResolver;
20-
import uk.co.alt236.bluetoothlelib.util.AdRecordUtils;
21-
import uk.co.alt236.bluetoothlelib.util.ByteUtils;
22-
import uk.co.alt236.bluetoothlelib.util.LimitedLinkHashMap;
18+
import dev.alt236.bluetoothlelib.device.adrecord.AdRecordStore;
19+
import dev.alt236.bluetoothlelib.resolvers.BluetoothClassResolver;
20+
import dev.alt236.bluetoothlelib.util.AdRecordUtils;
21+
import dev.alt236.bluetoothlelib.util.ByteUtils;
22+
import dev.alt236.bluetoothlelib.util.LimitedLinkHashMap;
2323

2424
// TODO: Auto-generated Javadoc
2525

library/src/main/java/uk/co/alt236/bluetoothlelib/device/BluetoothService.java library/src/main/java/dev/alt236/bluetoothlelib/device/BluetoothService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device;
1+
package dev.alt236.bluetoothlelib.device;
22

33
import android.bluetooth.BluetoothClass;
44

library/src/main/java/uk/co/alt236/bluetoothlelib/device/adrecord/AdRecord.java library/src/main/java/dev/alt236/bluetoothlelib/device/adrecord/AdRecord.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.adrecord;
1+
package dev.alt236.bluetoothlelib.device.adrecord;
22

33
import android.os.Bundle;
44
import android.os.Parcel;

library/src/main/java/uk/co/alt236/bluetoothlelib/device/adrecord/AdRecordStore.java library/src/main/java/dev/alt236/bluetoothlelib/device/adrecord/AdRecordStore.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.adrecord;
1+
package dev.alt236.bluetoothlelib.device.adrecord;
22

33
import android.os.Bundle;
44
import android.os.Parcel;
@@ -9,7 +9,7 @@
99
import java.util.Collection;
1010
import java.util.Collections;
1111

12-
import uk.co.alt236.bluetoothlelib.util.AdRecordUtils;
12+
import dev.alt236.bluetoothlelib.util.AdRecordUtils;
1313

1414
/**
1515
* The Class AdRecordStore.

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/BeaconDevice.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/BeaconDevice.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon;
1+
package dev.alt236.bluetoothlelib.device.beacon;
22

33
/**
44
*

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/BeaconManufacturerData.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/BeaconManufacturerData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon;
1+
package dev.alt236.bluetoothlelib.device.beacon;
22

33
import java.util.Arrays;
44

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/BeaconType.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/BeaconType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon;
1+
package dev.alt236.bluetoothlelib.device.beacon;
22

33
/**
44
*

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/BeaconUtils.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/BeaconUtils.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon;
1+
package dev.alt236.bluetoothlelib.device.beacon;
22

3-
import uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice;
4-
import uk.co.alt236.bluetoothlelib.device.adrecord.AdRecord;
5-
import uk.co.alt236.bluetoothlelib.device.beacon.ibeacon.IBeaconConstants;
6-
import uk.co.alt236.bluetoothlelib.util.ByteUtils;
3+
import dev.alt236.bluetoothlelib.device.BluetoothLeDevice;
4+
import dev.alt236.bluetoothlelib.device.adrecord.AdRecord;
5+
import dev.alt236.bluetoothlelib.device.beacon.ibeacon.IBeaconConstants;
6+
import dev.alt236.bluetoothlelib.util.ByteUtils;
77

88
/**
99
*
@@ -33,9 +33,9 @@ public static BeaconType getBeaconType(final byte[] manufacturerData) {
3333
}
3434

3535
/**
36-
* Ascertains whether a {@link uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice} is an iBeacon;
36+
* Ascertains whether a {@link BluetoothLeDevice} is an iBeacon;
3737
*
38-
* @param device a {@link uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice} device.
38+
* @param device a {@link BluetoothLeDevice} device.
3939
* @return the {@link BeaconType}
4040
*/
4141
public static BeaconType getBeaconType(final BluetoothLeDevice device) {

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconConstants.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconConstants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
1+
package dev.alt236.bluetoothlelib.device.beacon.ibeacon;
22

33
/**
44
*

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconDevice.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconDevice.java

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
1+
package dev.alt236.bluetoothlelib.device.beacon.ibeacon;
22

33
import android.bluetooth.BluetoothDevice;
44
import android.os.Parcel;
55

6-
import uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice;
7-
import uk.co.alt236.bluetoothlelib.device.beacon.BeaconDevice;
8-
import uk.co.alt236.bluetoothlelib.device.beacon.BeaconType;
9-
import uk.co.alt236.bluetoothlelib.device.beacon.BeaconUtils;
6+
import dev.alt236.bluetoothlelib.device.BluetoothLeDevice;
7+
import dev.alt236.bluetoothlelib.device.beacon.BeaconDevice;
8+
import dev.alt236.bluetoothlelib.device.beacon.BeaconType;
109

1110
public class IBeaconDevice extends BluetoothLeDevice implements BeaconDevice{
1211

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconDistanceDescriptor.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconDistanceDescriptor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
1+
package dev.alt236.bluetoothlelib.device.beacon.ibeacon;
22

33
public enum IBeaconDistanceDescriptor {
44
IMMEDIATE,

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconManufacturerData.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconManufacturerData.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
1+
package dev.alt236.bluetoothlelib.device.beacon.ibeacon;
22

33
import java.util.Arrays;
44

5-
import uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice;
6-
import uk.co.alt236.bluetoothlelib.device.adrecord.AdRecord;
7-
import uk.co.alt236.bluetoothlelib.device.beacon.BeaconManufacturerData;
8-
import uk.co.alt236.bluetoothlelib.device.beacon.BeaconType;
9-
import uk.co.alt236.bluetoothlelib.util.ByteUtils;
5+
import dev.alt236.bluetoothlelib.device.BluetoothLeDevice;
6+
import dev.alt236.bluetoothlelib.device.adrecord.AdRecord;
7+
import dev.alt236.bluetoothlelib.device.beacon.BeaconManufacturerData;
8+
import dev.alt236.bluetoothlelib.device.beacon.BeaconType;
9+
import dev.alt236.bluetoothlelib.util.ByteUtils;
1010

1111
/**
1212
* Parses the Manufactured Data field of an iBeacon

library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconUtils.java library/src/main/java/dev/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
1+
package dev.alt236.bluetoothlelib.device.beacon.ibeacon;
22

3-
import uk.co.alt236.bluetoothlelib.util.ByteUtils;
3+
import dev.alt236.bluetoothlelib.util.ByteUtils;
44

55
final class IBeaconUtils {
66
private static final double DISTANCE_THRESHOLD_WTF = 0.0;

library/src/main/java/uk/co/alt236/bluetoothlelib/resolvers/BluetoothClassResolver.java library/src/main/java/dev/alt236/bluetoothlelib/resolvers/BluetoothClassResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.resolvers;
1+
package dev.alt236.bluetoothlelib.resolvers;
22

33
import android.bluetooth.BluetoothClass;
44

library/src/main/java/uk/co/alt236/bluetoothlelib/resolvers/CompanyIdentifierResolver.java library/src/main/java/dev/alt236/bluetoothlelib/resolvers/CompanyIdentifierResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.resolvers;
1+
package dev.alt236.bluetoothlelib.resolvers;
22

33
import android.util.SparseArray;
44

library/src/main/java/uk/co/alt236/bluetoothlelib/resolvers/GattAttributeResolver.java library/src/main/java/dev/alt236/bluetoothlelib/resolvers/GattAttributeResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.resolvers;
1+
package dev.alt236.bluetoothlelib.resolvers;
22

33
import java.util.HashMap;
44
import java.util.Locale;

library/src/main/java/uk/co/alt236/bluetoothlelib/util/AdRecordUtils.java library/src/main/java/dev/alt236/bluetoothlelib/util/AdRecordUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.util;
1+
package dev.alt236.bluetoothlelib.util;
22

33
import android.annotation.SuppressLint;
44
import android.util.SparseArray;
@@ -12,7 +12,7 @@
1212
import java.util.Map;
1313

1414
import androidx.annotation.Nullable;
15-
import uk.co.alt236.bluetoothlelib.device.adrecord.AdRecord;
15+
import dev.alt236.bluetoothlelib.device.adrecord.AdRecord;
1616

1717
public final class AdRecordUtils {
1818

library/src/main/java/uk/co/alt236/bluetoothlelib/util/ByteUtils.java library/src/main/java/dev/alt236/bluetoothlelib/util/ByteUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.util;
1+
package dev.alt236.bluetoothlelib.util;
22

33
import java.nio.ByteBuffer;
44

library/src/main/java/uk/co/alt236/bluetoothlelib/util/LimitedLinkHashMap.java library/src/main/java/dev/alt236/bluetoothlelib/util/LimitedLinkHashMap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.util;
1+
package dev.alt236.bluetoothlelib.util;
22

33
import java.util.LinkedHashMap;
44
import java.util.Map;

library/src/test/java/uk/co/alt236/bluetoothlelib/device/beacon/BeaconUtilsTest.java library/src/test/java/dev/alt236/bluetoothlelib/device/beacon/BeaconUtilsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon;
1+
package dev.alt236.bluetoothlelib.device.beacon;
22

33
import junit.framework.TestCase;
44

library/src/test/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconManufacturerDataTest.java library/src/test/java/dev/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconManufacturerDataTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
1+
package dev.alt236.bluetoothlelib.device.beacon.ibeacon;
22

33
import junit.framework.TestCase;
44

5-
import uk.co.alt236.bluetoothlelib.device.beacon.BeaconManufacturerData;
5+
import dev.alt236.bluetoothlelib.device.beacon.BeaconManufacturerData;
66

77
/**
88
*

library/src/test/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconUtilsTest.java library/src/test/java/dev/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconUtilsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
1+
package dev.alt236.bluetoothlelib.device.beacon.ibeacon;
22

33
import junit.framework.TestCase;
44

library/src/test/java/uk/co/alt236/bluetoothlelib/resolvers/GattAttributeResolverTest.java library/src/test/java/dev/alt236/bluetoothlelib/resolvers/GattAttributeResolverTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.resolvers;
1+
package dev.alt236.bluetoothlelib.resolvers;
22

33
import junit.framework.TestCase;
44

library/src/test/java/uk/co/alt236/bluetoothlelib/util/AdRecordUtilsTest.java library/src/test/java/dev/alt236/bluetoothlelib/util/AdRecordUtilsTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
package uk.co.alt236.bluetoothlelib.util;
1+
package dev.alt236.bluetoothlelib.util;
22

33
import junit.framework.TestCase;
44

55
import java.util.List;
66
import java.util.Map;
77

8-
import uk.co.alt236.bluetoothlelib.device.adrecord.AdRecord;
8+
import dev.alt236.bluetoothlelib.device.adrecord.AdRecord;
99

1010
/**
1111
*

library/src/test/java/uk/co/alt236/bluetoothlelib/util/ByteUtilsTest.java library/src/test/java/dev/alt236/bluetoothlelib/util/ByteUtilsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uk.co.alt236.bluetoothlelib.util;
1+
package dev.alt236.bluetoothlelib.util;
22

33
import junit.framework.TestCase;
44

sample_app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ plugins {
1111

1212
apply from: "${project.rootDir}/buildsystem/android-defaults.gradle"
1313

14-
final int versionMajor = 1
15-
final int versionMinor = 1
14+
final int versionMajor = 2
15+
final int versionMinor = 0
1616
final int versionPatch = getBuildNumber()
1717
final int androidVersionCode = getBuildNumber()
1818

sample_app/src/main/java/uk/co/alt236/btlescan/containers/BluetoothLeDeviceStore.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package uk.co.alt236.btlescan.containers
22

3+
import dev.alt236.bluetoothlelib.device.BluetoothLeDevice
34
import dev.alt236.easycursor.objectcursor.EasyObjectCursor
4-
import uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice
55
import java.util.Collections
66

77
class BluetoothLeDeviceStore {

sample_app/src/main/java/uk/co/alt236/btlescan/ui/common/Navigation.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import android.content.Intent
55
import android.net.Uri
66
import androidx.core.app.ActivityCompat
77
import androidx.core.app.ShareCompat
8-
import uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice
8+
import dev.alt236.bluetoothlelib.device.BluetoothLeDevice
99
import uk.co.alt236.btlescan.R
1010
import uk.co.alt236.btlescan.ui.control.DeviceControlActivity
1111
import uk.co.alt236.btlescan.ui.details.DeviceDetailsActivity

sample_app/src/main/java/uk/co/alt236/btlescan/ui/control/DeviceControlActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import java.util.List;
3737

3838
import androidx.appcompat.app.AppCompatActivity;
39-
import uk.co.alt236.bluetoothlelib.device.BluetoothLeDevice;
39+
import dev.alt236.bluetoothlelib.device.BluetoothLeDevice;
4040
import uk.co.alt236.btlescan.R;
4141
import uk.co.alt236.btlescan.services.BluetoothLeService;
4242
import uk.co.alt236.btlescan.services.LocalBinder;

sample_app/src/main/java/uk/co/alt236/btlescan/ui/control/Exporter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import java.util.List;
88

9-
import uk.co.alt236.bluetoothlelib.resolvers.GattAttributeResolver;
9+
import dev.alt236.bluetoothlelib.resolvers.GattAttributeResolver;
1010
import uk.co.alt236.btlescan.R;
1111

1212
/*package*/ class Exporter {

sample_app/src/main/java/uk/co/alt236/btlescan/ui/control/GattDataAdapterFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import java.util.List;
1111
import java.util.Map;
1212

13-
import uk.co.alt236.bluetoothlelib.resolvers.GattAttributeResolver;
13+
import dev.alt236.bluetoothlelib.resolvers.GattAttributeResolver;
1414
import uk.co.alt236.btlescan.R;
1515

1616
/*package*/ class GattDataAdapterFactory {

sample_app/src/main/java/uk/co/alt236/btlescan/ui/control/View.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import android.widget.ExpandableListView
55
import android.widget.SimpleExpandableListAdapter
66
import android.widget.TextView
77
import androidx.core.content.res.ResourcesCompat
8-
import uk.co.alt236.bluetoothlelib.resolvers.GattAttributeResolver
9-
import uk.co.alt236.bluetoothlelib.util.ByteUtils
8+
import dev.alt236.bluetoothlelib.resolvers.GattAttributeResolver
9+
import dev.alt236.bluetoothlelib.util.ByteUtils
1010
import uk.co.alt236.btlescan.R
1111
import uk.co.alt236.btlescan.kt.ByteArrayExt.toCharString
1212
import java.nio.charset.Charset

0 commit comments

Comments
 (0)