Before, there were only 2 events that were thrown out by the tag tracker; one when a tag arrived (came into range) and another whenever a tag departed. The problem was, unless people were actually moving into and out of range of the receiver, there was nothing going on. That's not really an inherently bad thing, but from my web-app's view it WAS very similar to what would happen if the client were totally non-functional (powered down, error'd out, etc). In order to allow applications to be sure that nothing's happened, tag-it now also sends out a "pulse" event every 180 seconds (including an array of currently in range tags). Get the latest with
gem install tag-it

No comments:
Post a Comment