android - Google Nearby Connection API: measure signal strength -


recently found seemingly cool way communicate between devices using google nearby api. skimming through documentation didn't answer question - possible measure connection signal strength in real time, or should invent kludges e.g. measuring time of sending , receiving data or else?

thank you.

as developer of nearby api stated in thread google nearby messages - cancel initial link between devices :

today, nearby doesn't expose distance directly

he suggests use ble rsii instead

you can rough approximation of distance measuring ble rssi if 1 of devices capable of ble advertising. sensitive how device held, antenna gain , environmental factors better random.

there's not straight-forward "tape measure" api, though.


Comments