Git Product home page Git Product logo

Comments (2)

RobMeades avatar RobMeades commented on May 24, 2024

Thanks! I hope you find it useful.

Ref. direct link mode, I've not looked into it but I guess there's no reason for it not to be supported other than it just hasn't made it to the list yet. @hkro manages what order we do things in but I'll have a quick look to see how much effort it would be.

from ubxlib.

RobMeades avatar RobMeades commented on May 24, 2024

Had a very quick look and I guess direct link mode would be supported something like this:

  • Add an API uCellSockDirectLinkStart(int32_t cellHandle, int32_t sockHandle): this would put the whole cellular interface into direct link mode with the given socket. The AT parser would stop receiving characters on the UART port, leaving it for the application to handle. Any attempt to use a cellular API while direct mode is active should probably return a specific error code, e.g. U_CELL_ERROR_DIRECT_LINK_ACTIVE.
  • Add an API uCellSockDirectLinkStop(int32_t cellHandle): this would wait for 2 seconds, send the "+++" sequence to leave direct mode and then reconnect the AT parser once more, probably sending "AT" and waiting for "OK" to determine that it is done.
  • Should probably also add an API to configure the various direct link parameters.

Does that sound like the right approach? I can't give you a timescale for doing it right now, will need to discuss that internally, just wanted to check if this is what you were thinking of.

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.