Comments (5)
Hi @z3r0g2017! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
from zephyr.
mqtt_input()
returns -ENOTCONN (-128) in case underlying TCP/TLS connection was closed. If you're using qemu_86, it's fairly simple to monitor network traffic with wireshark, just attach it to the corresponding network interface. That should shed some light on whether it's just the peer closing the connection for whatever reason, or some bug in the networking stack.
from zephyr.
I got it to work (hack) with qos1 by handling the mqtt disconnect event which is a noop in the original source code and using a return
instead. qos0 is the default when run with qemu_x86. What is the correct config to use for qos1 in the prj.conf or the KConfig ?
from zephyr.
What is the correct config to use for qos1 in the prj.conf or the KConfig ?
There's CONFIG_AWS_QOS
defined in the sample's Kconfig file.
by handling the mqtt disconnect event which is a noop in the original source code and using a return instead.
Looking at the sample's code, this change should literally make no difference, the callback returns anyway just after getting MQTT_EVT_DISCONNECT
event.
from zephyr.
@z3r0g2017 Do we need to keep this open, given you got the sample to work? I don't know what the bug would be here.
If you still need help here, please provide wireshark logs showing when the client disconnects. Otherwise, please close the issue.
from zephyr.
Related Issues (20)
- mimxrt1170_evk: USB mass (next) sample triggers Bus Fault HOT 4
- ARCMWDT: Some of POSIX tests are broken
- Doc: Graphviz fontcolor switched between light and dark themes
- drivers: flash: common: drivers.flash.common.default fails
- Doc: Graphviz figures do not use the same font as the documentation
- tests: dma: chan_blen_transfer: test breaks if DMA cannot access flash HOT 1
- x86: missing call to `k_mem_paging_eviction_accessed()`
- riscv: SOCs that require custom `__reset` routine stopped working
- Demo project `sensor_shell` not fitting in `stm32h7sXi` mcu family HOT 3
- `bt_conn_tx_processor` does not use reference-counting
- logging: Log module strings placed in invalid flash
- How can I configure WiFi SoftAP on Zephyr RTOS with ESP32S3 without using shell commands. HOT 1
- tfm: Build issues with some tests (posix, newlib) HOT 1
- esp32: temp sensor fails due to constructor attribute
- MIMXRT1160_EVK touch screen not working HOT 1
- USB-HS not working in stm32h747i_disco with device_next HOT 2
- RFC: bus transaction timestamps for sensors
- drivers: serial: uart_cdns: fix interrupt driven for shell HOT 1
- xtensa: false triple faults due to registers not being zeroed at boot
- Logger on ESP32C3 does not work HOT 1
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 zephyr.