Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎆 Only do BLE matching on the phone for unprocessed BLE Scans #1154

Merged
merged 4 commits into from
May 11, 2024

Commits on May 7, 2024

  1. fill in new BLE fields & update types

    `ble_sensed_mode` and `ble_sensed_summary` were added to sections and confirmed trips in e-mission/e-mission-server#965.
    
    We are going to need `ble_sensed_mode` to determine vehicle info.
    
    The section summaries (`ble_sensed_summary`, `cleaned_section_summary` and `inferred_section_summary`) are not used in unprocessed trips currently, but I am adding them so there is less of a gap between composite trips and unprocessed trips
    JGreenlee committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1260e76 View commit details
    Browse the repository at this point in the history
  2. use only unprocessed BLE scans in label tab

    Since we have matching on the server, processed sections will already have BLE sensed modes filled in. We no longer need to query for all BLE scans; only unprocessed ones (ie newer than pipeline end ts).
    Then while we are constructing unprocessed trips, the list of unprocessed BLE scans will be used to determine BLE sensed modes.
    
    We no longer need timelineBleMap and won't treat BLE scans like user inputs anymore. For 'confirmedMode', instead of using timelineBleMap, we will use the ble_sensed_mode of the primary section. New simple function in diaryHelper to deternmine the primary section.
    JGreenlee committed May 7, 2024
    Configuration menu
    Copy the full SHA
    7130347 View commit details
    Browse the repository at this point in the history
  3. use e-mission-common 0.4.4

    I was just using the latest / master branch to test, but it should really be locked to a release
    JGreenlee committed May 7, 2024
    Configuration menu
    Copy the full SHA
    48eca9d View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    2b0f4af View commit details
    Browse the repository at this point in the history