-
Notifications
You must be signed in to change notification settings - Fork 1
Custom QR Code Content Format
Daniel Chu edited this page Apr 7, 2021
·
12 revisions
Experiment Automata uses a custom QR code content format to represent experiments, trials and trial results. The Experiment Automata QR codes contain strings that are split into fields. Content is packed into a string for ease of integration with zxing and zxing embedded.
Current implementation of our custom QR content format. QR content is stored as a string of ease of use with libaries.
Type Case | Description | Content | Character offset |
---|---|---|---|
All | Automata header | "ATMA" | 0-3 |
All | Experiment UUID | UUID | 4-40 (l:36) |
All | Type specifier | 'e','t','b','c','m' | 41 |
b | Binomial result | 't','f' | 42 |
n | NaturalCount Result | int | 42: |
m | Measurement Result | float | 42: |
These are the types found in the "Type specifier" field in our Custom QR Code
Type Representation | Description |
---|---|
e | Experiment Only |
m | Measurement Trial Record |
b | Binomial Trial Record |
c | Count Trial Record |
n | Natural Trial Record |
This is the old specification for QR codes as they are were implemented in part 3. It only represents an Experiment.
Description | Content | Character offset |
---|---|---|
Automata header | "ATMA" | 0-3 |
Content UUID | UUID | 4-40 |