Comments (10)
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.
from ubxlib.
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.
from ubxlib.
Great, thanks, let me see what they say...
from ubxlib.
Right, have had a discussion with AE, the AT sequence is fine so we need visibility from another angle. A few options:
- 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.
- Are you able to take a log (e.g. Wireshark, or just an MQTT message log) on the broker side at all?
- 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.
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.
from ubxlib.
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.
Could you possibly send me a direct message so that we can continue there?
from ubxlib.
This was moved to direct comms, closing - please re-open if there are still concerns.
from ubxlib.
Related Issues (20)
- how to enable multiple selected messageId.id.pNmea msg types HOT 5
- capture all UBX data from GNSS module HOT 13
- Compiling in ubxlib triggers SecureFault in Trusted Firmware-M on nrf9160 HOT 12
- Cell Network Up Keep Going Callback Fails at Tick Wrap-Around HOT 1
- AT Client Character Wait Fails Once Ticks Wrap Beyond INT32_MAX HOT 2
- Some 64-bit milliseconds tick values were not migrated to 32-bit HOT 30
- Assistance Requested for Configuring ubxlib for LEAN_R8 on Linux HOT 131
- Problems selecting cipher suites HOT 16
- +CME ERROR: Operation not allowed HOT 11
- SARA-R510M8S: How to use cellular network and GNSS network simultaneously? HOT 5
- print ubxlib output to usb on nrf52840 dongle using Zephyr HOT 31
- SPI interface for short-range devices HOT 2
- uCellSockCleanup HOT 13
- Using pppd with LARA-R6 via USB HOT 31
- Function rand() do not provide a return status HOT 2
- C2C seems not to have a session counter HOT 2
- AssistNow for SARA-R510M8S HOT 4
- Support for NEO-F9P-15 Base & Rover HOT 11
- few tick timeout comparison and other issues/improvements: HOT 6
- Unable to connect to AWS following example HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubxlib.