03-14-2020, 03:36 PM
The "abc" is the name of the buffer that you want to read. I am planning a method to get a list of available buffers, but right now you have to look into the experiment configuration to find the names for each experiment. So, for example for the accelerometer, you can find (https://github.com/Staacks/phyphox-exper...yphox#L229) that there are the buffers "accX", "accY", "accZ", "acc" and "acc_time", which are x, y and z of the accelerometer as well as the absolute value and the timestamps to each sensor event.
/get?accX
should give you the last x value of the accelerometer
/get?accY=full&acc_time=full
should give you the all y values and the coresponding times
/get?acc_time=10
should give you all times after the first entry that exceeds 10 (in this case all times after 10 seconds)
/get?acc_time=10&acc=10|acc_time
should give you all times after the first entry that exceeds 10 (in this case all times after 10 seconds) as well as all absolute acceleration values coresponding to timestamps larger than 10 seconds (the "|" means that the given threshold is applied to a different buffer, in this case acc_time).
/get?accX
should give you the last x value of the accelerometer
/get?accY=full&acc_time=full
should give you the all y values and the coresponding times
/get?acc_time=10
should give you all times after the first entry that exceeds 10 (in this case all times after 10 seconds)
/get?acc_time=10&acc=10|acc_time
should give you all times after the first entry that exceeds 10 (in this case all times after 10 seconds) as well as all absolute acceleration values coresponding to timestamps larger than 10 seconds (the "|" means that the given threshold is applied to a different buffer, in this case acc_time).