diff --git a/android-uribeacon/uribeacon-library/src/main/java/org/uribeacon/beacon/UriBeacon.java b/android-uribeacon/uribeacon-library/src/main/java/org/uribeacon/beacon/UriBeacon.java index c99f903..3c24d5d 100644 --- a/android-uribeacon/uribeacon-library/src/main/java/org/uribeacon/beacon/UriBeacon.java +++ b/android-uribeacon/uribeacon-library/src/main/java/org/uribeacon/beacon/UriBeacon.java @@ -49,6 +49,8 @@ public class UriBeacon { private static final byte[] URI_SERVICE_16_BIT_UUID_BYTES = {(byte) 0xd8, (byte) 0xfe}; //TODO: Add comments + public static final ParcelUuid TEST_SERVICE_UUID = + ParcelUuid.fromString("0000FEAA-0000-1000-8000-00805F9B34FB"); private static final byte[] TEST_SERVICE_16_BIT_UUID_BYTES = { (byte) 0xaa, (byte) 0xfe}; private static final byte TEST_URL_FRAME_TYPE = 0x10; diff --git a/android-uribeacon/uribeacon-sample/src/main/java/org/uribeacon/sample/UriBeaconScanActivity.java b/android-uribeacon/uribeacon-sample/src/main/java/org/uribeacon/sample/UriBeaconScanActivity.java index e1ad0ca..3c4e78c 100644 --- a/android-uribeacon/uribeacon-sample/src/main/java/org/uribeacon/sample/UriBeaconScanActivity.java +++ b/android-uribeacon/uribeacon-sample/src/main/java/org/uribeacon/sample/UriBeaconScanActivity.java @@ -234,7 +234,8 @@ protected void onResume() { if (mIsConfig) { mScanFilterUuids = configServices; } else if (filterUriBeacon) { - mScanFilterUuids = new ParcelUuid[]{UriBeacon.URI_SERVICE_UUID}; + mScanFilterUuids = new ParcelUuid[]{ + UriBeacon.URI_SERVICE_UUID, UriBeacon.TEST_SERVICE_UUID}; } else { mScanFilterUuids = null; }