Marwan141 / MinQTT

A minimalistic implementation of an MQTT Client library, with built-in encryption options.
2 stars 0 forks source link

Added the PINGREQ and the PINGRESP packet #4

Closed Marwan141 closed 1 month ago

Marwan141 commented 1 month ago

This pull request introduces functionality for handling MQTT PINGREQ and PINGRESP packets, along with some code cleanup and refactoring. The most important changes include the addition of a new function to read PINGRESP packets, modifications to the main event loop to handle keep-alive messages, and updates to the packet module to support PINGREQ packets.

MQTT Keep-Alive Functionality:

Packet Type Enhancements:

Code Cleanup: