Removed MQTT_INCLUDE_PRIVATE_DIRS from the CMake config files
because there are no header files in there and files in that directory are
not referenced in any #include in any library source, tests, or demos.
* Update CMake infrastructure for repository to be self-sufficient for building targets
* Update GitHub CI workflow to only use build infrastructure of the repository
* Separate out variables for lightweight and managed MQTT sources
* Update all MQTT demos' CMakeLists.txt to build MQTT sources along with their demo binaries
* Update CMakeLists.txt of unit and integration tests for updates to mqttFilePaths.cmake
* Get all unit tests to pass
* Update integration tests to common transport interface
* Update OpenSSL send and recv to poll
* Update OpenSSL send and recv
* Update plaintext demo to use common transport interface and removal of warnings
* Get mutual auth demo to compile but not returning successfully
* Remove usage of poll in OpenSSL transport send/recv
* Update based on latest changes to OpenSSL transport recv
* Make certs directory if not exist
* Add reconnection logic to mqtt basic tls demo
* Add reconnection logic to lightweight demo and update transport interface
* Make all demos consistent with each other
* Update CBMC proofs to follow suit
* Remove unnecessary includes
* Add missing time.h include to mqtt_demo_plaintext
* Remove unnecessary cast for network context buffer
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* Address PR comments
* Refactor Clock_GetTimeMs into clock_posix.c
* Fix accidental replace
* Remove accidentally pushed certificate
* Remove time.h include from mqtt plaintext demo
* Update demos/mqtt/mqtt_demo_lightweight/mqtt_demo_lightweight.c
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* Update demos/mqtt/mqtt_demo_mutual_auth/mqtt_demo_mutual_auth.c
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* Update demos/mqtt/mqtt_demo_mutual_auth/mqtt_demo_mutual_auth.c
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* Update demos/mqtt/mqtt_demo_mutual_auth/mqtt_demo_mutual_auth.c
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* Address PR comments
* Address PR comments
* Fix error in fixing merge conflict
* Fix redefinition of NetworkContext_t in mqtt_config.h
* Fix PUBREC comment in demos/mqtt/mqtt_demo_basic_tls/mqtt_demo_basic_tls.c
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* Fix PUBREC comment in demos/mqtt/mqtt_demo_basic_tls/mqtt_demo_basic_tls.c
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* Address PR comments
* Address PR comments
* Remove test assert for packet type != MQTT_PACKET_TYPE_PINGRESP
* Add back handling of MQTT_PACKET_TYPE_PINGRESP
* Add MQTT_PACKET_TYPE_PINGRESP log for mqtt system test
* Address PR comments
* Update library name of transport_posix
* Address PR comments and add reconnect logic changes
* Update comment in demos
* Remove accidentally pushed cert
* Update demos
* Add missing closing parenthesis
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>