09-05-2018, 10:24 PM
You have found it yourself
It might not be entirely up to date as I have written this part a while ago, but most of it should be correct. I intent to review this in the next days and then link it properly within the wiki.
For the QR codes, you have two options:
A: Just upload your experiment somewhere and put the URL (http:// or phyphox://) in a QR-Code using any QR-Code generator on the web. This is simple and these codes are easy to scan, but they require an internet connection when scanning, which is not available at some schools.
B: You can create a QR code that contains the experiment itself. We the version of the editor matching the beta version will be able to do this, but there are still a few bugs to be fixed. So, once again, in the next days... These codes can be a bit cumbersome, because there can be a lot of data in an experiment and sometimes (if you want to include an icon and some translations), you need to split the experiment into multiple QR codes. But the advantage is that this works without any internet connection and can be done in any school.
In both cases, the experiment does not need to be a plain text phyphox-file, but you can simply place your phyphox-file in a zip file. For B you certainly should do this to save some space. For A, this will allow you to submit a whole collection of experiments within a single QR code.
If you want to get your hands dirty, you can try to create a QR code of type B yourself. Here is the explanation from the source code:
It might not be entirely up to date as I have written this part a while ago, but most of it should be correct. I intent to review this in the next days and then link it properly within the wiki.
For the QR codes, you have two options:
A: Just upload your experiment somewhere and put the URL (http:// or phyphox://) in a QR-Code using any QR-Code generator on the web. This is simple and these codes are easy to scan, but they require an internet connection when scanning, which is not available at some schools.
B: You can create a QR code that contains the experiment itself. We the version of the editor matching the beta version will be able to do this, but there are still a few bugs to be fixed. So, once again, in the next days... These codes can be a bit cumbersome, because there can be a lot of data in an experiment and sometimes (if you want to include an icon and some translations), you need to split the experiment into multiple QR codes. But the advantage is that this works without any internet connection and can be done in any school.
In both cases, the experiment does not need to be a plain text phyphox-file, but you can simply place your phyphox-file in a zip file. For B you certainly should do this to save some space. For A, this will allow you to submit a whole collection of experiments within a single QR code.
If you want to get your hands dirty, you can try to create a QR code of type B yourself. Here is the explanation from the source code:
Code:
//The QR code contains the experiment itself. The first 13 bytes are:
// p h y p h o x [crc32] [i] [n]
//"phyphox" as string (7 bytes)
//crc32 hash (big endian) of the submitted experiment (has to be the same for each qr code if the experiment is spread across multiple codes)
//i is the index of this code in a sequence of n code (starting at zero, so i starts at 0 and end with n-1
//n is the total number of codes for this experiment