Skip to content

Provide WiFi AP and Serial Menu function to open a new log file with new filename based on current time #344

@tonycanike

Description

@tonycanike

Subject of the issue

Provide the user with the ability to open a clean fresh log file after configuring the rates, messages, etc.

The user should be able to correlate the log file datetime in the filename with the start of their logging session. This is important when post-processing multiple log files from multiple occupations.

Currently the power-on time is used to name the log file. The power-on time is not the same as the time the logging session actually started, as the user may need to configure the logging with the WiFi AP.

Also see #341 and #346.

Your workbench

Facet (the version before the nice cases, someday I'll write down the product number :)
Firmware 2.5 and also the 10/1/2022 RC version.

Steps to reproduce & Actual Behavior

  1. User sets up Facet on tripod over a point.
  2. User turns on Facet. (Facet automatically begins logging to files.)
  3. User begins WiFI AP configuration.
  4. User configures rates, messages, and logging as necessary for the project.
  5. User saves configuration and exit. Facet restarts.
  6. NOTE: This moment is the start of the Static Logging Session the user desires. User writes down the UTC start time of the logging session.
  7. Facet unfortunately reopens old log file (sometimes very old even when newer files exist, but that's issue Log files with old date in filename created/used when turning logging on and off #343 )
  8. Facet starts logging to old file.
  9. Log file has messages from before it was properly configured.
  10. Log file possibly has corrupted messages from when the user was configuring the Facet via AP and consuming system resources.
  11. Four hours later user turns off Facet
  12. Log file names don't match the time of the actual logging session starttime. User gets confused.
  13. Much wrangling with SD cards and cables ensues (Copy ubx files by usb cable or FTP? #323 would help.)
  14. UBX_Integrity_checker.py complains about many resyncs in the first 10-15 minutes of the UBX file. (there are others hours into the session too, but that's issue Log file corruption #345 .)
  15. Much wrangling with RTKCONV ensues.
  16. User discovers old, even very old, log messages in file.
  17. User spends much time with RTKCONV to try to delete old messages in the log. Meanwhile his friends with Sokkia and Carlson GNSS receivers have long-since finished sending their data to OPUS and they laugh at me while drinking their beers. :)
  18. RINEX file submitted to OPUS.
  19. OPUS complains loudly.

Expected behavior

Ideally, the user would be able to change logging configuration, close and open log files, create new log files, etc., without rebooting the Facet.

Ideally, the user would be able to connect to the WiFI AP configuration page to check the progress of the logging (approx location, log file name, message rates, messages configured, log file size, SD free space, signal strengths, satellites, etc.) without disrupting the logging.

We don't always get the everything we want, and the Facet is an amazing device at the price point and we totally know it.

So here's a use case:

Sample Sufficient Use Case: Static PPP Logging

  1. User sets up Facet on tripod over a point.
  2. User turns on Facet. (Facet automatically begins logging to files.)
  3. User begins WiFI AP configuration.
  4. User configures rates, messages, and logging as necessary for the project.
  5. User saves configuration.
  6. User re-enters configuration menu, verifies rates, messages, etc.
  7. User Exits and Resets. User writes down the UTC time. Facet restarts.
  8. Facet reopens NEW log file and starts logging. Log filename is within a minute of the time written down in the above step.
  9. Log file doesn't have any messages from before it was properly configured and restarted
  10. Four hours later user turns off Facet
  11. Log filename datetime matches (+/- one minutes) the UTC time of the start of the logging session.
  12. Much wrangling with SD cards, cables, RTKCONV, and file management occurs. (gosh these are separate topics from this issue.)
  13. UBX_Integrity_checker.py finds no resyncs.
  14. RINEX file submitted to OPUS.
  15. OPUS provides accurate solution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions