Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supporting split data uris over multiple QR codes #11

Open
mofosyne opened this issue Sep 6, 2015 · 0 comments
Open

supporting split data uris over multiple QR codes #11

mofosyne opened this issue Sep 6, 2015 · 0 comments

Comments

@mofosyne
Copy link
Owner

mofosyne commented Sep 6, 2015

My current approach is to have one tag act as the manifest, and then scan the rest. (this mean the manifest tag needs to be of a different marking physically to indicate that it should be scanned first.)

Also if going for embedded headers on each data tags like 1: 2: 3: etc... we need some way to indicate that this is the case in the manifest.

So perhaps:

datauri:plain/text;seq=["1:","2:","3:"], start then 1: first then 2: second then 3: thirdwould decode as start first second third

This approach would make it easy to construct a data uri by hand. Also it would be pretty obvious by paintext to see how it works (which is useful if reading without an app as plain text).

Also this approach allow for stuff like seq=["head","body","footer"] kind of approach. Which might be useful in some context (e.g. maybe a html page with interchangeable style)


Or... for easier parsing of sequence headers

  • ;seq=1:+2:+3:
  • 1:<CONTENT> 2:<CONTENT> 3:<CONTENT>

For crc matching (not a practical guarantee of out of order scanning. More of a safeguard during in order scanning.)

  • crc4=<crc single hex char><crc single hex char><crc single hex char> - 3 crc 4bit in seq e.g. crc4=DE4
  • crc=<CRC Hex>_<CRC Hex>_<CRC Hex>_{ETC...} variable length CRC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant