Cordova-plugin-eddystone distance calculation

Discuss mobile apps for Estimote products.
tenot
Posts: 1
Joined: 09:06, 29 Feb 2016

Cordova-plugin-eddystone distance calculation

Postby tenot » 09:17, 29 Feb 2016

Hello, I am trying to calculate the distace in meters using the txPower and RSSI. After some searching I have found a formulas using these values, but there I have to use txPower that indicates the signal strength in 1 meter.

I wanted to use your https://www.npmjs.com/package/cordova-plugin-eddystone#plugin-implementation-details

but according to your plugin the value
{number} txPower - A signed integer, the signal strength in decibels, factory-measured at a range of 0 meters.


Please could you provide me a mathematical formula, for transforming the 0 meter txPower to 1 meter txPower. Thank you!

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Cordova-plugin-eddystone distance calculation

Postby micke » 14:00, 29 Feb 2016

Hi,

I see the problem, commonly used beacon distance calculation formulas use txPower at 1 meters, while the Eddystone specification uses txPower at 0 meters. Found a note in the Eddystone specification indicating that it should work to subtract 41 from the reported txPower value at 0 meters:

Note to developers: the best way to determine the precise value to put into this field is to measure the actual output of your beacon from 1 meter away and then add 41dBm to that. 41dBm is the signal loss that occurs over 1 meter.


https://github.com/google/eddystone/tre ... ower-level

Let me know how it goes!

Best regards, Mikael

jonathanbordoli
Posts: 2
Joined: 17:02, 28 Mar 2016

Re: Cordova-plugin-eddystone distance calculation

Postby jonathanbordoli » 17:21, 28 Mar 2016

Does the power hence distance calculation change with battery life so as the battery on the beacon runs down the power and distances will be less or does the hardware somehow accommodate this


Return to “Estimote”

Who is online

Users browsing this forum: No registered users and 1 guest