google / eddystone

Specification for Eddystone, an open beacon format from Google
Apache License 2.0
3.07k stars 761 forks source link

Question: Beacon with no power #227

Open laccf opened 6 years ago

laccf commented 6 years ago

I'm using EID to my solution and sometimes a beacon gets their battery out of power. So i'm having problems with the sync with the Google Resolver, to resolve this beacon that stopped clocks it's clock. Anyone knows how much time it takes to the Google Solver solve this issue?

Here and here says respectively:

The Google Proximity Beacon API uses sightings of the beacon to infer each beacon's characteristic clock drift in order to ensure high reliability. The system is robust against power outages of several days, though re-synchronising the beacon clock's offset may take some time for longer outages.

The trusted resolver should implement resolution over a time window sufficient to allow for both reasonable clock drift and this type of power loss recovery.

So, i'm wondering if the google api is a trusted resolver, because i'm lossing lots of beacons and all the time that I loose a beacon I have to register the beacon again and set it up again.

adriancretu commented 6 years ago

If the beacon internally loses its registration clock offset and its Identity Key, you can consider it dead. Since the EID "resolving" is nothing more than a huge database, it's useless to try a "clock drift resync" (whatever that means) if the beacon is computing the new EIDs using an incorrect current timestamp (in hours, days, or years). To recover and restart EID beacon which lost power you'd need a few pieces of information:

So my guess is that your problem is related to not being able to continue advertising of an existing EID beacon.