u-blox / ubxlib

Portable C libraries which provide APIs to build applications with u-blox products and services. Delivered as add-on to existing microcontroller and RTOS SDKs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AssistNow for SARA-R510M8S

elektron314 opened this issue · comments

Hello, am I missing something, or didn't understand the right application of the AssistNow? I don't understand how to use it with SARA-R510M8S.
In the assist_now_main.c file it says next:

/** @brief This example demonstrates how to use the u-blox AssistNow
 * services to improve the time to first fix of your GNSS device; it may
 * be used where you have a GNSS device connected directly to this MCU
 * (so not connected via an intermediate cellular module).

But what should I use or how should I act if my GNSS block is inside of the cell module?
Or perhaps I chose the wrong technology for my module to integrate.

Hi Aleks, apologies for the confusion. That example is the gnss example for the AssistNow service:

image

...which knows nothing about cellular. You can, of course, use it with a GNSS chip inside a cellular module if you wish, but that is probably not the right thing to do because the FW of the cellular module is intended to do that management for you. The location examples are intended to cover the location problem overall, where CellLocate is the thing that manages the GNSS chip inside the cellular module for you:

image

There are APIs to configure the AssistNow features of CellLocate in u_cell_loc.h (the AssistNow configuration part around here) but we don't address those APIs in the example because, once you use CellLocate, by default, if you do nothing, AssistNow Online and AssistNow Autonomous are both switched on, which is usually the optimal setting. Despite the name, CellLocate will use position from the in-built GNSS chip and drop back to cellular-based position if it is unable to establish GNSS position.

Thank you! I got it working now.

Going to close this one as I believe you have been able to resolve things.

yes, sure, thank you!