google / eddystone

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

iOS Sample App - Obj-C #30

Closed christopherdro closed 9 years ago

christopherdro commented 9 years ago

When trying to run the scanner from the project written in Objective, I get this error. Unsupported frame type (0) detected. Ignoring.

Swift build works just fine after a small adjustment. Posted a PR fixing this.

Any ideas?

marcwan commented 9 years ago

Hey Christopher. Thanks for the report — that's not actually a bug. Basically, the 0 here is the value from ESSFrameType in ESSEddystone.h. It's almost certainly a URL frame from one of the Eddystones. The sample scanner doesn't parse or understand these, so it just prints a message and ignores them.

I might go through later and add support for these, but for now the key things we wanted to demonstrate were the pairing of UID and TLM frames.