RT-Thread / RT-Thread/rt-thread
在bsp/qemu-virt64-aarch64示例中使能umqtt后无法subscribe
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
rt-thread内核使能了smart,网络使能LwIP,均测试没问题。在online packages里边使能umqtt,然后选择编译示例程序(umqtt_ex_start等)。最后使用未经修改的qemu.sh脚本启动rt-thread。
在msh中键入umqtt_ex_start后rtt成功连接到后端mosquitto(mosquitto经测试配置没问题,freertos的coremqtt可以正常交互),但是当键入umqtt_ex_subscribe topic/test后输出:
[E/umqtt] subscribe recv message timeout! topic: topic/test
从而导致无法正常订阅MQTT主题。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in the bsp/qemu-virt64-aarch64 example using the unmodified qemu.sh script: enable smart, LwIP, and umqtt, then run umqtt_ex_start and umqtt_ex_subscribe topic/test from msh. Compare the connection and subscription behavior with the mosquitto backend; done means subscribing to topic/test no longer ends with the reported message timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100