0.3.8
Changes
There may be breaking changes when upgrading from 0.3.0!
All changes to the previous release can be found in PR 130.
Indoor Positioning
- Added
rootMeanSquareThreshold
property to filter out inaccurate multilateration results. Increase the value to allow location updates with higher deviation (div) - Improved selection of usable beacons for multilateration (div)
- Added
getMeanLocation
convenience method (div) - Added getters and setters for various filters and thresholds (div)
maximumMovementSpeed
indoorPositioningBeaconFilter
usableIndoorPositioningBeaconFilter
rootMeanSquareThreshold
minimumRssiThreshold
Multilateration
- Added getter for
rootMeanSquare
property (div)
Beacon
- Added and improved convenience methods (e.g.
hasBeenSeenInThePast(long duration, TimeUnit timeUnit)
) - Fixed issues when adding or removing advertising packtes from different threads (div)
Beacon Manager
- Fixed issues when adding or removing
BeaconUpdateListener
from different trheads (div)
Beacon Distance Calculator
Beacon Util
- Added convenience methods (div)
getSmallestDistance(List<? extends Beacon> beaconList)
getClosestBeacon(List<? extends Beacon> beaconList)
calculateRssiForDistance(Beacon beacon, float distance)
iBeacon Filter
- Added support for multiple
proximityUuids
(div)
iBeacon and Eddystone Location Provider
- Both classes are now abstract and need to implement (div)
updateLocation()
canUpdateLocation()
Advertising Packet Factory
AdvertisingPacketFactory
is now an abstract class for the generic type<AP extends AdvertisingPacket>
that can hold sub-factoriesAdvertisingPacketFactoryManager
,IBeaconAdvertisingPacketFactory
andEddystoneAdvertisingPacketFactory
have been adjusted accordingly (div)
Location
- Added
elevation
property (div)elevation
describes the relative height to the floor (e.g. 2.5 meters)altitude
describes the distance to the sea level (e.g. 200 meters)
Location Util
- Added
LocationUtil
class with convenience methods (div)calculateMeanLocation(List<Location> locationList)
getLocationsBetween(List<Location> locationList, long minimumTimestamp, long maximumTimestamp)
getLocationsFromLast(List<Location> locationList, long amount, TimeUnit timeUnit)
getLocationsSince(List<Location> locationList, long timestamp)
getLocationsBefore(List<Location> locationList, long timestamp)
Tests
- Improved coverage by 19.24% (coverage report)