1
0
mirror of https://github.com/FreeRTOS/coreMQTT synced 2025-05-13 13:49:41 +08:00

10 Commits

Author SHA1 Message Date
SarenaAWS
93c15bdab8
Move transport_interface.h from portable/ to interface/ (#91)
* Move transport_interface.h to interface/ folder.

* Replace all paths to portable with interface.
2020-10-28 14:53:06 -07:00
SarenaAWS
494684fe1a
Remove unused include directory from the CMakeLists. (#72)
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.
2020-09-25 11:00:49 -07:00
Archit Aggarwal
d355bfa259
Re-brand lightweight MQTT as MQTT serializer (#29)
Rename all instance of "lightweight" MQTT with "serializer" in files and documentation
2020-09-03 14:56:32 -07:00
Archit Aggarwal
b655a0781f
Remove dependency on MODULE_DIR_ROOT from filepath script (#17) 2020-08-31 16:46:01 -07:00
Archit Aggarwal
e83fadcfc7
Rename MQTT files, and Relocate CBMC and unit-test files (#12)
* Relocate CBMC to test/cbmc and unit test files to test/unit-test

* Rename all library and test files to use "core_" prefix
2020-08-31 10:02:38 -07:00
Archit Aggarwal
52ffc3af7f
Enable Cmake builds (#8)
* Update CMake infrastructure for repository to be self-sufficient for building targets
* Update GitHub CI workflow to only use build infrastructure of the repository
2020-08-28 14:47:22 -07:00
Archit Aggarwal
f2581e5da5
Re-structure files (#3)
* Relocate library, test and doc files

* Add transport interface from C-SDK

* Update file path in mqttFilePaths.cmake
2020-08-27 16:29:26 -07:00
Archit Aggarwal
ff330f7ffc Fix config include path conflict for MQTT demos (#1165)
* 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
2020-08-26 12:42:13 -07:00
Oscar Michael Abrina
8b48da8f27 Add reconnection logic to all MQTT demos and update to use common transport interface (#1036)
* 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>
2020-07-10 12:19:24 -07:00
Archit Aggarwal
92e5f74419 Fix issues with CMake setup for http and mqtt (#938) 2020-05-14 12:14:42 -07:00