Skip to content

Commit

Permalink
tweak default IL SDK settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MGasztold committed Oct 14, 2022
1 parent 06051a9 commit 0d56a7b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ class MyIndoorLocationProvider(private val context: Context) : IndoorLocationPro
BackgroundNotification.getForegroundServiceNotification(context)
)

mIndoorLocationManager.setCanUseGPSLocationProvider(true)
mIndoorLocationManager.setModeOfOperation(Configuration.MODE_STABLE)
mIndoorLocationManager.setRssiThreshold(-95)
mIndoorLocationManager.setAccuracyThreshold(30)
mIndoorLocationManager.setModeOfOperation(Configuration.MODE_BLE_CORRECTIVE)
mIndoorLocationManager.setIndoorLocationDelegate(this)
mIndoorLocationManager.setParticleFilterSpread(0.6,0.5)
mIndoorLocationManager.setParticleFilterSpread(0.3,0.15)

mIndoorLocationManager.setBackgroundBetweenScanPeriod(10000)
mIndoorLocationManager.setBackgroundScanPeriod(5000)
Expand Down

0 comments on commit 0d56a7b

Please sign in to comment.