Git Product home page Git Product logo

Comments (4)

RobMeades avatar RobMeades commented on July 19, 2024

Hi eeFLis: having discussed this with @philwareublox, suggestion is that we make the delay a conditionally-compiled value, implemented as a #ifndef/#define/#endif kinda thing and add a note to:

/** Refresh the RF status values. Call this to refresh
* RSSI, RSRP, RSRQ, Cell ID, EARFCN, etc. This way all of the
* values read are synchronised to a given point in time. The
* radio parameters stored by this function are cleared on
* disconnect and reboot.
*
* @param cellHandle the handle of the cellular instance.
* @return zero on success, negative error code on
* failure.
*/
int32_t uCellInfoRefreshRadioParameters(uDeviceHandle_t cellHandle);

...pointing it out and suggesting that an application where power/timing is important (your case) might override it to 0 and manage any timing in the application instead.

Would that work?

from ubxlib.

eeFLis avatar eeFLis commented on July 19, 2024

Yes, that works for us.
Out of curiosity, do you see a problem if the function is called in a loop without the delay?
As the response from the module is awaited, the module should not be overtasked.

from ubxlib.

RobMeades avatar RobMeades commented on July 19, 2024

Good, change should be here in an hour or two.

Out of curiosity, do you see a problem if the function is called in a loop without the delay?

I added that delay because I found in the past that a module didn't like being hit with the radio refresh-related commands frequently. However, I can't recall now which module that was and it may, of course, be something that has since been fixed, hence my [unhelpful] answer is "no, unless you see one" :-).

from ubxlib.

RobMeades avatar RobMeades commented on July 19, 2024

Fix can be found in 87a0a2c, will close this now: please feel free to re-open if there is more to discuss,

from ubxlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.