Thor77 / Blueproximity

Run a command once a bluetooth device is in/out of a range
GNU General Public License v2.0
66 stars 15 forks source link

Proximity command called twice in each interval #36

Open Thor77 opened 7 years ago

Thor77 commented 7 years ago

««« While investigating an unrelated issue, I found that blueproximity calls the proximity command twice as often as configured.

Steps to reproduce:

I would expect to see a timestamp every ~50 seconds... instead I see two. Here's my specific result:

Fri Jan 2 01:52:07 CET 2009 Fri Jan 2 01:52:25 CET 2009 Fri Jan 2 01:53:07 CET 2009 Fri Jan 2 01:53:25 CET 2009 Fri Jan 2 01:54:08 CET 2009 Fri Jan 2 01:54:24 CET 2009 Fri Jan 2 01:55:08 CET 2009 »»»

Please see https://bugs.launchpad.net/ubuntu/+source/blueproximity/+bug/313040 . A patch is provided there.