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

lib: location: Add support for GCI cell #11549

Merged
merged 2 commits into from
Jun 28, 2023
Merged

Commits on Jun 28, 2023

  1. lib: location: Add support for GCI cell

    Support added for GCI (surrounding) cells in cellular positioning.
    NCELLMEAS=2 is used by default. If we don’t find X cells,
    do NCELLMEAS=4,Y, where Y=5-X.
    X is requested cell count and run-time configurable through
    cell_count member of struct location_cellular_config and
    build time configurable through
    CONFIG_LOCATION_REQUEST_DEFAULT_CELLULAR_CELL_COUNT.
    
    Cellular timeout will change to apply only for NCELLMEAS
    operation ignoring the cloud communication.
    Same change for Wi-Fi timeout.
    
    GCI search can be disabled completely by setting
    CONFIG_LOCATION_REQUEST_DEFAULT_CELLULAR_CELL_COUNT=0
    
    Jira: NCSDK-21877
    
    Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
    trantanen authored and tokangas committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    0ae3662 View commit details
    Browse the repository at this point in the history
  2. lib: lte_link_control: Protect ncellmeas with semaphore

    We need to protect execution of AT%NCELLMEAS with a semaphore.
    Otherwise a client that calls new lte_lc_neighbor_cell_measurement()
    right after receiving LTE_LC_EVT_NEIGHBOR_CELL_MEAS event,
    may get -EINPROGRESS error code even though AT%NCELLMEAS
    notification had been received.
    
    Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
    trantanen authored and tokangas committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    8f99fa2 View commit details
    Browse the repository at this point in the history