Git Product home page Git Product logo

Comments (10)

RobMeades avatar RobMeades commented on May 23, 2024

Hi Alex - what are you setting the QoS to? If you want to guarantee that only one will arrive you should use U_MQTT_QOS_EXACTLY_ONCE.

from ubxlib.

alexmaron81 avatar alexmaron81 commented on May 23, 2024

image

from ubxlib.

RobMeades avatar RobMeades commented on May 23, 2024

That would seem correct: could you possibly paste into here an AT log of the exact sequence, which I could use to show your problem to our application engineering guys?

from ubxlib.

alexmaron81 avatar alexmaron81 commented on May 23, 2024

image

from ubxlib.

RobMeades avatar RobMeades commented on May 23, 2024

Great, thanks, let me see what they say...

from ubxlib.

RobMeades avatar RobMeades commented on May 23, 2024

Right, have had a discussion with AE, the AT sequence is fine so we need visibility from another angle. A few options:

  1. Are you able to get at the USB port of the module? Specifically, would it be possible to attach a Windows PC to that USB port only after powering the module up? If so, you could obtain a log from it (I will tell you how). It needs to only be connected after powering the module up as, if the module detects something plugged into the USB port at boot it will switch to only accepting AT commands over the USB port and NOT over the UART port, which would prevent your MCU talking to it.
  2. Are you able to take a log (e.g. Wireshark, or just an MQTT message log) on the broker side at all?
  3. Would you be willing to share log-in details for the broker with us, in which case we could reproduce the problem here?

from ubxlib.

alexmaron81 avatar alexmaron81 commented on May 23, 2024

I would like to try the first variant.
I just have to figure out how to connect the USB port. Is it a problem if the VCC pin gets the V_SYS voltage and then the RSVD/VUSB_DET is powered by the USB? The circuit board was developed for us, so I don't have much of a clue.
image

from ubxlib.

RobMeades avatar RobMeades commented on May 23, 2024

The critical moment is when PWR_ON is briefly pulled low to effect the power on process. At that point the module boots and checks if the USB is connected (I guess it probably just checks whether 5V is present on the VUSB _DET line).

The ubxlib code will be toggling PWR_ON at your command (either when you call uNetworkAdd() or maybe you are calling uCellPwrOn() directly, I can't recall now). When it does this the USB must NOT be connected. Once it has done that, you can plug in the USB to obtain logs. I will need to get you the stuff for doing that actual log capturing on the Windows PC side of course.

from ubxlib.

RobMeades avatar RobMeades commented on May 23, 2024

Could you possibly send me a direct message so that we can continue there?

from ubxlib.

RobMeades avatar RobMeades commented on May 23, 2024

This was moved to direct comms, closing - please re-open if there are still concerns.

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.