The server API supports uploading multiple measurements in a single request. Right now we do one request per measurement, which obviously is not optimal.
See the API repo for docs on the measurements endpoint.
We could either build the request out of the DataPacket list at upload time, or maybe build up the request body as each measurement is recorded. The former would be a easier to implement.
The server API supports uploading multiple measurements in a single request. Right now we do one request per measurement, which obviously is not optimal.
See the API repo for docs on the
measurementsendpoint.We could either build the request out of the
DataPacketlist at upload time, or maybe build up the request body as each measurement is recorded. The former would be a easier to implement.