mirror of
https://github.com/FreeRTOS/coreMQTT
synced 2025-10-19 11:18:06 +08:00

MQTTv5 Library preview Description ----------- - This change adds the client implementation of MQTT version 5 CONNECT, CONNACK, Outgoing PUBLISH, PUBLISH ACKS, Incoming PUBLISH, SUBSCRIBE, SUBACK, UNSUBSCRIBE, UNSUBACK, DISCONNECT. - Existing data structures and functions are modified, and some new functions are added to serialize and deserialize the packets. - Plaintext Demo for reference ( https://github.com/adituc/FreeRTOS/blob/pooja-main-branch/FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTTV5_Plain_Text/DemoTasks/PlaintextMQTTExampleV5.c ) Test Steps ----------- - Unit Tests are added for all new and modified features. - Unit Tests for MQTTv5 functions are added in a separate folder in test.
22 lines
822 B
CMake
22 lines
822 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
|
|
"${CMAKE_CURRENT_LIST_DIR}/source/core_mqtt.c"
|
|
"${CMAKE_CURRENT_LIST_DIR}/source/core_mqtt_state.c")
|
|
|
|
# MQTT Serializer library source files.
|
|
set( MQTT_SERIALIZER_SOURCES
|
|
"${CMAKE_CURRENT_LIST_DIR}/source/core_mqtt_serializer.c"
|
|
"${CMAKE_CURRENT_LIST_DIR}/source/core_mqtt_utils.c" )
|
|
|
|
# MQTT library Public Include directories.
|
|
set( MQTT_INCLUDE_PUBLIC_DIRS
|
|
"${CMAKE_CURRENT_LIST_DIR}/source/include"
|
|
"${CMAKE_CURRENT_LIST_DIR}/source/interface" )
|