GPS buffer and report ===================== The store-and-forward layer that lets the GPS Pro log for hours with the modem off. Positions go into a ring of binary files; once per ``422`` interval the whole ring is compressed (when the MicroPython build has a writable ``deflate``), base64-encoded and sent as the ``GPSBuffer=`` field of one report request. The record layout is specified in :doc:`/gpspro/datatypes/gps-buffer`. Ring buffer ----------- .. autofunction:: gpspro.firmware_core.log_gps_point .. autofunction:: gpspro.firmware_core.read_gps_buffer_bytes .. autofunction:: gpspro.firmware_core.clear_gps_buffer .. autofunction:: gpspro.firmware_core.ensure_buffer_format .. autofunction:: gpspro.firmware_core._gps_buf_path Encoding -------- .. autofunction:: gpspro.firmware_core.gzip_bytes .. autofunction:: gpspro.firmware_core.encode_gps_buffer Report request / response ------------------------- .. autofunction:: gpspro.firmware_core.build_higps_data .. autofunction:: gpspro.firmware_core.higps_report_url .. autofunction:: gpspro.firmware_core.handle_server_response .. autofunction:: gpspro.firmware_core.higps_ack_url