{"action":"created","issue":{"url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/12","labels_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/12/comments","events_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/12/events","html_url":"https://github.com/kontaktio/Android-SDK/issues/12","id":88434536,"number":12,"title":"Beacon distance inconsistancy","user":{"login":"subbu1234","id":12848738,"avatar_url":"https://avatars.githubusercontent.com/u/12848738?v=3","gravatar_id":"","url":"https://api.github.com/users/subbu1234","html_url":"https://github.com/subbu1234","followers_url":"https://api.github.com/users/subbu1234/followers","following_url":"https://api.github.com/users/subbu1234/following{/other_user}","gists_url":"https://api.github.com/users/subbu1234/gists{/gist_id}","starred_url":"https://api.github.com/users/subbu1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subbu1234/subscriptions","organizations_url":"https://api.github.com/users/subbu1234/orgs","repos_url":"https://api.github.com/users/subbu1234/repos","events_url":"https://api.github.com/users/subbu1234/events{/privacy}","received_events_url":"https://api.github.com/users/subbu1234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-15T13:54:06Z","updated_at":"2015-06-16T12:31:51Z","closed_at":null,"body":"We are using Kontakt sdk for detecting beacons in our applications. We observed that distance not showing correctly. Its varying every time even though we are in same place ( with out moving )."},"comment":{"url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/comments/112408577","html_url":"https://github.com/kontaktio/Android-SDK/issues/12#issuecomment-112408577","issue_url":"https://api.github.com/repos/kontaktio/Android-SDK/issues/12","id":112408577,"user":{"login":"dawidgdanski","id":1949918,"avatar_url":"https://avatars.githubusercontent.com/u/1949918?v=3","gravatar_id":"","url":"https://api.github.com/users/dawidgdanski","html_url":"https://github.com/dawidgdanski","followers_url":"https://api.github.com/users/dawidgdanski/followers","following_url":"https://api.github.com/users/dawidgdanski/following{/other_user}","gists_url":"https://api.github.com/users/dawidgdanski/gists{/gist_id}","starred_url":"https://api.github.com/users/dawidgdanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawidgdanski/subscriptions","organizations_url":"https://api.github.com/users/dawidgdanski/orgs","repos_url":"https://api.github.com/users/dawidgdanski/repos","events_url":"https://api.github.com/users/dawidgdanski/events{/privacy}","received_events_url":"https://api.github.com/users/dawidgdanski/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T12:31:51Z","updated_at":"2015-06-16T12:31:51Z","body":"Hey @subbu1234 , the distance is heavily dependent on the Rssi value which is calculated by the System. The Rssi control is one of the things we are working on. In v1.0.6 there is a possibility to leverage the distance by providing customized method of Rssi calculation. During `BeaconManager`'s configuration part you can set custom `RssiCalculator` and thus make the distance variations smoother. By default, the SDK provides [LimitedMeanRssiCalculator](http://kontaktio.github.io/Android-SDK/Javadoc/com/kontakt/sdk/android/data/RssiCalculators.LimitedMeanRssiCalculator.html) calculating Rssi value based on `n` previous Rssi values so I think this may help you somehow.\r\n Alternatively, you can provide your own [CustomRssiCalculator](http://docs.kontakt.io/android-sdk/javadoc/com/kontakt/sdk/android/data/RssiCalculators.CustomRssiCalculator.html). "}}