mirror of
https://github.com/FreeRTOS/coreMQTT
synced 2025-06-06 11:48:52 +08:00

* 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>
21 lines
773 B
CMake
21 lines
773 B
CMake
# This file is to add source files and include directories
|
|
# into variables so that it can be reused from different repositories
|
|
# in their Cmake based build system by including this file.
|
|
#
|
|
# Files specific to the repository such as test runner, platform tests
|
|
# are not added to the variables.
|
|
|
|
# MQTT library source files.
|
|
set( MQTT_SOURCES
|
|
"${MODULES_DIR}/standard/mqtt/src/mqtt.c"
|
|
"${MODULES_DIR}/standard/mqtt/src/mqtt_state.c"
|
|
"${MODULES_DIR}/standard/mqtt/src/mqtt_lightweight.c" )
|
|
|
|
# MQTT library Public Include directories.
|
|
set( MQTT_INCLUDE_PUBLIC_DIRS
|
|
"${MODULES_DIR}/standard/mqtt/include"
|
|
"${PLATFORM_DIR}/include" )
|
|
|
|
# MQTT library Private Include directories.
|
|
set( MQTT_INCLUDE_PRIVATE_DIRS
|
|
"${MODULES_DIR}/standard/mqtt/src" ) |