A small footprint MQTT library
Dependents: STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more
Diff: azure_umqtt_c/mqtt_message.h
- Revision:
- 29:7bb0aae34648
- Parent:
- 21:31e5c245bf26
diff -r 35eea447689a -r 7bb0aae34648 azure_umqtt_c/mqtt_message.h --- a/azure_umqtt_c/mqtt_message.h Mon Jun 11 15:40:18 2018 -0700 +++ b/azure_umqtt_c/mqtt_message.h Tue Sep 11 11:14:10 2018 -0700 @@ -4,6 +4,9 @@ #ifndef MQTT_MESSAGE_H #define MQTT_MESSAGE_H +#include "azure_umqtt_c/mqttconst.h" +#include "azure_c_shared_utility/umock_c_prod.h" + #ifdef __cplusplus #include <cstdint> #include <cstddef> @@ -14,9 +17,6 @@ #include <stddef.h> #endif // __cplusplus -#include "azure_umqtt_c/mqttconst.h" -#include "azure_c_shared_utility/umock_c_prod.h" - typedef struct MQTT_MESSAGE_TAG* MQTT_MESSAGE_HANDLE; MOCKABLE_FUNCTION(, MQTT_MESSAGE_HANDLE, mqttmessage_create_in_place, uint16_t, packetId, const char*, topicName, QOS_VALUE, qosValue, const uint8_t*, appMsg, size_t, appMsgLength);