updated scan library to support v2 beacons

You can use ConfigUriBeacon.uriLength() to get the length of the encoded uri. and use that to know if you need to shorten it or not.