How to calculate distance to a lighthouse based on tx, rssi and accuracy

I use petermetz / cordova-plugin-ibeacon to detect beacons around my mobile device. And I see that the plugins provide the following information about , for example beacon

uuid, major, minor, rssi, tx.accuracy

I want to know what, in fact , and ? How can I use these three values ​​( , and ) to calculate the distance of the beacon? rssi tx accuracyrssi tx accuracy

I looked through this documentation: What is broadcast power, RSSI and other characteristics of a beacon? but didn’t get the information I was looking for, or its level is too high for me to understand.

Thanks so much for all your feedback.

+4
source share
1 answer

The cordova-plugin-ibeacon is a wrapper around the CoreLocation platform on iOS and .

Full disclosure: I am the lead developer of the Android Beacon Library project.

+7
source

All Articles