Skip to content

Eddystone URL problem #23

Description

@TFoxik

Hi, Id1 is returning wrong data. The problem is that when you set the beacon for maximum length (which can be up 20 bytes ... it is frame type (1byte), tx power (1byte), URL scheme (1byte) and 1-17 bytes for URL) id1 contains also URL scheme as the first byte. Therefore the last byte of the URL is not shown.

Can you pls test this?

Example:
if you set a beacon for http://aaaabbbbccccdddd.com id1 returns https://aaaabbbbccccdddd instead of aaaabbbbccccdddd.com ("http://" and ".com" can be converted to 1 byte each but the difference is that https:// or other prefixes should be in separate byte flag, not in URL)

I hope it is understandable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions