dmihai03 opened a new pull request, #3415:
URL: https://github.com/apache/nuttx-apps/pull/3415
## Summary
Modify the switch cases in parsearg function for QOS levels definition. The
comparison was made between a long value and a char.
## Impact
All the 2 levels of QOS are now supported by the mqtt publisher example.
## Testing
*Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.*
Host used for build:
- OS: Linux 6.18.9-arch1-2
- CPU: AMD Ryzen 7 5800HS
- compiler: xtensa-esp32-elf-gcc
Target used for verification:
- board: ESP32C3
- config: esp32-devkitc:wifi
Connected the board to laptop's hotspot and dumped the packets in Wireshark.
The broker used in testing is broker.hivemq.com.
For every QOS level the right handshakes are triggered.
QOS 1 handshake:
<img width="887" height="160" alt="image"
src="https://github.com/user-attachments/assets/665955b3-5bc6-4e5d-9ebd-e674d84eb7a6"
/>
QOS 2 handshake:
<img width="889" height="215" alt="image"
src="https://github.com/user-attachments/assets/de6cd882-4c87-490d-a499-2c981d5e4b2a"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]