Hello!
I am trying to save both the accelerometer and gyroscope high frequency data at 25sps to a fit file by creating the corresponding fields in the active session. The documentation shows that a message can only contain 256 bytes of data, and if I try to save the raw values from the SensorData object (32bit Numbers) I end up with 32bits / 8bytes * 25sps * 6axis (gyro+accel) = 600 bytes. Moreover, the limit for an specific data field is 32 bits, and, once again, trying to save the war data from a single axis to a data field in a fit file would require 32bits / 8bytes * 25sps = 100 bytes.
Before committing to do stupid stuff, I wanted to ask whether there is a fancy/optimal way to solve this issue, since I imagine more people will be facing it. I thought about splitting the 25 samples I gather every second into two different data fields to go around the field length limitation, and to cast the data to smaller data types to solve the problem with the overall message length. Nevertheless, it turns out I would need to cast it to DATA_TYPE_SINT8 for it to fit into the 256 bytes requited, and 1 byte of resolution is not enough for my application.
Any help or advice will be highly appreciated.