linjmeyer / tilt-pitch

Simple replacement for the Tilt Hydrometer mobile apps and TiltPi with lots of features
GNU General Public License v3.0
51 stars 16 forks source link

Beacon scanning packet types too broad #14

Closed astephon88 closed 4 years ago

astephon88 commented 4 years ago

As currently configured, the beacon scanner returns any beacon type it detects. Since _beacon_callback is assuming everything it receives is an iBeacon packet, it may try to access fields that don't exist. For example, I am frequently picking up ExposureNotificationFrame packets that do not contain a uuid, which causes tilt-pitch to crash when trying to access that field.

linjmeyer commented 4 years ago

Fixed in v0.7.1