From e84782e8d9f061a85b6f8054fb062f146d8767e4 Mon Sep 17 00:00:00 2001 From: AniruddhaKanhere Date: Fri, 25 Oct 2024 01:44:24 +0000 Subject: [PATCH] Doxygen for f1827d8b46703f1c5ff05d21b34692d3122c9a04 --- main/annotated.html | 5 +- main/classes.html | 2 +- main/core__mqtt_8c.html | 330 ++++++++-- main/core__mqtt_8h.html | 383 ++++++++++-- main/core__mqtt_8h_source.html | 579 ++++++++++-------- main/core__mqtt__serializer_8c.html | 117 ++-- main/core__mqtt__serializer_8h.html | 116 ++-- main/core__mqtt__serializer_8h_source.html | 547 +++++++++-------- main/core__mqtt__state_8c.html | 20 +- main/core__mqtt__state_8h.html | 20 +- main/core__mqtt__state_8h_source.html | 8 +- main/functions.html | 9 + main/functions_vars.html | 9 + main/globals_defs.html | 1 + main/globals_eval.html | 2 + main/globals_func.html | 14 +- main/globals_h.html | 2 +- main/globals_m.html | 23 +- main/globals_s.html | 2 +- main/globals_type.html | 3 + main/globals_u.html | 1 + main/group__mqtt__enum__types.html | 13 +- main/group__mqtt__enum__types.js | 4 +- main/group__mqtt__struct__types.js | 5 +- main/index.html | 6 +- main/mqtt.tag | 156 ++++- main/mqtt_connect_function.html | 38 +- main/mqtt_deserializeack_function.html | 6 +- main/mqtt_deserializepublish_function.html | 14 +- main/mqtt_disconnect_function.html | 6 +- main/mqtt_getconnectpacketsize_function.html | 6 +- ...mqtt_getdisconnectpacketsize_function.html | 2 +- ...tincomingpackettypeandlength_function.html | 8 +- main/mqtt_getpacketid_function.html | 4 +- main/mqtt_getpingreqpacketsize_function.html | 2 +- main/mqtt_getpublishpacketsize_function.html | 16 +- main/mqtt_getsubackstatuscodes_function.html | 14 +- .../mqtt_getsubscribepacketsize_function.html | 12 +- ...qtt_getunsubscribepacketsize_function.html | 4 +- main/mqtt_init_function.html | 18 +- main/mqtt_ping_function.html | 6 +- main/mqtt_processloop_function.html | 6 +- main/mqtt_publish_function.html | 22 +- main/mqtt_publishtoresend_function.html | 20 +- main/mqtt_receiveloop_function.html | 10 +- main/mqtt_serializeack_function.html | 8 +- main/mqtt_serializeconnect_function.html | 14 +- main/mqtt_serializedisconnect_function.html | 10 +- main/mqtt_serializepingreq_function.html | 10 +- main/mqtt_serializepublish_function.html | 12 +- .../mqtt_serializepublishheader_function.html | 16 +- main/mqtt_serializesubscribe_function.html | 12 +- main/mqtt_serializeunsubscribe_function.html | 12 +- main/mqtt_status_strerror_function.html | 2 +- main/mqtt_subscribe_function.html | 18 +- main/mqtt_unsubscribe_function.html | 14 +- main/navtreeindex0.js | 5 + main/search/all_10.js | 3 +- main/search/all_11.js | 5 +- main/search/all_13.js | 11 +- main/search/all_14.js | 3 +- main/search/all_2.js | 33 +- main/search/all_7.js | 2 +- main/search/all_b.js | 296 ++++----- main/search/all_e.js | 3 +- main/search/classes_0.js | 3 +- main/search/defines_4.js | 3 +- main/search/enumvalues_0.js | 48 +- main/search/functions_6.js | 2 +- main/search/functions_9.js | 84 +-- main/search/functions_c.js | 2 +- main/search/searchdata.js | 2 +- main/search/typedefs_0.js | 9 +- main/search/variables_1.js | 7 +- main/search/variables_10.js | 3 +- main/search/variables_11.js | 3 +- main/search/variables_12.js | 4 + main/search/variables_a.js | 3 +- main/search/variables_c.js | 3 +- main/search/variables_d.js | 3 +- main/struct_m_q_t_t_context__t.html | 12 + main/struct_m_q_t_t_vec.html | 162 +++++ 82 files changed, 2239 insertions(+), 1194 deletions(-) create mode 100644 main/search/variables_12.js create mode 100644 main/struct_m_q_t_t_vec.html diff --git a/main/annotated.html b/main/annotated.html index a6fc635c1..c3dae27ef 100644 --- a/main/annotated.html +++ b/main/annotated.html @@ -110,8 +110,9 @@  CMQTTPubAckInfo_tAn element of the state engine records for QoS 1 or Qos 2 publishes  CMQTTPublishInfo_tMQTT PUBLISH packet parameters  CMQTTSubscribeInfo_tMQTT SUBSCRIBE packet parameters - CTransportInterface_tThe transport layer interface - CTransportOutVector_tTransport vector structure for sending multiple messages + CMQTTVec_tAn opaque structure provided by the library to the MQTTStorePacketForRetransmit function when using MQTTStorePacketForRetransmit + CTransportInterface_tThe transport layer interface + CTransportOutVector_tTransport vector structure for sending multiple messages diff --git a/main/classes.html b/main/classes.html index 9f280d2e0..a07f634e7 100644 --- a/main/classes.html +++ b/main/classes.html @@ -104,7 +104,7 @@
M
-
MQTTConnectInfo_t
MQTTContext_t
MQTTDeserializedInfo_t
MQTTFixedBuffer_t
MQTTPacketInfo_t
MQTTPubAckInfo_t
MQTTPublishInfo_t
MQTTSubscribeInfo_t
+
MQTTConnectInfo_t
MQTTContext_t
MQTTDeserializedInfo_t
MQTTFixedBuffer_t
MQTTPacketInfo_t
MQTTPubAckInfo_t
MQTTPublishInfo_t
MQTTSubscribeInfo_t
MQTTVec
T
TransportInterface_t
TransportOutVector_t
diff --git a/main/core__mqtt_8c.html b/main/core__mqtt_8c.html index 9d1e68e94..0a3c3d8f1 100644 --- a/main/core__mqtt_8c.html +++ b/main/core__mqtt_8c.html @@ -98,6 +98,7 @@
core_mqtt.c File Reference
@@ -112,6 +113,12 @@ #include "core_mqtt_state.h"
#include "core_mqtt_config_defaults.h"
+ + + + +

+Data Structures

struct  MQTTVec_t
 An opaque structure provided by the library to the MQTTStorePacketForRetransmit function when using MQTTStorePacketForRetransmit. More...
 
- - - - - - + + + + + + @@ -233,6 +240,9 @@ + + + @@ -275,6 +285,12 @@ + + + + + +

Macros

@@ -209,12 +216,12 @@
static MQTTStatus_t handleUncleanSessionResumption (MQTTContext_t *pContext)
 Resends pending acks for a re-established MQTT session.
 
static void handleCleanSession (MQTTContext_t *pContext)
 Clears existing state records for a clean session.
 
static MQTTStatus_t sendPublishWithoutCopy (MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, const uint8_t *pMqttHeader, size_t headerSize, uint16_t packetId)
 Send the publish packet without copying the topic string and payload in the buffer.
 
static MQTTStatus_t handleCleanSession (MQTTContext_t *pContext)
 Clears existing state records for a clean session.
 
static MQTTStatus_t sendPublishWithoutCopy (MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint8_t *pMqttHeader, size_t headerSize, uint16_t packetId)
 Send the publish packet without copying the topic string and payload in the buffer.
 
static MQTTStatus_t validatePublishParams (const MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
 Function to validate MQTT_Publish parameters.
 
MQTTStatus_t MQTT_InitStatefulQoS (MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
 Initialize an MQTT context for QoS > 0.
 
MQTTStatus_t MQTT_InitRetransmits (MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction)
 Initialize an MQTT context for publish retransmits for QoS > 0.
 
MQTTStatus_t MQTT_CancelCallback (const MQTTContext_t *pContext, uint16_t packetId)
 Cancels an outgoing publish callback (only for QoS > QoS0) by removing it from the pending ACK list.
 
const char * MQTT_Status_strerror (MQTTStatus_t status)
 Error code to string conversion for MQTT statuses.
 
size_t MQTT_GetBytesInMQTTVec (MQTTVec_t *pVec)
 Get the bytes in a MQTTVec pointer which can store the whole array as a an MQTT packet when calling MQTT_SerializeMQTTVec( void * pAllocatedMem, MQTTVec_t *pVec ) function.
 
void MQTT_SerializeMQTTVec (uint8_t *pAllocatedMem, MQTTVec_t *pVec)
 Serialize the bytes in an array of MQTTVec in the provided pAllocatedMem.
 

Detailed Description

Implements the user-facing functions in core_mqtt.h.

@@ -1460,8 +1476,8 @@

-

◆ handleCleanSession()

+ +

◆ handleCleanSession()

- -

◆ sendPublishWithoutCopy()

+ +

◆ sendPublishWithoutCopy()

// However, the memory pointed to by the fixedBuffer.pBuffer must remain in scope.
}
-
MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
Initialize an MQTT context.
Definition: core_mqtt.c:2568
+
MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
Initialize an MQTT context.
Definition: core_mqtt.c:2679
@ MQTTSuccess
Definition: core_mqtt_serializer.h:88
struct NetworkContext NetworkContext_t
The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
Definition: transport_interface.h:191
-
A struct representing an MQTT connection.
Definition: core_mqtt.h:174
-
Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
Definition: core_mqtt.h:258
-
Buffer passed to MQTT library.
Definition: core_mqtt_serializer.h:126
-
size_t size
Size of buffer.
Definition: core_mqtt_serializer.h:128
-
uint8_t * pBuffer
Pointer to buffer.
Definition: core_mqtt_serializer.h:127
-
MQTT incoming packet parameters.
Definition: core_mqtt_serializer.h:247
+
A struct representing an MQTT connection.
Definition: core_mqtt.h:233
+
Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
Definition: core_mqtt.h:332
+
Buffer passed to MQTT library.
Definition: core_mqtt_serializer.h:130
+
size_t size
Size of buffer.
Definition: core_mqtt_serializer.h:132
+
uint8_t * pBuffer
Pointer to buffer.
Definition: core_mqtt_serializer.h:131
+
MQTT incoming packet parameters.
Definition: core_mqtt_serializer.h:251
The transport layer interface.
Definition: transport_interface.h:299
TransportSend_t send
Definition: transport_interface.h:301
TransportRecv_t recv
Definition: transport_interface.h:300
@@ -2017,8 +2034,129 @@

// Now QoS1 and/or QoS2 publishes can be sent with this context.
}
-
MQTTStatus_t MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
Initialize an MQTT context for QoS > 0.
Definition: core_mqtt.c:2627
-
An element of the state engine records for QoS 1 or Qos 2 publishes.
Definition: core_mqtt.h:163
+
MQTTStatus_t MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
Initialize an MQTT context for QoS > 0.
Definition: core_mqtt.c:2738
+
An element of the state engine records for QoS 1 or Qos 2 publishes.
Definition: core_mqtt.h:222
+

+
+ + +

◆ MQTT_InitRetransmits()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MQTTStatus_t MQTT_InitRetransmits (MQTTContext_tpContext,
MQTTStorePacketForRetransmit storeFunction,
MQTTRetrievePacketForRetransmit retrieveFunction,
MQTTClearPacketForRetransmit clearFunction 
)
+
+ +

Initialize an MQTT context for publish retransmits for QoS > 0.

+

This function must be called on an MQTTContext_t after MQTT_InitstatefulQoS and before any other function.

+
Parameters
+ + + + + +
[in]pContextThe context to initialize.
[in]storeFunctionUser defined API used to store outgoing publishes.
[in]retrieveFunctionUser defined API used to retreive a copied publish for resend operation.
[in]clearFunctionUser defined API used to clear a particular copied publish packet.
+
+
+
Returns
MQTTBadParameter if invalid parameters are passed; MQTTSuccess otherwise.
+

Example

// Function for obtaining a timestamp.
+
uint32_t getTimeStampMs();
+
// Callback function for receiving packets.
+
void eventCallback(
+
MQTTContext_t * pContext,
+
MQTTPacketInfo_t * pPacketInfo,
+
MQTTDeserializedInfo_t * pDeserializedInfo
+
);
+
// Network send.
+
int32_t networkSend( NetworkContext_t * pContext, const void * pBuffer, size_t bytes );
+
// Network receive.
+
int32_t networkRecv( NetworkContext_t * pContext, void * pBuffer, size_t bytes );
+
// User defined callback used to store outgoing publishes
+
bool publishStoreCallback(struct MQTTContext* pContext,
+
uint16_t packetId,
+
MQTTVec_t* pIoVec);
+
// User defined callback used to retreive a copied publish for resend operation
+
bool publishRetrieveCallback(struct MQTTContext* pContext,
+
uint16_t packetId,
+ +
size_t* ioVecCount);
+
// User defined callback used to clear a particular copied publish packet
+
bool publishClearCallback(struct MQTTContext* pContext,
+
uint16_t packetId);
+
// User defined callback used to clear all copied publish packets
+
bool publishClearAllCallback(struct MQTTContext* pContext);
+
+
MQTTContext_t mqttContext;
+ +
MQTTFixedBuffer_t fixedBuffer;
+
uint8_t buffer[ 1024 ];
+
const size_t outgoingPublishCount = 30;
+
MQTTPubAckInfo_t outgoingPublishes[ outgoingPublishCount ];
+
+
// Clear context.
+
memset( ( void * ) &mqttContext, 0x00, sizeof( MQTTContext_t ) );
+
+
// Set transport interface members.
+
transport.pNetworkContext = &someTransportContext;
+
transport.send = networkSend;
+
transport.recv = networkRecv;
+
+
// Set buffer members.
+
fixedBuffer.pBuffer = buffer;
+
fixedBuffer.size = 1024;
+
+
status = MQTT_Init( &mqttContext, &transport, getTimeStampMs, eventCallback, &fixedBuffer );
+
+
if( status == MQTTSuccess )
+
{
+
// We do not expect any incoming publishes in this example, therefore the incoming
+
// publish pointer is NULL and the count is zero.
+
status = MQTT_InitStatefulQoS( &mqttContext, outgoingPublishes, outgoingPublishCount, NULL, 0 );
+
+
// Now QoS1 and/or QoS2 publishes can be sent with this context.
+
}
+
+
if( status == MQTTSuccess )
+
{
+
status = MQTT_InitRetransmits( &mqttContext, publishStoreCallback,
+
publishRetrieveCallback,
+
publishClearCallback,
+
publishClearAllCallback );
+
+
// Now unacked Publishes can be resent on an unclean session resumption.
+
}
+
MQTTStatus_t MQTT_InitRetransmits(MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction)
Initialize an MQTT context for publish retransmits for QoS > 0.
Definition: core_mqtt.c:2795
+
Transport vector structure for sending multiple messages.
Definition: transport_interface.h:249
@@ -2149,7 +2287,7 @@

Returns
MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTRecvFailed if transport receive failed for CONNACK; MQTTNoDataAvailable if no data available to receive in transport until the timeoutMs for CONNACK; MQTTSuccess otherwise.
+
Returns
MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTRecvFailed if transport receive failed for CONNACK; MQTTNoDataAvailable if no data available to receive in transport until the timeoutMs for CONNACK; MQTTStatusConnected if the connection is already established MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTPublishRetrieveFailed if on an unclean session connection, the copied publishes are not retrieved successfully for retransmission MQTTSuccess otherwise.
Note
This API may spend more time than provided in the timeoutMS parameters in certain conditions as listed below:
  1. Timeouts are incorrectly configured - If the timeoutMS is less than the transport receive timeout and if a CONNACK packet is not received within the transport receive timeout, the API will spend the transport receive timeout (which is more time than the timeoutMs). It is the case of incorrect timeout configuration as the timeoutMs parameter passed to this API must be greater than the transport receive timeout. Please refer to the transport interface documentation for more details about timeout configurations.
  2. @@ -2196,24 +2334,24 @@

    // Do something with the connection.
    }
    -
    MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
    Establish an MQTT session.
    Definition: core_mqtt.c:2757
    +
    MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
    Establish an MQTT session.
    Definition: core_mqtt.c:2908
    MQTTStatus_t
    Return codes from MQTT functions.
    Definition: core_mqtt_serializer.h:87
    -
    @ MQTTQoS0
    Definition: core_mqtt_serializer.h:113
    -
    MQTT CONNECT packet parameters.
    Definition: core_mqtt_serializer.h:136
    -
    const char * pClientIdentifier
    MQTT client identifier. Must be unique per client.
    Definition: core_mqtt_serializer.h:150
    -
    const char * pUserName
    MQTT user name. Set to NULL if not used.
    Definition: core_mqtt_serializer.h:160
    -
    bool cleanSession
    Whether to establish a new, clean session or resume a previous session.
    Definition: core_mqtt_serializer.h:140
    -
    uint16_t userNameLength
    Length of MQTT user name. Set to 0 if not used.
    Definition: core_mqtt_serializer.h:165
    -
    uint16_t keepAliveSeconds
    MQTT keep alive period.
    Definition: core_mqtt_serializer.h:145
    -
    uint16_t clientIdentifierLength
    Length of the client identifier.
    Definition: core_mqtt_serializer.h:155
    -
    uint16_t passwordLength
    Length of MQTT password. Set to 0 if not used.
    Definition: core_mqtt_serializer.h:175
    -
    const char * pPassword
    MQTT password. Set to NULL if not used.
    Definition: core_mqtt_serializer.h:170
    -
    MQTT PUBLISH packet parameters.
    Definition: core_mqtt_serializer.h:205
    -
    MQTTQoS_t qos
    Quality of Service for message.
    Definition: core_mqtt_serializer.h:209
    -
    uint16_t topicNameLength
    Length of topic name.
    Definition: core_mqtt_serializer.h:229
    -
    size_t payloadLength
    Message payload length.
    Definition: core_mqtt_serializer.h:239
    -
    const char * pTopicName
    Topic name on which the message is published.
    Definition: core_mqtt_serializer.h:224
    -
    const void * pPayload
    Message payload.
    Definition: core_mqtt_serializer.h:234
    +
    @ MQTTQoS0
    Definition: core_mqtt_serializer.h:117
    +
    MQTT CONNECT packet parameters.
    Definition: core_mqtt_serializer.h:140
    +
    const char * pClientIdentifier
    MQTT client identifier. Must be unique per client.
    Definition: core_mqtt_serializer.h:154
    +
    const char * pUserName
    MQTT user name. Set to NULL if not used.
    Definition: core_mqtt_serializer.h:164
    +
    bool cleanSession
    Whether to establish a new, clean session or resume a previous session.
    Definition: core_mqtt_serializer.h:144
    +
    uint16_t userNameLength
    Length of MQTT user name. Set to 0 if not used.
    Definition: core_mqtt_serializer.h:169
    +
    uint16_t keepAliveSeconds
    MQTT keep alive period.
    Definition: core_mqtt_serializer.h:149
    +
    uint16_t clientIdentifierLength
    Length of the client identifier.
    Definition: core_mqtt_serializer.h:159
    +
    uint16_t passwordLength
    Length of MQTT password. Set to 0 if not used.
    Definition: core_mqtt_serializer.h:179
    +
    const char * pPassword
    MQTT password. Set to NULL if not used.
    Definition: core_mqtt_serializer.h:174
    +
    MQTT PUBLISH packet parameters.
    Definition: core_mqtt_serializer.h:209
    +
    MQTTQoS_t qos
    Quality of Service for message.
    Definition: core_mqtt_serializer.h:213
    +
    uint16_t topicNameLength
    Length of topic name.
    Definition: core_mqtt_serializer.h:233
    +
    size_t payloadLength
    Message payload length.
    Definition: core_mqtt_serializer.h:243
    +
    const char * pTopicName
    Topic name on which the message is published.
    Definition: core_mqtt_serializer.h:228
    +
    const void * pPayload
    Message payload.
    Definition: core_mqtt_serializer.h:238
    @@ -2265,7 +2403,7 @@

    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
    +
    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.

    Example

    // Variables used in this example.
    MQTTStatus_t status;
    MQTTSubscribeInfo_t subscriptionList[ NUMBER_OF_SUBSCRIPTIONS ] = { 0 };
    @@ -2295,12 +2433,12 @@

    // If the broker accepts the subscription we can now receive publishes

    // on the requested topics.
    }
    -
    uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
    Get a packet ID that is valid according to the MQTT 3.1.1 spec.
    Definition: core_mqtt.c:3340
    -
    MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
    Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
    Definition: core_mqtt.c:2884
    -
    MQTT SUBSCRIBE packet parameters.
    Definition: core_mqtt_serializer.h:183
    -
    MQTTQoS_t qos
    Quality of Service for subscription.
    Definition: core_mqtt_serializer.h:187
    -
    uint16_t topicFilterLength
    Length of subscription topic filter.
    Definition: core_mqtt_serializer.h:197
    -
    const char * pTopicFilter
    Topic filter to subscribe to.
    Definition: core_mqtt_serializer.h:192
    +
    uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
    Get a packet ID that is valid according to the MQTT 3.1.1 spec.
    Definition: core_mqtt.c:3491
    +
    MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
    Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
    Definition: core_mqtt.c:3035
    +
    MQTT SUBSCRIBE packet parameters.
    Definition: core_mqtt_serializer.h:187
    +
    MQTTQoS_t qos
    Quality of Service for subscription.
    Definition: core_mqtt_serializer.h:191
    +
    uint16_t topicFilterLength
    Length of subscription topic filter.
    Definition: core_mqtt_serializer.h:201
    +
    const char * pTopicFilter
    Topic filter to subscribe to.
    Definition: core_mqtt_serializer.h:196
    @@ -2345,7 +2483,7 @@

    Returns
    MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
    +
    Returns
    MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTPublishStoreFailed if the user provided callback to copy and store the outgoing publish packet fails MQTTSuccess otherwise.

    Example

    // Variables used in this example.
    MQTTStatus_t status;
    MQTTPublishInfo_t publishInfo;
    @@ -2370,8 +2508,8 @@

    // Since the QoS is > 0, we will need to call MQTT_ReceiveLoop()

    // or MQTT_ProcessLoop() to process the publish acknowledgments.
    }
    -
    MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
    Publishes a message to the given topic name.
    Definition: core_mqtt.c:2939
    -
    @ MQTTQoS1
    Definition: core_mqtt_serializer.h:114
    +
    MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
    Publishes a message to the given topic name.
    Definition: core_mqtt.c:3090
    +
    @ MQTTQoS1
    Definition: core_mqtt_serializer.h:118
    @@ -2398,7 +2536,7 @@

    Returns
    MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
    +
    Returns
    MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.
    @@ -2450,7 +2588,7 @@

    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
    +
    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.

    Example

    // Variables used in this example.
    MQTTStatus_t status;
    MQTTSubscribeInfo_t unsubscribeList[ NUMBER_OF_SUBSCRIPTIONS ] = { 0 };
    @@ -2479,7 +2617,7 @@

    // We must now call MQTT_ReceiveLoop() or MQTT_ProcessLoop() to receive the UNSUBACK.

    // After this the broker should no longer send publishes for these topics.
    }
    -
    MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
    Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
    Definition: core_mqtt.c:3149
    +
    MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
    Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
    Definition: core_mqtt.c:3300
    @@ -2506,7 +2644,7 @@

    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTSuccess otherwise.
    +
    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTStatusNotConnected if the connection is already disconnected MQTTSuccess otherwise.
    @@ -2535,7 +2673,7 @@

    Note
    Calling this function blocks the calling context for a time period that depends on the passed the configuration macros, MQTT_RECV_POLLING_TIMEOUT_MS and MQTT_SEND_TIMEOUT_MS, and the underlying transport interface implementation timeouts, unless an error occurs. The blocking period also depends on the execution time of the MQTTEventCallback_t callback supplied to the library. It is recommended that the supplied MQTTEventCallback_t callback does not contain blocking operations to prevent potential non-deterministic blocking period of the MQTT_ProcessLoop API call.
    -
    Returns
    MQTTBadParameter if context is NULL; MQTTRecvFailed if a network error occurs during reception; MQTTSendFailed if a network error occurs while sending an ACK or PINGREQ; MQTTBadResponse if an invalid packet is received; MQTTKeepAliveTimeout if the server has not sent a PINGRESP before MQTT_PINGRESP_TIMEOUT_MS milliseconds; MQTTIllegalState if an incoming QoS 1/2 publish or ack causes an invalid transition for the internal state machine; MQTTNeedMoreBytes if MQTT_ProcessLoop has received incomplete data; it should be called again (probably after a delay); MQTTSuccess on success.
    +
    Returns
    MQTTBadParameter if context is NULL; MQTTRecvFailed if a network error occurs during reception; MQTTSendFailed if a network error occurs while sending an ACK or PINGREQ; MQTTBadResponse if an invalid packet is received; MQTTKeepAliveTimeout if the server has not sent a PINGRESP before MQTT_PINGRESP_TIMEOUT_MS milliseconds; MQTTIllegalState if an incoming QoS 1/2 publish or ack causes an invalid transition for the internal state machine; MQTTNeedMoreBytes if MQTT_ProcessLoop has received incomplete data; it should be called again (probably after a delay); MQTTStatusNotConnected if the connection is not established yet and a PING or an ACK is being sent. MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess on success.

    Example

    // Variables used in this example.
    MQTTStatus_t status;
    // This context is assumed to be initialized and connected.
    @@ -2555,7 +2693,7 @@

    // Other application functions.

    }
    }
    -
    MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
    Loop to receive packets from the transport interface. Handles keep alive.
    Definition: core_mqtt.c:3287
    +
    MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
    Loop to receive packets from the transport interface. Handles keep alive.
    Definition: core_mqtt.c:3438
    @ MQTTNeedMoreBytes
    Definition: core_mqtt_serializer.h:99
    @@ -2613,10 +2751,10 @@

    // Other application functions.
    }
    }
    -
    MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
    Sends an MQTT PINGREQ to broker.
    Definition: core_mqtt.c:3060
    -
    MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
    Loop to receive packets from the transport interface. Does not handle keep alive.
    Definition: core_mqtt.c:3314
    -
    uint32_t lastPacketTxTime
    Timestamp of the last packet sent by the library.
    Definition: core_mqtt.h:228
    -
    MQTTGetCurrentTimeFunc_t getTime
    Function used to get millisecond timestamps.
    Definition: core_mqtt.h:218
    +
    MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
    Sends an MQTT PINGREQ to broker.
    Definition: core_mqtt.c:3211
    +
    MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
    Loop to receive packets from the transport interface. Does not handle keep alive.
    Definition: core_mqtt.c:3465
    +
    uint32_t lastPacketTxTime
    Timestamp of the last packet sent by the library.
    Definition: core_mqtt.h:287
    +
    MQTTGetCurrentTimeFunc_t getTime
    Function used to get millisecond timestamps.
    Definition: core_mqtt.h:277
    @@ -2724,7 +2862,7 @@

    {
    // Application can decide what to do with the matching topic name.
    }
    -
    MQTTStatus_t MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch)
    A utility function that determines whether the passed topic filter and topic name match according to ...
    Definition: core_mqtt.c:3369
    +
    MQTTStatus_t MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch)
    A utility function that determines whether the passed topic filter and topic name match according to ...
    Definition: core_mqtt.c:3520
    @@ -2832,11 +2970,11 @@

    }
    // Handle other packet types.
    }
    -
    MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
    Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
    Definition: core_mqtt.c:3438
    +
    MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
    Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
    Definition: core_mqtt.c:3589
    #define LogWarn(message)
    Macro that is called in the MQTT library for logging "Warning" level messages.
    Definition: core_mqtt_config_defaults.h:235
    #define MQTT_PACKET_TYPE_SUBACK
    SUBACK (server-to-client).
    Definition: core_mqtt_serializer.h:61
    -
    @ MQTTSubAckFailure
    Failure.
    Definition: core_mqtt.h:155
    -
    uint8_t type
    Type of incoming MQTT packet.
    Definition: core_mqtt_serializer.h:251
    +
    @ MQTTSubAckFailure
    Failure.
    Definition: core_mqtt.h:214
    +
    uint8_t type
    Type of incoming MQTT packet.
    Definition: core_mqtt_serializer.h:255
    @@ -2865,6 +3003,70 @@

    Returns
    The string representation of the status.
    + + +
    +

    ◆ MQTT_GetBytesInMQTTVec()

    + +
    +
    + + + + + + + + +
    size_t MQTT_GetBytesInMQTTVec (MQTTVec_t * pVec)
    +
    + +

    Get the bytes in a MQTTVec pointer which can store the whole array as a an MQTT packet when calling MQTT_SerializeMQTTVec( void * pAllocatedMem, MQTTVec_t *pVec ) function.

    +
    Parameters
    + + +
    [in]pVecThe MQTTVec pointer.
    +
    +
    +
    Returns
    The bytes in the provided MQTTVec array which can then be used to set aside memory to be used with MQTT_SerializeMQTTVec( void * pAllocatedMem, MQTTVec_t *pVec ) function.
    + +
    +
    + +

    ◆ MQTT_SerializeMQTTVec()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void MQTT_SerializeMQTTVec (uint8_t * pAllocatedMem,
    MQTTVec_t * pVec 
    )
    +
    + +

    Serialize the bytes in an array of MQTTVec in the provided pAllocatedMem.

    +
    Parameters
    + + + +
    [in]pAllocatedMemMemory in which to serialize the data in the MQTTVec array. It must be of size provided by MQTT_GetBytesInMQTTVec( MQTTVec_t *pVec ).
    [in]pVecThe MQTTVec pointer.
    +
    +
    +
    diff --git a/main/core__mqtt_8h.html b/main/core__mqtt_8h.html index cc3a0c7f6..593e1a7e4 100644 --- a/main/core__mqtt_8h.html +++ b/main/core__mqtt_8h.html @@ -140,6 +140,15 @@ typedef void(* MQTTEventCallback_t) (struct MQTTContext *pContext, struct MQTTPacketInfo *pPacketInfo, struct MQTTDeserializedInfo *pDeserializedInfo)  Application callback for receiving incoming publishes and incoming acks.
      +typedef bool(* MQTTStorePacketForRetransmit) (struct MQTTContext *pContext, uint16_t packetId, MQTTVec_t *pMqttVec) + User defined callback used to store outgoing publishes. Used to track any publish retransmit on an unclean session connection.
    +  +typedef bool(* MQTTRetrievePacketForRetransmit) (struct MQTTContext *pContext, uint16_t packetId, uint8_t **pSerializedMqttVec, size_t *pSerializedMqttVecLen) + User defined callback used to retreive a copied publish for resend operation. Used to track any publish retransmit on an unclean session connection.
    +  +typedef void(* MQTTClearPacketForRetransmit) (struct MQTTContext *pContext, uint16_t packetId) + User defined callback used to clear a particular copied publish packet. Used to track any publish retransmit on an unclean session connection.
    +  @@ -190,6 +199,9 @@ + + + @@ -232,10 +244,92 @@ + + + + + +

    Enumerations

    MQTTStatus_t MQTT_InitStatefulQoS (MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
     Initialize an MQTT context for QoS > 0.
     
    MQTTStatus_t MQTT_InitRetransmits (MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction)
     Initialize an MQTT context for publish retransmits for QoS > 0.
     
    MQTTStatus_t MQTT_CheckConnectStatus (MQTTContext_t *pContext)
     Checks the MQTT connection status with the broker.
     
    const char * MQTT_Status_strerror (MQTTStatus_t status)
     Error code to string conversion for MQTT statuses.
     
    size_t MQTT_GetBytesInMQTTVec (MQTTVec_t *pVec)
     Get the bytes in a MQTTVec pointer which can store the whole array as a an MQTT packet when calling MQTT_SerializeMQTTVec( void * pAllocatedMem, MQTTVec_t *pVec ) function.
     
    void MQTT_SerializeMQTTVec (uint8_t *pAllocatedMem, MQTTVec_t *pVec)
     Serialize the bytes in an array of MQTTVec in the provided pAllocatedMem.
     

    Detailed Description

    User-facing functions of the MQTT 3.1.1 library.

    -

    Function Documentation

    +

    Typedef Documentation

    + +

    ◆ MQTTStorePacketForRetransmit

    + +
    +
    + + + + +
    typedef bool(* MQTTStorePacketForRetransmit) (struct MQTTContext *pContext, uint16_t packetId, MQTTVec_t *pMqttVec)
    +
    + +

    User defined callback used to store outgoing publishes. Used to track any publish retransmit on an unclean session connection.

    +
    Parameters
    + + + + +
    [in]pContextInitialised MQTT Context.
    [in]packetIdOutgoing publish packet identifier.
    [in]pMqttVecPointer to the opaque mqtt vector structure. Users should use MQTT_SerializeMQTTVec and MQTT_GetBytesInMQTTVec functions to get the memory required and to serialize the MQTTVec_t in the provided memory respectively.
    +
    +
    +
    Returns
    True if the copy is successful else false.
    + +
    +
    + +

    ◆ MQTTRetrievePacketForRetransmit

    + +
    +
    + + + + +
    typedef bool(* MQTTRetrievePacketForRetransmit) (struct MQTTContext *pContext, uint16_t packetId, uint8_t **pSerializedMqttVec, size_t *pSerializedMqttVecLen)
    +
    + +

    User defined callback used to retreive a copied publish for resend operation. Used to track any publish retransmit on an unclean session connection.

    +
    Parameters
    + + + + + +
    [in]pContextInitialised MQTT Context.
    [in]packetIdCopied publish packet identifier.
    [out]pSerializedMqttVecOutput parameter to store the pointer to the serialized MQTTVec_t using MQTT_SerializeMQTTVec.
    [out]pSerializedMqttVecLenOutput parameter to return the number of bytes used to store the MQTTVec_t. This value should be the same as the one received from MQTT_GetBytesInMQTTVec when storing the packet.
    +
    +
    +
    Returns
    True if the retreive is successful else false.
    + +
    +
    + +

    ◆ MQTTClearPacketForRetransmit

    + +
    +
    + + + + +
    typedef void(* MQTTClearPacketForRetransmit) (struct MQTTContext *pContext, uint16_t packetId)
    +
    + +

    User defined callback used to clear a particular copied publish packet. Used to track any publish retransmit on an unclean session connection.

    +
    Parameters
    + + + +
    [in]pContextInitialised MQTT Context.
    [in]packetIdCopied publish packet identifier.
    +
    +
    +
    Returns
    True if the clear is successful else false.
    + +
    +
    +

    Function Documentation

    ◆ MQTT_Init()

    @@ -334,15 +428,15 @@

    // copied into the context, so the original structs do not need to stay in scope.
    // However, the memory pointed to by the fixedBuffer.pBuffer must remain in scope.
    }
    -
    MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
    Initialize an MQTT context.
    Definition: core_mqtt.c:2568
    +
    MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
    Initialize an MQTT context.
    Definition: core_mqtt.c:2679
    @ MQTTSuccess
    Definition: core_mqtt_serializer.h:88
    struct NetworkContext NetworkContext_t
    The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
    Definition: transport_interface.h:191
    -
    A struct representing an MQTT connection.
    Definition: core_mqtt.h:174
    -
    Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
    Definition: core_mqtt.h:258
    -
    Buffer passed to MQTT library.
    Definition: core_mqtt_serializer.h:126
    -
    size_t size
    Size of buffer.
    Definition: core_mqtt_serializer.h:128
    -
    uint8_t * pBuffer
    Pointer to buffer.
    Definition: core_mqtt_serializer.h:127
    -
    MQTT incoming packet parameters.
    Definition: core_mqtt_serializer.h:247
    +
    A struct representing an MQTT connection.
    Definition: core_mqtt.h:233
    +
    Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
    Definition: core_mqtt.h:332
    +
    Buffer passed to MQTT library.
    Definition: core_mqtt_serializer.h:130
    +
    size_t size
    Size of buffer.
    Definition: core_mqtt_serializer.h:132
    +
    uint8_t * pBuffer
    Pointer to buffer.
    Definition: core_mqtt_serializer.h:131
    +
    MQTT incoming packet parameters.
    Definition: core_mqtt_serializer.h:251
    The transport layer interface.
    Definition: transport_interface.h:299
    TransportSend_t send
    Definition: transport_interface.h:301
    TransportRecv_t recv
    Definition: transport_interface.h:300
    @@ -449,8 +543,129 @@

    // Now QoS1 and/or QoS2 publishes can be sent with this context.
    }
    -
    MQTTStatus_t MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
    Initialize an MQTT context for QoS > 0.
    Definition: core_mqtt.c:2627
    -
    An element of the state engine records for QoS 1 or Qos 2 publishes.
    Definition: core_mqtt.h:163
    +
    MQTTStatus_t MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
    Initialize an MQTT context for QoS > 0.
    Definition: core_mqtt.c:2738
    +
    An element of the state engine records for QoS 1 or Qos 2 publishes.
    Definition: core_mqtt.h:222
    + + + + +

    ◆ MQTT_InitRetransmits()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MQTTStatus_t MQTT_InitRetransmits (MQTTContext_tpContext,
    MQTTStorePacketForRetransmit storeFunction,
    MQTTRetrievePacketForRetransmit retrieveFunction,
    MQTTClearPacketForRetransmit clearFunction 
    )
    +
    + +

    Initialize an MQTT context for publish retransmits for QoS > 0.

    +

    This function must be called on an MQTTContext_t after MQTT_InitstatefulQoS and before any other function.

    +
    Parameters
    + + + + + +
    [in]pContextThe context to initialize.
    [in]storeFunctionUser defined API used to store outgoing publishes.
    [in]retrieveFunctionUser defined API used to retreive a copied publish for resend operation.
    [in]clearFunctionUser defined API used to clear a particular copied publish packet.
    +
    +
    +
    Returns
    MQTTBadParameter if invalid parameters are passed; MQTTSuccess otherwise.
    +

    Example

    // Function for obtaining a timestamp.
    +
    uint32_t getTimeStampMs();
    +
    // Callback function for receiving packets.
    +
    void eventCallback(
    +
    MQTTContext_t * pContext,
    +
    MQTTPacketInfo_t * pPacketInfo,
    +
    MQTTDeserializedInfo_t * pDeserializedInfo
    +
    );
    +
    // Network send.
    +
    int32_t networkSend( NetworkContext_t * pContext, const void * pBuffer, size_t bytes );
    +
    // Network receive.
    +
    int32_t networkRecv( NetworkContext_t * pContext, void * pBuffer, size_t bytes );
    +
    // User defined callback used to store outgoing publishes
    +
    bool publishStoreCallback(struct MQTTContext* pContext,
    +
    uint16_t packetId,
    +
    MQTTVec_t* pIoVec);
    +
    // User defined callback used to retreive a copied publish for resend operation
    +
    bool publishRetrieveCallback(struct MQTTContext* pContext,
    +
    uint16_t packetId,
    + +
    size_t* ioVecCount);
    +
    // User defined callback used to clear a particular copied publish packet
    +
    bool publishClearCallback(struct MQTTContext* pContext,
    +
    uint16_t packetId);
    +
    // User defined callback used to clear all copied publish packets
    +
    bool publishClearAllCallback(struct MQTTContext* pContext);
    +
    +
    MQTTContext_t mqttContext;
    + +
    MQTTFixedBuffer_t fixedBuffer;
    +
    uint8_t buffer[ 1024 ];
    +
    const size_t outgoingPublishCount = 30;
    +
    MQTTPubAckInfo_t outgoingPublishes[ outgoingPublishCount ];
    +
    +
    // Clear context.
    +
    memset( ( void * ) &mqttContext, 0x00, sizeof( MQTTContext_t ) );
    +
    +
    // Set transport interface members.
    +
    transport.pNetworkContext = &someTransportContext;
    +
    transport.send = networkSend;
    +
    transport.recv = networkRecv;
    +
    +
    // Set buffer members.
    +
    fixedBuffer.pBuffer = buffer;
    +
    fixedBuffer.size = 1024;
    +
    +
    status = MQTT_Init( &mqttContext, &transport, getTimeStampMs, eventCallback, &fixedBuffer );
    +
    +
    if( status == MQTTSuccess )
    +
    {
    +
    // We do not expect any incoming publishes in this example, therefore the incoming
    +
    // publish pointer is NULL and the count is zero.
    +
    status = MQTT_InitStatefulQoS( &mqttContext, outgoingPublishes, outgoingPublishCount, NULL, 0 );
    +
    +
    // Now QoS1 and/or QoS2 publishes can be sent with this context.
    +
    }
    +
    +
    if( status == MQTTSuccess )
    +
    {
    +
    status = MQTT_InitRetransmits( &mqttContext, publishStoreCallback,
    +
    publishRetrieveCallback,
    +
    publishClearCallback,
    +
    publishClearAllCallback );
    +
    +
    // Now unacked Publishes can be resent on an unclean session resumption.
    +
    }
    +
    MQTTStatus_t MQTT_InitRetransmits(MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction)
    Initialize an MQTT context for publish retransmits for QoS > 0.
    Definition: core_mqtt.c:2795
    +
    Transport vector structure for sending multiple messages.
    Definition: transport_interface.h:249
    @@ -542,7 +757,7 @@

    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTRecvFailed if transport receive failed for CONNACK; MQTTNoDataAvailable if no data available to receive in transport until the timeoutMs for CONNACK; MQTTSuccess otherwise.
    +
    Returns
    MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTRecvFailed if transport receive failed for CONNACK; MQTTNoDataAvailable if no data available to receive in transport until the timeoutMs for CONNACK; MQTTStatusConnected if the connection is already established MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTPublishRetrieveFailed if on an unclean session connection, the copied publishes are not retrieved successfully for retransmission MQTTSuccess otherwise.
    Note
    This API may spend more time than provided in the timeoutMS parameters in certain conditions as listed below:
    1. Timeouts are incorrectly configured - If the timeoutMS is less than the transport receive timeout and if a CONNACK packet is not received within the transport receive timeout, the API will spend the transport receive timeout (which is more time than the timeoutMs). It is the case of incorrect timeout configuration as the timeoutMs parameter passed to this API must be greater than the transport receive timeout. Please refer to the transport interface documentation for more details about timeout configurations.
    2. @@ -589,24 +804,24 @@

      // Do something with the connection.
      }
      -
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2757
      +
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2908
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      -
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:113
      -
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:136
      -
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:150
      -
      const char * pUserName
      MQTT user name. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:160
      -
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:140
      -
      uint16_t userNameLength
      Length of MQTT user name. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:165
      -
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:145
      -
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:155
      -
      uint16_t passwordLength
      Length of MQTT password. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:175
      -
      const char * pPassword
      MQTT password. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:170
      -
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:205
      -
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:209
      -
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:229
      -
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:239
      -
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:224
      -
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:234
      +
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:117
      +
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:140
      +
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:154
      +
      const char * pUserName
      MQTT user name. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:164
      +
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:144
      +
      uint16_t userNameLength
      Length of MQTT user name. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:169
      +
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:149
      +
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:159
      +
      uint16_t passwordLength
      Length of MQTT password. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:179
      +
      const char * pPassword
      MQTT password. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:174
      +
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:209
      +
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:213
      +
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:233
      +
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:243
      +
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:228
      +
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:238
      @@ -658,7 +873,7 @@

      Returns
      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
      +
      Returns
      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.

      Example

      // Variables used in this example.
      MQTTStatus_t status;
      MQTTSubscribeInfo_t subscriptionList[ NUMBER_OF_SUBSCRIPTIONS ] = { 0 };
      @@ -688,12 +903,12 @@

      // If the broker accepts the subscription we can now receive publishes

      // on the requested topics.
      }
      -
      uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
      Get a packet ID that is valid according to the MQTT 3.1.1 spec.
      Definition: core_mqtt.c:3340
      -
      MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:2884
      -
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:183
      -
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:187
      -
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:197
      -
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:192
      +
      uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
      Get a packet ID that is valid according to the MQTT 3.1.1 spec.
      Definition: core_mqtt.c:3491
      +
      MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:3035
      +
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:187
      +
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:191
      +
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:201
      +
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:196
      @@ -738,7 +953,7 @@

      Returns
      MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
      +
      Returns
      MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTPublishStoreFailed if the user provided callback to copy and store the outgoing publish packet fails MQTTSuccess otherwise.

      Example

      // Variables used in this example.
      MQTTStatus_t status;
      MQTTPublishInfo_t publishInfo;
      @@ -763,8 +978,8 @@

      // Since the QoS is > 0, we will need to call MQTT_ReceiveLoop()

      // or MQTT_ProcessLoop() to process the publish acknowledgments.
      }
      -
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:2939
      -
      @ MQTTQoS1
      Definition: core_mqtt_serializer.h:114
      +
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:3090
      +
      @ MQTTQoS1
      Definition: core_mqtt_serializer.h:118
      @@ -830,7 +1045,7 @@

      Returns
      MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
      +
      Returns
      MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.
      @@ -882,7 +1097,7 @@

      Returns
      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
      +
      Returns
      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.

      Example

      // Variables used in this example.
      MQTTStatus_t status;
      MQTTSubscribeInfo_t unsubscribeList[ NUMBER_OF_SUBSCRIPTIONS ] = { 0 };
      @@ -911,7 +1126,7 @@

      // We must now call MQTT_ReceiveLoop() or MQTT_ProcessLoop() to receive the UNSUBACK.

      // After this the broker should no longer send publishes for these topics.
      }
      -
      MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:3149
      +
      MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:3300
      @@ -938,7 +1153,7 @@

      Returns
      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTSuccess otherwise.
      +
      Returns
      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTStatusNotConnected if the connection is already disconnected MQTTSuccess otherwise.
      @@ -967,7 +1182,7 @@

      Note
      Calling this function blocks the calling context for a time period that depends on the passed the configuration macros, MQTT_RECV_POLLING_TIMEOUT_MS and MQTT_SEND_TIMEOUT_MS, and the underlying transport interface implementation timeouts, unless an error occurs. The blocking period also depends on the execution time of the MQTTEventCallback_t callback supplied to the library. It is recommended that the supplied MQTTEventCallback_t callback does not contain blocking operations to prevent potential non-deterministic blocking period of the MQTT_ProcessLoop API call.
      -
      Returns
      MQTTBadParameter if context is NULL; MQTTRecvFailed if a network error occurs during reception; MQTTSendFailed if a network error occurs while sending an ACK or PINGREQ; MQTTBadResponse if an invalid packet is received; MQTTKeepAliveTimeout if the server has not sent a PINGRESP before MQTT_PINGRESP_TIMEOUT_MS milliseconds; MQTTIllegalState if an incoming QoS 1/2 publish or ack causes an invalid transition for the internal state machine; MQTTNeedMoreBytes if MQTT_ProcessLoop has received incomplete data; it should be called again (probably after a delay); MQTTSuccess on success.
      +
      Returns
      MQTTBadParameter if context is NULL; MQTTRecvFailed if a network error occurs during reception; MQTTSendFailed if a network error occurs while sending an ACK or PINGREQ; MQTTBadResponse if an invalid packet is received; MQTTKeepAliveTimeout if the server has not sent a PINGRESP before MQTT_PINGRESP_TIMEOUT_MS milliseconds; MQTTIllegalState if an incoming QoS 1/2 publish or ack causes an invalid transition for the internal state machine; MQTTNeedMoreBytes if MQTT_ProcessLoop has received incomplete data; it should be called again (probably after a delay); MQTTStatusNotConnected if the connection is not established yet and a PING or an ACK is being sent. MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess on success.

      Example

      // Variables used in this example.
      MQTTStatus_t status;
      // This context is assumed to be initialized and connected.
      @@ -987,7 +1202,7 @@

      // Other application functions.

      }
      }
      -
      MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Handles keep alive.
      Definition: core_mqtt.c:3287
      +
      MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Handles keep alive.
      Definition: core_mqtt.c:3438
      @ MQTTNeedMoreBytes
      Definition: core_mqtt_serializer.h:99
      @@ -1045,10 +1260,10 @@

      // Other application functions.
      }
      }
      -
      MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
      Sends an MQTT PINGREQ to broker.
      Definition: core_mqtt.c:3060
      -
      MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Does not handle keep alive.
      Definition: core_mqtt.c:3314
      -
      uint32_t lastPacketTxTime
      Timestamp of the last packet sent by the library.
      Definition: core_mqtt.h:228
      -
      MQTTGetCurrentTimeFunc_t getTime
      Function used to get millisecond timestamps.
      Definition: core_mqtt.h:218
      +
      MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
      Sends an MQTT PINGREQ to broker.
      Definition: core_mqtt.c:3211
      +
      MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Does not handle keep alive.
      Definition: core_mqtt.c:3465
      +
      uint32_t lastPacketTxTime
      Timestamp of the last packet sent by the library.
      Definition: core_mqtt.h:287
      +
      MQTTGetCurrentTimeFunc_t getTime
      Function used to get millisecond timestamps.
      Definition: core_mqtt.h:277
      @@ -1156,7 +1371,7 @@

      {
      // Application can decide what to do with the matching topic name.
      }
      -
      MQTTStatus_t MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch)
      A utility function that determines whether the passed topic filter and topic name match according to ...
      Definition: core_mqtt.c:3369
      +
      MQTTStatus_t MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch)
      A utility function that determines whether the passed topic filter and topic name match according to ...
      Definition: core_mqtt.c:3520
      @@ -1264,11 +1479,11 @@

      }
      // Handle other packet types.
      }
      -
      MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
      Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
      Definition: core_mqtt.c:3438
      +
      MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
      Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
      Definition: core_mqtt.c:3589
      #define LogWarn(message)
      Macro that is called in the MQTT library for logging "Warning" level messages.
      Definition: core_mqtt_config_defaults.h:235
      #define MQTT_PACKET_TYPE_SUBACK
      SUBACK (server-to-client).
      Definition: core_mqtt_serializer.h:61
      -
      @ MQTTSubAckFailure
      Failure.
      Definition: core_mqtt.h:155
      -
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:251
      +
      @ MQTTSubAckFailure
      Failure.
      Definition: core_mqtt.h:214
      +
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:255
      @@ -1297,6 +1512,70 @@

      Returns
      The string representation of the status.
      + + +
      +

      ◆ MQTT_GetBytesInMQTTVec()

      + +
      +
      + + + + + + + + +
      size_t MQTT_GetBytesInMQTTVec (MQTTVec_t * pVec)
      +
      + +

      Get the bytes in a MQTTVec pointer which can store the whole array as a an MQTT packet when calling MQTT_SerializeMQTTVec( void * pAllocatedMem, MQTTVec_t *pVec ) function.

      +
      Parameters
      + + +
      [in]pVecThe MQTTVec pointer.
      +
      +
      +
      Returns
      The bytes in the provided MQTTVec array which can then be used to set aside memory to be used with MQTT_SerializeMQTTVec( void * pAllocatedMem, MQTTVec_t *pVec ) function.
      + +
      +
      + +

      ◆ MQTT_SerializeMQTTVec()

      + +
      +
      + + + + + + + + + + + + + + + + + + +
      void MQTT_SerializeMQTTVec (uint8_t * pAllocatedMem,
      MQTTVec_t * pVec 
      )
      +
      + +

      Serialize the bytes in an array of MQTTVec in the provided pAllocatedMem.

      +
      Parameters
      + + + +
      [in]pAllocatedMemMemory in which to serialize the data in the MQTTVec array. It must be of size provided by MQTT_GetBytesInMQTTVec( MQTTVec_t *pVec ).
      [in]pVecThe MQTTVec pointer.
      +
      +
      +
      diff --git a/main/core__mqtt_8h_source.html b/main/core__mqtt_8h_source.html index 437e5eeb3..16dab18bb 100644 --- a/main/core__mqtt_8h_source.html +++ b/main/core__mqtt_8h_source.html @@ -147,274 +147,325 @@
      64struct MQTTContext;
      65struct MQTTDeserializedInfo;
      66
      -
      85typedef uint32_t (* MQTTGetCurrentTimeFunc_t )( void );
      -
      86
      -
      100typedef void (* MQTTEventCallback_t )( struct MQTTContext * pContext,
      -
      101 struct MQTTPacketInfo * pPacketInfo,
      -
      102 struct MQTTDeserializedInfo * pDeserializedInfo );
      -
      103
      -
      108typedef enum MQTTConnectionStatus
      -
      109{
      - - - - -
      114
      -
      119typedef enum MQTTPublishState
      -
      120{
      - - - - - - - - - - - - -
      133
      -
      138typedef enum MQTTPubAckType
      -
      139{
      - - - - - -
      145
      -
      150typedef enum MQTTSubAckStatus
      -
      151{
      - - - -
      155 MQTTSubAckFailure = 0x80
      - -
      157
      -
      162typedef struct MQTTPubAckInfo
      -
      163{
      -
      164 uint16_t packetId;
      - - - -
      168
      -
      173typedef struct MQTTContext
      -
      174{
      - -
      179
      - -
      184
      - -
      189
      - -
      194
      - -
      199
      - +
      71typedef struct MQTTVec MQTTVec_t;
      +
      72
      +
      91typedef uint32_t (* MQTTGetCurrentTimeFunc_t )( void );
      +
      92
      +
      106typedef void (* MQTTEventCallback_t )( struct MQTTContext * pContext,
      +
      107 struct MQTTPacketInfo * pPacketInfo,
      +
      108 struct MQTTDeserializedInfo * pDeserializedInfo );
      +
      109
      +
      122/* @[define_mqtt_retransmitstorepacket] */
      +
      123typedef bool ( * MQTTStorePacketForRetransmit)( struct MQTTContext * pContext,
      +
      124 uint16_t packetId,
      +
      125 MQTTVec_t * pMqttVec );
      +
      126/* @[define_mqtt_retransmitstorepacket] */
      +
      127
      +
      142/* @[define_mqtt_retransmitretrievepacket] */
      +
      143typedef bool ( * MQTTRetrievePacketForRetransmit)( struct MQTTContext * pContext,
      +
      144 uint16_t packetId,
      +
      145 uint8_t ** pSerializedMqttVec,
      +
      146 size_t * pSerializedMqttVecLen );
      +
      147/* @[define_mqtt_retransmitretrievepacket] */
      +
      148
      +
      158/* @[define_mqtt_retransmitclearpacket] */
      +
      159typedef void (* MQTTClearPacketForRetransmit)( struct MQTTContext * pContext,
      +
      160 uint16_t packetId );
      +
      161/* @[define_mqtt_retransmitclearpacket] */
      +
      162
      +
      167typedef enum MQTTConnectionStatus
      +
      168{
      + + + + +
      173
      +
      178typedef enum MQTTPublishState
      +
      179{
      + + + + + + + + + + + + +
      192
      +
      197typedef enum MQTTPubAckType
      +
      198{
      + + + + +
      204
      -
      208 uint16_t nextPacketId;
      -
      209
      - -
      214
      - -
      219
      - -
      224
      - -
      229
      - -
      234
      - -
      240
      -
      244 size_t index;
      -
      245
      -
      246 /* Keep alive members. */
      - - - - -
      251
      -
      257typedef struct MQTTDeserializedInfo
      -
      258{
      - - - - +
      209typedef enum MQTTSubAckStatus
      +
      210{
      + + + +
      214 MQTTSubAckFailure = 0x80
      + +
      216
      +
      221typedef struct MQTTPubAckInfo
      +
      222{
      +
      223 uint16_t packetId;
      + + + +
      227
      +
      232typedef struct MQTTContext
      +
      233{
      + +
      238
      + +
      243
      + +
      248
      + +
      253
      + +
      258
      +
      263
      -
      337/* @[declare_mqtt_init] */
      - -
      339 const TransportInterface_t * pTransportInterface,
      -
      340 MQTTGetCurrentTimeFunc_t getTimeFunction,
      -
      341 MQTTEventCallback_t userCallback,
      -
      342 const MQTTFixedBuffer_t * pNetworkBuffer );
      -
      343/* @[declare_mqtt_init] */
      -
      344
      -
      410/* @[declare_mqtt_initstatefulqos] */
      - -
      412 MQTTPubAckInfo_t * pOutgoingPublishRecords,
      -
      413 size_t outgoingPublishCount,
      -
      414 MQTTPubAckInfo_t * pIncomingPublishRecords,
      -
      415 size_t incomingPublishCount );
      -
      416/* @[declare_mqtt_initstatefulqos] */
      -
      417
      -
      433/* @[declare_mqtt_checkconnectstatus] */
      - -
      435/* @[declare_mqtt_checkconnectstatus] */
      -
      436
      -
      540/* @[declare_mqtt_connect] */
      - -
      542 const MQTTConnectInfo_t * pConnectInfo,
      -
      543 const MQTTPublishInfo_t * pWillInfo,
      -
      544 uint32_t timeoutMs,
      -
      545 bool * pSessionPresent );
      -
      546/* @[declare_mqtt_connect] */
      -
      547
      -
      598/* @[declare_mqtt_subscribe] */
      - -
      600 const MQTTSubscribeInfo_t * pSubscriptionList,
      -
      601 size_t subscriptionCount,
      -
      602 uint16_t packetId );
      -
      603/* @[declare_mqtt_subscribe] */
      -
      604
      -
      646/* @[declare_mqtt_publish] */
      - -
      648 const MQTTPublishInfo_t * pPublishInfo,
      -
      649 uint16_t packetId );
      -
      650/* @[declare_mqtt_publish] */
      -
      651
      -
      669/* @[declare_mqtt_cancelcallback] */
      - -
      671 uint16_t packetId );
      -
      672/* @[declare_mqtt_cancelcallback] */
      -
      673
      -
      684/* @[declare_mqtt_ping] */
      - -
      686/* @[declare_mqtt_ping] */
      -
      687
      -
      736/* @[declare_mqtt_unsubscribe] */
      - -
      738 const MQTTSubscribeInfo_t * pSubscriptionList,
      -
      739 size_t subscriptionCount,
      -
      740 uint16_t packetId );
      -
      741/* @[declare_mqtt_unsubscribe] */
      -
      742
      -
      754/* @[declare_mqtt_disconnect] */
      - -
      756/* @[declare_mqtt_disconnect] */
      -
      757
      -
      812/* @[declare_mqtt_processloop] */
      - -
      814/* @[declare_mqtt_processloop] */
      -
      815
      -
      876/* @[declare_mqtt_receiveloop] */
      - -
      878/* @[declare_mqtt_receiveloop] */
      -
      879
      -
      887/* @[declare_mqtt_getpacketid] */
      -
      888uint16_t MQTT_GetPacketId( MQTTContext_t * pContext );
      -
      889/* @[declare_mqtt_getpacketid] */
      -
      890
      -
      935MQTTStatus_t MQTT_MatchTopic( const char * pTopicName,
      -
      936 const uint16_t topicNameLength,
      -
      937 const char * pTopicFilter,
      -
      938 const uint16_t topicFilterLength,
      -
      939 bool * pIsMatch );
      -
      940
      -
      1023/* @[declare_mqtt_getsubackstatuscodes] */
      - -
      1025 uint8_t ** pPayloadStart,
      -
      1026 size_t * pPayloadSize );
      -
      1027/* @[declare_mqtt_getsubackstatuscodes] */
      -
      1028
      -
      1036/* @[declare_mqtt_status_strerror] */
      -
      1037const char * MQTT_Status_strerror( MQTTStatus_t status );
      -
      1038/* @[declare_mqtt_status_strerror] */
      -
      1039
      -
      1040/* *INDENT-OFF* */
      -
      1041#ifdef __cplusplus
      -
      1042 }
      -
      1043#endif
      -
      1044/* *INDENT-ON* */
      -
      1045
      -
      1046#endif /* ifndef CORE_MQTT_H */
      -
      uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
      Get a packet ID that is valid according to the MQTT 3.1.1 spec.
      Definition: core_mqtt.c:3340
      -
      const char * MQTT_Status_strerror(MQTTStatus_t status)
      Error code to string conversion for MQTT statuses.
      Definition: core_mqtt.c:3497
      -
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:2939
      -
      MQTTStatus_t MQTT_CancelCallback(const MQTTContext_t *pContext, uint16_t packetId)
      Cancels an outgoing publish callback (only for QoS > QoS0) by removing it from the pending ACK list.
      Definition: core_mqtt.c:2684
      -
      MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:2884
      -
      MQTTStatus_t MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch)
      A utility function that determines whether the passed topic filter and topic name match according to ...
      Definition: core_mqtt.c:3369
      -
      MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
      Sends an MQTT PINGREQ to broker.
      Definition: core_mqtt.c:3060
      -
      MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:3149
      -
      MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Handles keep alive.
      Definition: core_mqtt.c:3287
      -
      MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
      Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
      Definition: core_mqtt.c:3438
      -
      MQTTStatus_t MQTT_Disconnect(MQTTContext_t *pContext)
      Disconnect an MQTT session.
      Definition: core_mqtt.c:3204
      -
      MQTTStatus_t MQTT_CheckConnectStatus(MQTTContext_t *pContext)
      Checks the MQTT connection status with the broker.
      Definition: core_mqtt.c:2716
      -
      MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
      Initialize an MQTT context.
      Definition: core_mqtt.c:2568
      -
      MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Does not handle keep alive.
      Definition: core_mqtt.c:3314
      -
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2757
      -
      MQTTStatus_t MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
      Initialize an MQTT context for QoS > 0.
      Definition: core_mqtt.c:2627
      +
      267 uint16_t nextPacketId;
      +
      268
      + +
      273
      + +
      278
      + +
      283
      + +
      288
      + +
      293
      + +
      299
      +
      303 size_t index;
      +
      304
      +
      305 /* Keep alive members. */
      + + + + +
      314
      + +
      319
      + + +
      325
      +
      331typedef struct MQTTDeserializedInfo
      +
      332{
      + + + + +
      337
      +
      411/* @[declare_mqtt_init] */
      + +
      413 const TransportInterface_t * pTransportInterface,
      +
      414 MQTTGetCurrentTimeFunc_t getTimeFunction,
      +
      415 MQTTEventCallback_t userCallback,
      +
      416 const MQTTFixedBuffer_t * pNetworkBuffer );
      +
      417/* @[declare_mqtt_init] */
      +
      418
      +
      484/* @[declare_mqtt_initstatefulqos] */
      + +
      486 MQTTPubAckInfo_t * pOutgoingPublishRecords,
      +
      487 size_t outgoingPublishCount,
      +
      488 MQTTPubAckInfo_t * pIncomingPublishRecords,
      +
      489 size_t incomingPublishCount );
      +
      490/* @[declare_mqtt_initstatefulqos] */
      +
      491
      +
      577/* @[declare_mqtt_initretransmits] */
      + +
      579 MQTTStorePacketForRetransmit storeFunction,
      +
      580 MQTTRetrievePacketForRetransmit retrieveFunction,
      +
      581 MQTTClearPacketForRetransmit clearFunction );
      +
      582/* @[declare_mqtt_initretransmits] */
      +
      583
      +
      599/* @[declare_mqtt_checkconnectstatus] */
      + +
      601/* @[declare_mqtt_checkconnectstatus] */
      +
      602
      +
      711/* @[declare_mqtt_connect] */
      + +
      713 const MQTTConnectInfo_t * pConnectInfo,
      +
      714 const MQTTPublishInfo_t * pWillInfo,
      +
      715 uint32_t timeoutMs,
      +
      716 bool * pSessionPresent );
      +
      717/* @[declare_mqtt_connect] */
      +
      718
      +
      772/* @[declare_mqtt_subscribe] */
      + +
      774 const MQTTSubscribeInfo_t * pSubscriptionList,
      +
      775 size_t subscriptionCount,
      +
      776 uint16_t packetId );
      +
      777/* @[declare_mqtt_subscribe] */
      +
      778
      +
      825/* @[declare_mqtt_publish] */
      + +
      827 const MQTTPublishInfo_t * pPublishInfo,
      +
      828 uint16_t packetId );
      +
      829/* @[declare_mqtt_publish] */
      +
      830
      +
      848/* @[declare_mqtt_cancelcallback] */
      + +
      850 uint16_t packetId );
      +
      851/* @[declare_mqtt_cancelcallback] */
      +
      852
      +
      866/* @[declare_mqtt_ping] */
      + +
      868/* @[declare_mqtt_ping] */
      +
      869
      +
      921/* @[declare_mqtt_unsubscribe] */
      + +
      923 const MQTTSubscribeInfo_t * pSubscriptionList,
      +
      924 size_t subscriptionCount,
      +
      925 uint16_t packetId );
      +
      926/* @[declare_mqtt_unsubscribe] */
      +
      927
      +
      940/* @[declare_mqtt_disconnect] */
      + +
      942/* @[declare_mqtt_disconnect] */
      +
      943
      +
      1002/* @[declare_mqtt_processloop] */
      + +
      1004/* @[declare_mqtt_processloop] */
      +
      1005
      +
      1066/* @[declare_mqtt_receiveloop] */
      + +
      1068/* @[declare_mqtt_receiveloop] */
      +
      1069
      +
      1077/* @[declare_mqtt_getpacketid] */
      +
      1078uint16_t MQTT_GetPacketId( MQTTContext_t * pContext );
      +
      1079/* @[declare_mqtt_getpacketid] */
      +
      1080
      +
      1125MQTTStatus_t MQTT_MatchTopic( const char * pTopicName,
      +
      1126 const uint16_t topicNameLength,
      +
      1127 const char * pTopicFilter,
      +
      1128 const uint16_t topicFilterLength,
      +
      1129 bool * pIsMatch );
      +
      1130
      +
      1213/* @[declare_mqtt_getsubackstatuscodes] */
      + +
      1215 uint8_t ** pPayloadStart,
      +
      1216 size_t * pPayloadSize );
      +
      1217/* @[declare_mqtt_getsubackstatuscodes] */
      +
      1218
      +
      1226/* @[declare_mqtt_status_strerror] */
      +
      1227const char * MQTT_Status_strerror( MQTTStatus_t status );
      +
      1228/* @[declare_mqtt_status_strerror] */
      +
      1229
      +
      1237/* @[declare_mqtt_getbytesinmqttvec] */
      +
      1238size_t MQTT_GetBytesInMQTTVec( MQTTVec_t * pVec );
      +
      1239/* @[declare_mqtt_getbytesinmqttvec] */
      +
      1240
      +
      1247/* @[declare_mqtt_serializemqttvec] */
      +
      1248void MQTT_SerializeMQTTVec( uint8_t * pAllocatedMem,
      +
      1249 MQTTVec_t * pVec );
      +
      1250/* @[declare_mqtt_serializemqttvec] */
      +
      1251
      +
      1252/* *INDENT-OFF* */
      +
      1253#ifdef __cplusplus
      +
      1254 }
      +
      1255#endif
      +
      1256/* *INDENT-ON* */
      +
      1257
      +
      1258#endif /* ifndef CORE_MQTT_H */
      +
      uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
      Get a packet ID that is valid according to the MQTT 3.1.1 spec.
      Definition: core_mqtt.c:3491
      +
      const char * MQTT_Status_strerror(MQTTStatus_t status)
      Error code to string conversion for MQTT statuses.
      Definition: core_mqtt.c:3648
      +
      void MQTT_SerializeMQTTVec(uint8_t *pAllocatedMem, MQTTVec_t *pVec)
      Serialize the bytes in an array of MQTTVec in the provided pAllocatedMem.
      Definition: core_mqtt.c:3749
      +
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:3090
      +
      MQTTStatus_t MQTT_CancelCallback(const MQTTContext_t *pContext, uint16_t packetId)
      Cancels an outgoing publish callback (only for QoS > QoS0) by removing it from the pending ACK list.
      Definition: core_mqtt.c:2835
      +
      bool(* MQTTRetrievePacketForRetransmit)(struct MQTTContext *pContext, uint16_t packetId, uint8_t **pSerializedMqttVec, size_t *pSerializedMqttVecLen)
      User defined callback used to retreive a copied publish for resend operation. Used to track any publi...
      Definition: core_mqtt.h:143
      +
      MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:3035
      +
      MQTTStatus_t MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch)
      A utility function that determines whether the passed topic filter and topic name match according to ...
      Definition: core_mqtt.c:3520
      +
      MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
      Sends an MQTT PINGREQ to broker.
      Definition: core_mqtt.c:3211
      +
      MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
      Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
      Definition: core_mqtt.c:3300
      +
      void(* MQTTClearPacketForRetransmit)(struct MQTTContext *pContext, uint16_t packetId)
      User defined callback used to clear a particular copied publish packet. Used to track any publish ret...
      Definition: core_mqtt.h:159
      +
      MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Handles keep alive.
      Definition: core_mqtt.c:3438
      +
      MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
      Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
      Definition: core_mqtt.c:3589
      +
      MQTTStatus_t MQTT_Disconnect(MQTTContext_t *pContext)
      Disconnect an MQTT session.
      Definition: core_mqtt.c:3355
      +
      MQTTStatus_t MQTT_CheckConnectStatus(MQTTContext_t *pContext)
      Checks the MQTT connection status with the broker.
      Definition: core_mqtt.c:2867
      +
      bool(* MQTTStorePacketForRetransmit)(struct MQTTContext *pContext, uint16_t packetId, MQTTVec_t *pMqttVec)
      User defined callback used to store outgoing publishes. Used to track any publish retransmit on an un...
      Definition: core_mqtt.h:123
      +
      MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
      Initialize an MQTT context.
      Definition: core_mqtt.c:2679
      +
      MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
      Loop to receive packets from the transport interface. Does not handle keep alive.
      Definition: core_mqtt.c:3465
      +
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2908
      +
      size_t MQTT_GetBytesInMQTTVec(MQTTVec_t *pVec)
      Get the bytes in a MQTTVec pointer which can store the whole array as a an MQTT packet when calling M...
      Definition: core_mqtt.c:3732
      +
      MQTTStatus_t MQTT_InitRetransmits(MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction)
      Initialize an MQTT context for publish retransmits for QoS > 0.
      Definition: core_mqtt.c:2795
      +
      MQTTStatus_t MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount)
      Initialize an MQTT context for QoS > 0.
      Definition: core_mqtt.c:2738
      User-facing functions for serializing and deserializing MQTT 3.1.1 packets. This header should be inc...
      -
      void(* MQTTEventCallback_t)(struct MQTTContext *pContext, struct MQTTPacketInfo *pPacketInfo, struct MQTTDeserializedInfo *pDeserializedInfo)
      Application callback for receiving incoming publishes and incoming acks.
      Definition: core_mqtt.h:100
      -
      uint32_t(* MQTTGetCurrentTimeFunc_t)(void)
      Application provided function to query the time elapsed since a given epoch in milliseconds.
      Definition: core_mqtt.h:85
      -
      MQTTPublishState_t
      The state of QoS 1 or QoS 2 MQTT publishes, used in the state engine.
      Definition: core_mqtt.h:120
      -
      MQTTSubAckStatus_t
      The status codes in the SUBACK response to a subscription request.
      Definition: core_mqtt.h:151
      -
      MQTTPubAckType_t
      Packet types used in acknowledging QoS 1 or QoS 2 publishes.
      Definition: core_mqtt.h:139
      -
      MQTTConnectionStatus_t
      Values indicating if an MQTT connection exists.
      Definition: core_mqtt.h:109
      +
      void(* MQTTEventCallback_t)(struct MQTTContext *pContext, struct MQTTPacketInfo *pPacketInfo, struct MQTTDeserializedInfo *pDeserializedInfo)
      Application callback for receiving incoming publishes and incoming acks.
      Definition: core_mqtt.h:106
      +
      uint32_t(* MQTTGetCurrentTimeFunc_t)(void)
      Application provided function to query the time elapsed since a given epoch in milliseconds.
      Definition: core_mqtt.h:91
      +
      MQTTPublishState_t
      The state of QoS 1 or QoS 2 MQTT publishes, used in the state engine.
      Definition: core_mqtt.h:179
      +
      MQTTSubAckStatus_t
      The status codes in the SUBACK response to a subscription request.
      Definition: core_mqtt.h:210
      +
      MQTTPubAckType_t
      Packet types used in acknowledging QoS 1 or QoS 2 publishes.
      Definition: core_mqtt.h:198
      +
      MQTTConnectionStatus_t
      Values indicating if an MQTT connection exists.
      Definition: core_mqtt.h:168
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      -
      MQTTQoS_t
      MQTT Quality of Service values.
      Definition: core_mqtt_serializer.h:112
      -
      @ MQTTPubRecSend
      The library will send a PUBREC for a received PUBLISH.
      Definition: core_mqtt.h:124
      -
      @ MQTTPubRecPending
      The library is awaiting a PUBREC for an outgoing PUBLISH.
      Definition: core_mqtt.h:128
      -
      @ MQTTPubCompPending
      The library is awaiting a PUBCOMP for an outgoing PUBLISH.
      Definition: core_mqtt.h:130
      -
      @ MQTTPubRelSend
      The library will send a PUBREL for a received PUBREC.
      Definition: core_mqtt.h:125
      -
      @ MQTTPubAckSend
      The library will send a PUBACK for a received PUBLISH.
      Definition: core_mqtt.h:123
      -
      @ MQTTPubRelPending
      The library is awaiting a PUBREL for an incoming PUBLISH.
      Definition: core_mqtt.h:129
      -
      @ MQTTPubCompSend
      The library will send a PUBCOMP for a received PUBREL.
      Definition: core_mqtt.h:126
      -
      @ MQTTStateNull
      An empty state with no corresponding PUBLISH.
      Definition: core_mqtt.h:121
      -
      @ MQTTPublishSend
      The library will send an outgoing PUBLISH packet.
      Definition: core_mqtt.h:122
      -
      @ MQTTPubAckPending
      The library is awaiting a PUBACK for an outgoing PUBLISH.
      Definition: core_mqtt.h:127
      -
      @ MQTTPublishDone
      The PUBLISH has been completed.
      Definition: core_mqtt.h:131
      -
      @ MQTTSubAckSuccessQos2
      Success with a maximum delivery at QoS 2.
      Definition: core_mqtt.h:154
      -
      @ MQTTSubAckSuccessQos1
      Success with a maximum delivery at QoS 1.
      Definition: core_mqtt.h:153
      -
      @ MQTTSubAckSuccessQos0
      Success with a maximum delivery at QoS 0.
      Definition: core_mqtt.h:152
      -
      @ MQTTSubAckFailure
      Failure.
      Definition: core_mqtt.h:155
      -
      @ MQTTPuback
      PUBACKs are sent in response to a QoS 1 PUBLISH.
      Definition: core_mqtt.h:140
      -
      @ MQTTPubrec
      PUBRECs are sent in response to a QoS 2 PUBLISH.
      Definition: core_mqtt.h:141
      -
      @ MQTTPubcomp
      PUBCOMPs are sent in response to a PUBREL.
      Definition: core_mqtt.h:143
      -
      @ MQTTPubrel
      PUBRELs are sent in response to a PUBREC.
      Definition: core_mqtt.h:142
      -
      @ MQTTNotConnected
      MQTT Connection is inactive.
      Definition: core_mqtt.h:110
      -
      @ MQTTDisconnectPending
      MQTT Connection needs to be disconnected as a transport error has occurred.
      Definition: core_mqtt.h:112
      -
      @ MQTTConnected
      MQTT Connection is active.
      Definition: core_mqtt.h:111
      -
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:136
      -
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:174
      -
      uint32_t lastPacketTxTime
      Timestamp of the last packet sent by the library.
      Definition: core_mqtt.h:228
      -
      MQTTFixedBuffer_t networkBuffer
      The buffer used in sending and receiving packets from the network.
      Definition: core_mqtt.h:203
      -
      size_t outgoingPublishRecordMaxCount
      The maximum number of outgoing publish records.
      Definition: core_mqtt.h:188
      -
      size_t index
      Index to keep track of the number of bytes received in network buffer.
      Definition: core_mqtt.h:244
      -
      MQTTConnectionStatus_t connectStatus
      Whether the context currently has a connection to the broker.
      Definition: core_mqtt.h:213
      -
      MQTTPubAckInfo_t * outgoingPublishRecords
      State engine records for outgoing publishes.
      Definition: core_mqtt.h:178
      -
      uint32_t lastPacketRxTime
      Timestamp of the last packet received by the library.
      Definition: core_mqtt.h:233
      -
      MQTTEventCallback_t appCallback
      Callback function used to give deserialized MQTT packets to the application.
      Definition: core_mqtt.h:223
      -
      TransportInterface_t transportInterface
      The transport interface used by the MQTT connection.
      Definition: core_mqtt.h:198
      -
      size_t incomingPublishRecordMaxCount
      The maximum number of incoming publish records.
      Definition: core_mqtt.h:193
      -
      MQTTGetCurrentTimeFunc_t getTime
      Function used to get millisecond timestamps.
      Definition: core_mqtt.h:218
      -
      bool waitingForPingResp
      If the library is currently awaiting a PINGRESP.
      Definition: core_mqtt.h:249
      -
      uint32_t pingReqSendTimeMs
      Timestamp of the last sent PINGREQ.
      Definition: core_mqtt.h:248
      -
      uint16_t nextPacketId
      The next available ID for outgoing MQTT packets.
      Definition: core_mqtt.h:208
      -
      bool controlPacketSent
      Whether the library sent a packet during a call of MQTT_ProcessLoop or MQTT_ReceiveLoop.
      Definition: core_mqtt.h:239
      -
      MQTTPubAckInfo_t * incomingPublishRecords
      State engine records for incoming publishes.
      Definition: core_mqtt.h:183
      -
      uint16_t keepAliveIntervalSec
      Keep Alive interval.
      Definition: core_mqtt.h:247
      -
      Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
      Definition: core_mqtt.h:258
      -
      MQTTStatus_t deserializationResult
      Return code of deserialization.
      Definition: core_mqtt.h:261
      -
      MQTTPublishInfo_t * pPublishInfo
      Pointer to deserialized publish info.
      Definition: core_mqtt.h:260
      -
      uint16_t packetIdentifier
      Packet ID of deserialized packet.
      Definition: core_mqtt.h:259
      -
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:126
      -
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:247
      -
      An element of the state engine records for QoS 1 or Qos 2 publishes.
      Definition: core_mqtt.h:163
      -
      MQTTQoS_t qos
      The QoS of the original PUBLISH.
      Definition: core_mqtt.h:165
      -
      MQTTPublishState_t publishState
      The current state of the publish process.
      Definition: core_mqtt.h:166
      -
      uint16_t packetId
      The packet ID of the original PUBLISH.
      Definition: core_mqtt.h:164
      -
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:205
      -
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:183
      +
      MQTTQoS_t
      MQTT Quality of Service values.
      Definition: core_mqtt_serializer.h:116
      +
      @ MQTTPubRecSend
      The library will send a PUBREC for a received PUBLISH.
      Definition: core_mqtt.h:183
      +
      @ MQTTPubRecPending
      The library is awaiting a PUBREC for an outgoing PUBLISH.
      Definition: core_mqtt.h:187
      +
      @ MQTTPubCompPending
      The library is awaiting a PUBCOMP for an outgoing PUBLISH.
      Definition: core_mqtt.h:189
      +
      @ MQTTPubRelSend
      The library will send a PUBREL for a received PUBREC.
      Definition: core_mqtt.h:184
      +
      @ MQTTPubAckSend
      The library will send a PUBACK for a received PUBLISH.
      Definition: core_mqtt.h:182
      +
      @ MQTTPubRelPending
      The library is awaiting a PUBREL for an incoming PUBLISH.
      Definition: core_mqtt.h:188
      +
      @ MQTTPubCompSend
      The library will send a PUBCOMP for a received PUBREL.
      Definition: core_mqtt.h:185
      +
      @ MQTTStateNull
      An empty state with no corresponding PUBLISH.
      Definition: core_mqtt.h:180
      +
      @ MQTTPublishSend
      The library will send an outgoing PUBLISH packet.
      Definition: core_mqtt.h:181
      +
      @ MQTTPubAckPending
      The library is awaiting a PUBACK for an outgoing PUBLISH.
      Definition: core_mqtt.h:186
      +
      @ MQTTPublishDone
      The PUBLISH has been completed.
      Definition: core_mqtt.h:190
      +
      @ MQTTSubAckSuccessQos2
      Success with a maximum delivery at QoS 2.
      Definition: core_mqtt.h:213
      +
      @ MQTTSubAckSuccessQos1
      Success with a maximum delivery at QoS 1.
      Definition: core_mqtt.h:212
      +
      @ MQTTSubAckSuccessQos0
      Success with a maximum delivery at QoS 0.
      Definition: core_mqtt.h:211
      +
      @ MQTTSubAckFailure
      Failure.
      Definition: core_mqtt.h:214
      +
      @ MQTTPuback
      PUBACKs are sent in response to a QoS 1 PUBLISH.
      Definition: core_mqtt.h:199
      +
      @ MQTTPubrec
      PUBRECs are sent in response to a QoS 2 PUBLISH.
      Definition: core_mqtt.h:200
      +
      @ MQTTPubcomp
      PUBCOMPs are sent in response to a PUBREL.
      Definition: core_mqtt.h:202
      +
      @ MQTTPubrel
      PUBRELs are sent in response to a PUBREC.
      Definition: core_mqtt.h:201
      +
      @ MQTTNotConnected
      MQTT Connection is inactive.
      Definition: core_mqtt.h:169
      +
      @ MQTTDisconnectPending
      MQTT Connection needs to be disconnected as a transport error has occurred.
      Definition: core_mqtt.h:171
      +
      @ MQTTConnected
      MQTT Connection is active.
      Definition: core_mqtt.h:170
      +
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:140
      +
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:233
      +
      uint32_t lastPacketTxTime
      Timestamp of the last packet sent by the library.
      Definition: core_mqtt.h:287
      +
      MQTTFixedBuffer_t networkBuffer
      The buffer used in sending and receiving packets from the network.
      Definition: core_mqtt.h:262
      +
      MQTTRetrievePacketForRetransmit retrieveFunction
      User defined API used to retreive a copied publish for resend operation.
      Definition: core_mqtt.h:318
      +
      size_t outgoingPublishRecordMaxCount
      The maximum number of outgoing publish records.
      Definition: core_mqtt.h:247
      +
      MQTTClearPacketForRetransmit clearFunction
      User defined API used to clear a particular copied publish packet.
      Definition: core_mqtt.h:323
      +
      size_t index
      Index to keep track of the number of bytes received in network buffer.
      Definition: core_mqtt.h:303
      +
      MQTTConnectionStatus_t connectStatus
      Whether the context currently has a connection to the broker.
      Definition: core_mqtt.h:272
      +
      MQTTPubAckInfo_t * outgoingPublishRecords
      State engine records for outgoing publishes.
      Definition: core_mqtt.h:237
      +
      uint32_t lastPacketRxTime
      Timestamp of the last packet received by the library.
      Definition: core_mqtt.h:292
      +
      MQTTEventCallback_t appCallback
      Callback function used to give deserialized MQTT packets to the application.
      Definition: core_mqtt.h:282
      +
      TransportInterface_t transportInterface
      The transport interface used by the MQTT connection.
      Definition: core_mqtt.h:257
      +
      size_t incomingPublishRecordMaxCount
      The maximum number of incoming publish records.
      Definition: core_mqtt.h:252
      +
      MQTTGetCurrentTimeFunc_t getTime
      Function used to get millisecond timestamps.
      Definition: core_mqtt.h:277
      +
      MQTTStorePacketForRetransmit storeFunction
      User defined API used to store outgoing publishes.
      Definition: core_mqtt.h:313
      +
      bool waitingForPingResp
      If the library is currently awaiting a PINGRESP.
      Definition: core_mqtt.h:308
      +
      uint32_t pingReqSendTimeMs
      Timestamp of the last sent PINGREQ.
      Definition: core_mqtt.h:307
      +
      uint16_t nextPacketId
      The next available ID for outgoing MQTT packets.
      Definition: core_mqtt.h:267
      +
      bool controlPacketSent
      Whether the library sent a packet during a call of MQTT_ProcessLoop or MQTT_ReceiveLoop.
      Definition: core_mqtt.h:298
      +
      MQTTPubAckInfo_t * incomingPublishRecords
      State engine records for incoming publishes.
      Definition: core_mqtt.h:242
      +
      uint16_t keepAliveIntervalSec
      Keep Alive interval.
      Definition: core_mqtt.h:306
      +
      Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
      Definition: core_mqtt.h:332
      +
      MQTTStatus_t deserializationResult
      Return code of deserialization.
      Definition: core_mqtt.h:335
      +
      MQTTPublishInfo_t * pPublishInfo
      Pointer to deserialized publish info.
      Definition: core_mqtt.h:334
      +
      uint16_t packetIdentifier
      Packet ID of deserialized packet.
      Definition: core_mqtt.h:333
      +
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:130
      +
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:251
      +
      An element of the state engine records for QoS 1 or Qos 2 publishes.
      Definition: core_mqtt.h:222
      +
      MQTTQoS_t qos
      The QoS of the original PUBLISH.
      Definition: core_mqtt.h:224
      +
      MQTTPublishState_t publishState
      The current state of the publish process.
      Definition: core_mqtt.h:225
      +
      uint16_t packetId
      The packet ID of the original PUBLISH.
      Definition: core_mqtt.h:223
      +
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:209
      +
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:187
      +
      An opaque structure provided by the library to the MQTTStorePacketForRetransmit function when using M...
      Definition: core_mqtt.c:94
      The transport layer interface.
      Definition: transport_interface.h:299
      Transport interface definitions to send and receive data over the network.
      diff --git a/main/core__mqtt__serializer_8c.html b/main/core__mqtt__serializer_8c.html index c3120d9b3..15c14a766 100644 --- a/main/core__mqtt__serializer_8c.html +++ b/main/core__mqtt__serializer_8c.html @@ -202,6 +202,10 @@ #define UINT8_SET_BIT(x, position)   ( ( x ) = ( uint8_t ) ( ( x ) | ( 0x01U << ( position ) ) ) )  Set a bit in an 8-bit unsigned integer.
        + +#define UINT8_CLEAR_BIT(x, position)   ( ( x ) = ( uint8_t ) ( ( x ) & ( ~( 0x01U << ( position ) ) ) ) ) + Clear a bit in an 8-bit unsigned integer.
      +  #define UINT8_CHECK_BIT(x, position)   ( ( ( x ) & ( 0x01U << ( position ) ) ) == ( 0x01U << ( position ) ) )  Macro for checking if a bit is set in a 1-byte unsigned int.
        @@ -356,6 +360,9 @@ MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength (TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)  Extract the MQTT packet type and length from incoming packet.
        +MQTTStatus_t MQTT_UpdateDuplicatePublishFlag (uint8_t *pHeader, bool set) + Update the duplicate publish flag within the given header of the publish packet.
      MQTTStatus_t MQTT_ProcessIncomingPacketTypeAndLength (const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket)  Extract the MQTT packet type and length from incoming packet.
        @@ -1649,11 +1656,11 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t
      // of size >= packetSize to serialize the connect request.
      }
      -
      MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the size and Remaining Length of an MQTT CONNECT packet.
      Definition: core_mqtt_serializer.c:1690
      +
      MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the size and Remaining Length of an MQTT CONNECT packet.
      Definition: core_mqtt_serializer.c:1695
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      @ MQTTSuccess
      Definition: core_mqtt_serializer.h:88
      -
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:136
      -
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:205
      +
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:140
      +
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:209
      @@ -1733,10 +1740,10 @@

      {
      // The connect packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
      Definition: core_mqtt_serializer.c:1790
      -
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:126
      -
      size_t size
      Size of buffer.
      Definition: core_mqtt_serializer.h:128
      -
      uint8_t * pBuffer
      Pointer to buffer.
      Definition: core_mqtt_serializer.h:127
      +
      MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
      Definition: core_mqtt_serializer.c:1795
      +
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:130
      +
      size_t size
      Size of buffer.
      Definition: core_mqtt_serializer.h:132
      +
      uint8_t * pBuffer
      Pointer to buffer.
      Definition: core_mqtt_serializer.h:131
      @@ -1816,12 +1823,12 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t
      // of size >= packetSize to serialize the subscribe request.
      }
      -
      MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1848
      -
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:113
      -
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:183
      -
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:187
      -
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:197
      -
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:192
      +
      MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1853
      +
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:117
      +
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:187
      +
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:191
      +
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:201
      +
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:196
      @@ -2007,7 +2014,7 @@

      {
      // The subscribe packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT SUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:1932
      +
      MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT SUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:1937
      @@ -2079,7 +2086,7 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t
      // of size >= packetSize to serialize the unsubscribe request.
      }
      -
      MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1978
      +
      MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1983
      @@ -2175,7 +2182,7 @@

      {
      // The unsubscribe packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:2016
      +
      MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:2021
      @@ -2244,12 +2251,12 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t
      // of size >= packetSize to serialize the publish.
      }
      -
      MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the packet size and remaining length of an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2057
      -
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:209
      -
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:229
      -
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:239
      -
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:224
      -
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:234
      +
      MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the packet size and remaining length of an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2062
      +
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:213
      +
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:233
      +
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:243
      +
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:228
      +
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:238
      @@ -2338,7 +2345,7 @@

      {
      // The publish packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PUBLISH packet in the given buffer.
      Definition: core_mqtt_serializer.c:2098
      +
      MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PUBLISH packet in the given buffer.
      Definition: core_mqtt_serializer.c:2103
      @@ -2443,7 +2450,7 @@

      bytesSent = send( mqttSocket, publishInfo.pPayload, publishInfo.payloadLength, 0 );
      assert( bytesSent == publishInfo.payloadLength );
      }
      -
      MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
      Serialize an MQTT PUBLISH packet header in the given buffer.
      Definition: core_mqtt_serializer.c:2183
      +
      MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
      Serialize an MQTT PUBLISH packet header in the given buffer.
      Definition: core_mqtt_serializer.c:2188
      @@ -2514,7 +2521,7 @@

      {
      // The publish acknowledgment can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
      Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
      Definition: core_mqtt_serializer.c:2266
      +
      MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
      Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
      Definition: core_mqtt_serializer.c:2271
      #define MQTT_PUBLISH_ACK_PACKET_SIZE
      The size of MQTT PUBACK, PUBREC, PUBREL, and PUBCOMP packets, per MQTT spec.
      Definition: core_mqtt_serializer.h:73
      #define MQTT_PACKET_TYPE_PUBACK
      PUBACK (bidirectional).
      Definition: core_mqtt_serializer.h:56
      @@ -2555,7 +2562,7 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t of
      // size >= 2 to serialize the disconnect packet.
      -
      MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
      Get the size of an MQTT DISCONNECT packet.
      Definition: core_mqtt_serializer.c:2321
      +
      MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
      Get the size of an MQTT DISCONNECT packet.
      Definition: core_mqtt_serializer.c:2326
      @@ -2604,7 +2611,7 @@

      {
      // The disconnect packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT DISCONNECT packet into the given buffer.
      Definition: core_mqtt_serializer.c:2341
      +
      MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT DISCONNECT packet into the given buffer.
      Definition: core_mqtt_serializer.c:2346
      @@ -2643,7 +2650,7 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t of
      // size >= 2 to serialize the ping request.
      -
      MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
      Get the size of an MQTT PINGREQ packet.
      Definition: core_mqtt_serializer.c:2384
      +
      MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
      Get the size of an MQTT PINGREQ packet.
      Definition: core_mqtt_serializer.c:2389
      @@ -2692,7 +2699,7 @@

      {
      // The ping request can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PINGREQ packet into the given buffer.
      Definition: core_mqtt_serializer.c:2404
      +
      MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PINGREQ packet into the given buffer.
      Definition: core_mqtt_serializer.c:2409
      @@ -2781,14 +2788,14 @@

      // The deserialized publish information can now be used from `publishInfo`.
      }
      }
      -
      MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
      Deserialize an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2447
      -
      MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2561
      +
      MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
      Deserialize an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2452
      +
      MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2566
      #define MQTT_PACKET_TYPE_PUBLISH
      PUBLISH (bidirectional).
      Definition: core_mqtt_serializer.h:55
      struct NetworkContext NetworkContext_t
      The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
      Definition: transport_interface.h:191
      -
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:247
      -
      size_t remainingLength
      Length of remaining serialized data.
      Definition: core_mqtt_serializer.h:261
      -
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:251
      -
      uint8_t * pRemainingData
      Remaining serialized data in the MQTT packet.
      Definition: core_mqtt_serializer.h:256
      +
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:251
      +
      size_t remainingLength
      Length of remaining serialized data.
      Definition: core_mqtt_serializer.h:265
      +
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:255
      +
      uint8_t * pRemainingData
      Remaining serialized data in the MQTT packet.
      Definition: core_mqtt_serializer.h:260
      @@ -2856,7 +2863,7 @@

      // ping response packets, the only information is the status code.
      }
      }
      -
      MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
      Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
      Definition: core_mqtt_serializer.c:2484
      +
      MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
      Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
      Definition: core_mqtt_serializer.c:2489
      @@ -2942,6 +2949,44 @@

      incomingPacket.pRemainingData = buffer;
      @ MQTTNoDataAvailable
      Definition: core_mqtt_serializer.h:95
      + + + +

      ◆ MQTT_UpdateDuplicatePublishFlag()

      + +
      +
      + + + + + + + + + + + + + + + + + + +
      MQTTStatus_t MQTT_UpdateDuplicatePublishFlag (uint8_t * pHeader,
      bool set 
      )
      +
      + +

      Update the duplicate publish flag within the given header of the publish packet.

      +
      Parameters
      + + + +
      [in]pHeaderThe buffer holding the header content
      [in]setIf true then the flag will be set else cleared
      +
      +
      +
      Returns
      MQTTSuccess on successful setting of the duplicate flag, MQTTBadParameter for invalid parameters
      +
      diff --git a/main/core__mqtt__serializer_8h.html b/main/core__mqtt__serializer_8h.html index 153142805..2725115ce 100644 --- a/main/core__mqtt__serializer_8h.html +++ b/main/core__mqtt__serializer_8h.html @@ -217,6 +217,9 @@   MQTTStatusConnected , MQTTStatusNotConnected , MQTTStatusDisconnectPending +, MQTTPublishStoreFailed +,
      +  MQTTPublishRetrieveFailed
      }  Return codes from MQTT functions. More...
      @@ -287,6 +290,9 @@ MQTTStatus_t MQTT_ProcessIncomingPacketTypeAndLength (const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket)  Extract the MQTT packet type and length from incoming packet.
        +MQTTStatus_t MQTT_UpdateDuplicatePublishFlag (uint8_t *pHeader, bool set) + Update the duplicate publish flag within the given header of the publish packet.

      Detailed Description

      User-facing functions for serializing and deserializing MQTT 3.1.1 packets. This header should be included for building a lighter weight MQTT client than the managed CSDK MQTT library API in core_mqtt.h, by using the serializer and de-serializer functions exposed in this file's API.

      @@ -363,11 +369,11 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t

      // of size >= packetSize to serialize the connect request.
      }
      -
      MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the size and Remaining Length of an MQTT CONNECT packet.
      Definition: core_mqtt_serializer.c:1690
      +
      MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the size and Remaining Length of an MQTT CONNECT packet.
      Definition: core_mqtt_serializer.c:1695
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      @ MQTTSuccess
      Definition: core_mqtt_serializer.h:88
      -
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:136
      -
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:205
      +
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:140
      +
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:209
      @@ -447,10 +453,10 @@

      {
      // The connect packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
      Definition: core_mqtt_serializer.c:1790
      -
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:126
      -
      size_t size
      Size of buffer.
      Definition: core_mqtt_serializer.h:128
      -
      uint8_t * pBuffer
      Pointer to buffer.
      Definition: core_mqtt_serializer.h:127
      +
      MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
      Definition: core_mqtt_serializer.c:1795
      +
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:130
      +
      size_t size
      Size of buffer.
      Definition: core_mqtt_serializer.h:132
      +
      uint8_t * pBuffer
      Pointer to buffer.
      Definition: core_mqtt_serializer.h:131
      @@ -530,12 +536,12 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t
      // of size >= packetSize to serialize the subscribe request.
      }
      -
      MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1848
      -
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:113
      -
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:183
      -
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:187
      -
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:197
      -
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:192
      +
      MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1853
      +
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:117
      +
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:187
      +
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:191
      +
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:201
      +
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:196
      @@ -631,7 +637,7 @@

      {
      // The subscribe packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT SUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:1932
      +
      MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT SUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:1937
      @@ -703,7 +709,7 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t
      // of size >= packetSize to serialize the unsubscribe request.
      }
      -
      MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1978
      +
      MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1983
      @@ -799,7 +805,7 @@

      {
      // The unsubscribe packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:2016
      +
      MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:2021
      @@ -868,12 +874,12 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t
      // of size >= packetSize to serialize the publish.
      }
      -
      MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the packet size and remaining length of an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2057
      -
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:209
      -
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:229
      -
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:239
      -
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:224
      -
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:234
      +
      MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the packet size and remaining length of an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2062
      +
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:213
      +
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:233
      +
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:243
      +
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:228
      +
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:238
      @@ -962,7 +968,7 @@

      {
      // The publish packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PUBLISH packet in the given buffer.
      Definition: core_mqtt_serializer.c:2098
      +
      MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PUBLISH packet in the given buffer.
      Definition: core_mqtt_serializer.c:2103
      @@ -1119,7 +1125,7 @@

      bytesSent = send( mqttSocket, publishInfo.pPayload, publishInfo.payloadLength, 0 );
      assert( bytesSent == publishInfo.payloadLength );
      }
      -
      MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
      Serialize an MQTT PUBLISH packet header in the given buffer.
      Definition: core_mqtt_serializer.c:2183
      +
      MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
      Serialize an MQTT PUBLISH packet header in the given buffer.
      Definition: core_mqtt_serializer.c:2188
      @@ -1190,7 +1196,7 @@

      {
      // The publish acknowledgment can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
      Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
      Definition: core_mqtt_serializer.c:2266
      +
      MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
      Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
      Definition: core_mqtt_serializer.c:2271
      #define MQTT_PUBLISH_ACK_PACKET_SIZE
      The size of MQTT PUBACK, PUBREC, PUBREL, and PUBCOMP packets, per MQTT spec.
      Definition: core_mqtt_serializer.h:73
      #define MQTT_PACKET_TYPE_PUBACK
      PUBACK (bidirectional).
      Definition: core_mqtt_serializer.h:56
      @@ -1231,7 +1237,7 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t of
      // size >= 2 to serialize the disconnect packet.
      -
      MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
      Get the size of an MQTT DISCONNECT packet.
      Definition: core_mqtt_serializer.c:2321
      +
      MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
      Get the size of an MQTT DISCONNECT packet.
      Definition: core_mqtt_serializer.c:2326
      @@ -1280,7 +1286,7 @@

      {
      // The disconnect packet can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT DISCONNECT packet into the given buffer.
      Definition: core_mqtt_serializer.c:2341
      +
      MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT DISCONNECT packet into the given buffer.
      Definition: core_mqtt_serializer.c:2346
      @@ -1319,7 +1325,7 @@

      // The application should allocate or use a static #MQTTFixedBuffer_t of
      // size >= 2 to serialize the ping request.
      -
      MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
      Get the size of an MQTT PINGREQ packet.
      Definition: core_mqtt_serializer.c:2384
      +
      MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
      Get the size of an MQTT PINGREQ packet.
      Definition: core_mqtt_serializer.c:2389
      @@ -1368,7 +1374,7 @@

      {
      // The ping request can now be sent to the broker.
      }
      -
      MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PINGREQ packet into the given buffer.
      Definition: core_mqtt_serializer.c:2404
      +
      MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PINGREQ packet into the given buffer.
      Definition: core_mqtt_serializer.c:2409
      @@ -1457,14 +1463,14 @@

      // The deserialized publish information can now be used from `publishInfo`.
      }
      }
      -
      MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
      Deserialize an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2447
      -
      MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2561
      +
      MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
      Deserialize an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2452
      +
      MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2566
      #define MQTT_PACKET_TYPE_PUBLISH
      PUBLISH (bidirectional).
      Definition: core_mqtt_serializer.h:55
      struct NetworkContext NetworkContext_t
      The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
      Definition: transport_interface.h:191
      -
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:247
      -
      size_t remainingLength
      Length of remaining serialized data.
      Definition: core_mqtt_serializer.h:261
      -
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:251
      -
      uint8_t * pRemainingData
      Remaining serialized data in the MQTT packet.
      Definition: core_mqtt_serializer.h:256
      +
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:251
      +
      size_t remainingLength
      Length of remaining serialized data.
      Definition: core_mqtt_serializer.h:265
      +
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:255
      +
      uint8_t * pRemainingData
      Remaining serialized data in the MQTT packet.
      Definition: core_mqtt_serializer.h:260
      @@ -1532,7 +1538,7 @@

      // ping response packets, the only information is the status code.
      }
      }
      -
      MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
      Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
      Definition: core_mqtt_serializer.c:2484
      +
      MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
      Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
      Definition: core_mqtt_serializer.c:2489
      @@ -1664,6 +1670,44 @@

      Returns
      MQTTSuccess on successful extraction of type and length, MQTTBadParameter if pIncomingPacket is invalid, MQTTBadResponse if an invalid packet is read, and MQTTNoDataAvailable if there is nothing to read.
      + + + +

      ◆ MQTT_UpdateDuplicatePublishFlag()

      + +
      +
      + + + + + + + + + + + + + + + + + + +
      MQTTStatus_t MQTT_UpdateDuplicatePublishFlag (uint8_t * pHeader,
      bool set 
      )
      +
      + +

      Update the duplicate publish flag within the given header of the publish packet.

      +
      Parameters
      + + + +
      [in]pHeaderThe buffer holding the header content
      [in]setIf true then the flag will be set else cleared
      +
      +
      +
      Returns
      MQTTSuccess on successful setting of the duplicate flag, MQTTBadParameter for invalid parameters
      +
      diff --git a/main/core__mqtt__serializer_8h_source.html b/main/core__mqtt__serializer_8h_source.html index 2c6594a8c..d74e94fe9 100644 --- a/main/core__mqtt__serializer_8h_source.html +++ b/main/core__mqtt__serializer_8h_source.html @@ -166,255 +166,264 @@
      81
      86typedef enum MQTTStatus
      87{
      - - - - - - - - - - - - - - - - -
      106
      -
      111typedef enum MQTTQoS
      -
      112{
      - - -
      115 MQTTQoS2 = 2
      - -
      117
      -
      125typedef struct MQTTFixedBuffer
      -
      126{
      -
      127 uint8_t * pBuffer;
      -
      128 size_t size;
      - -
      130
      -
      135typedef struct MQTTConnectInfo
      -
      136{
      - -
      141
      - -
      146
      -
      150 const char * pClientIdentifier;
      -
      151
      - -
      156
      -
      160 const char * pUserName;
      -
      161
      - -
      166
      -
      170 const char * pPassword;
      -
      171
      - - -
      177
      -
      182typedef struct MQTTSubscribeInfo
      -
      183{
      - -
      188
      -
      192 const char * pTopicFilter;
      -
      193
      - - -
      199
      -
      204typedef struct MQTTPublishInfo
      -
      205{
      - -
      210
      -
      214 bool retain;
      -
      215
      -
      219 bool dup;
      -
      220
      -
      224 const char * pTopicName;
      -
      225
      - -
      230
      -
      234 const void * pPayload;
      -
      235
      - - -
      241
      -
      246typedef struct MQTTPacketInfo
      -
      247{
      -
      251 uint8_t type;
      -
      252
      -
      256 uint8_t * pRemainingData;
      -
      257
      - -
      262
      - - -
      268
      -
      316/* @[declare_mqtt_getconnectpacketsize] */
      - -
      318 const MQTTPublishInfo_t * pWillInfo,
      -
      319 size_t * pRemainingLength,
      -
      320 size_t * pPacketSize );
      -
      321/* @[declare_mqtt_getconnectpacketsize] */
      -
      322
      -
      372/* @[declare_mqtt_serializeconnect] */
      - -
      374 const MQTTPublishInfo_t * pWillInfo,
      -
      375 size_t remainingLength,
      -
      376 const MQTTFixedBuffer_t * pFixedBuffer );
      -
      377/* @[declare_mqtt_serializeconnect] */
      -
      378
      -
      430/* @[declare_mqtt_getsubscribepacketsize] */
      - -
      432 size_t subscriptionCount,
      -
      433 size_t * pRemainingLength,
      -
      434 size_t * pPacketSize );
      -
      435/* @[declare_mqtt_getsubscribepacketsize] */
      -
      436
      -
      496/* @[declare_mqtt_serializesubscribe] */
      - -
      498 size_t subscriptionCount,
      -
      499 uint16_t packetId,
      -
      500 size_t remainingLength,
      -
      501 const MQTTFixedBuffer_t * pFixedBuffer );
      -
      502/* @[declare_mqtt_serializesubscribe] */
      -
      503
      -
      547/* @[declare_mqtt_getunsubscribepacketsize] */
      - -
      549 size_t subscriptionCount,
      -
      550 size_t * pRemainingLength,
      -
      551 size_t * pPacketSize );
      -
      552/* @[declare_mqtt_getunsubscribepacketsize] */
      -
      553
      -
      613/* @[declare_mqtt_serializeunsubscribe] */
      - -
      615 size_t subscriptionCount,
      -
      616 uint16_t packetId,
      -
      617 size_t remainingLength,
      -
      618 const MQTTFixedBuffer_t * pFixedBuffer );
      -
      619/* @[declare_mqtt_serializeunsubscribe] */
      -
      620
      -
      667/* @[declare_mqtt_getpublishpacketsize] */
      - -
      669 size_t * pRemainingLength,
      -
      670 size_t * pPacketSize );
      + + + + + + + + + + + + + + + + + + +
      110
      +
      115typedef enum MQTTQoS
      +
      116{
      + + +
      119 MQTTQoS2 = 2
      + +
      121
      +
      129typedef struct MQTTFixedBuffer
      +
      130{
      +
      131 uint8_t * pBuffer;
      +
      132 size_t size;
      + +
      134
      +
      139typedef struct MQTTConnectInfo
      +
      140{
      + +
      145
      + +
      150
      +
      154 const char * pClientIdentifier;
      +
      155
      + +
      160
      +
      164 const char * pUserName;
      +
      165
      + +
      170
      +
      174 const char * pPassword;
      +
      175
      + + +
      181
      +
      186typedef struct MQTTSubscribeInfo
      +
      187{
      + +
      192
      +
      196 const char * pTopicFilter;
      +
      197
      + + +
      203
      +
      208typedef struct MQTTPublishInfo
      +
      209{
      + +
      214
      +
      218 bool retain;
      +
      219
      +
      223 bool dup;
      +
      224
      +
      228 const char * pTopicName;
      +
      229
      + +
      234
      +
      238 const void * pPayload;
      +
      239
      + + +
      245
      +
      250typedef struct MQTTPacketInfo
      +
      251{
      +
      255 uint8_t type;
      +
      256
      +
      260 uint8_t * pRemainingData;
      +
      261
      + +
      266
      + + +
      272
      +
      320/* @[declare_mqtt_getconnectpacketsize] */
      + +
      322 const MQTTPublishInfo_t * pWillInfo,
      +
      323 size_t * pRemainingLength,
      +
      324 size_t * pPacketSize );
      +
      325/* @[declare_mqtt_getconnectpacketsize] */
      +
      326
      +
      376/* @[declare_mqtt_serializeconnect] */
      + +
      378 const MQTTPublishInfo_t * pWillInfo,
      +
      379 size_t remainingLength,
      +
      380 const MQTTFixedBuffer_t * pFixedBuffer );
      +
      381/* @[declare_mqtt_serializeconnect] */
      +
      382
      +
      434/* @[declare_mqtt_getsubscribepacketsize] */
      + +
      436 size_t subscriptionCount,
      +
      437 size_t * pRemainingLength,
      +
      438 size_t * pPacketSize );
      +
      439/* @[declare_mqtt_getsubscribepacketsize] */
      +
      440
      +
      500/* @[declare_mqtt_serializesubscribe] */
      + +
      502 size_t subscriptionCount,
      +
      503 uint16_t packetId,
      +
      504 size_t remainingLength,
      +
      505 const MQTTFixedBuffer_t * pFixedBuffer );
      +
      506/* @[declare_mqtt_serializesubscribe] */
      +
      507
      +
      551/* @[declare_mqtt_getunsubscribepacketsize] */
      + +
      553 size_t subscriptionCount,
      +
      554 size_t * pRemainingLength,
      +
      555 size_t * pPacketSize );
      +
      556/* @[declare_mqtt_getunsubscribepacketsize] */
      +
      557
      +
      617/* @[declare_mqtt_serializeunsubscribe] */
      + +
      619 size_t subscriptionCount,
      +
      620 uint16_t packetId,
      +
      621 size_t remainingLength,
      +
      622 const MQTTFixedBuffer_t * pFixedBuffer );
      +
      623/* @[declare_mqtt_serializeunsubscribe] */
      +
      624
      671/* @[declare_mqtt_getpublishpacketsize] */
      -
      672
      -
      735/* @[declare_mqtt_serializepublish] */
      - -
      737 uint16_t packetId,
      -
      738 size_t remainingLength,
      -
      739 const MQTTFixedBuffer_t * pFixedBuffer );
      -
      740/* @[declare_mqtt_serializepublish] */
      -
      741
      - -
      756 size_t remainingLength,
      -
      757 uint8_t * pBuffer,
      -
      758 size_t * headerSize );
      -
      759
      -
      833/* @[declare_mqtt_serializepublishheader] */
      - -
      835 uint16_t packetId,
      -
      836 size_t remainingLength,
      -
      837 const MQTTFixedBuffer_t * pFixedBuffer,
      -
      838 size_t * pHeaderSize );
      -
      839/* @[declare_mqtt_serializepublishheader] */
      -
      840
      -
      882/* @[declare_mqtt_serializeack] */
      - -
      884 uint8_t packetType,
      -
      885 uint16_t packetId );
      + +
      673 size_t * pRemainingLength,
      +
      674 size_t * pPacketSize );
      +
      675/* @[declare_mqtt_getpublishpacketsize] */
      +
      676
      +
      739/* @[declare_mqtt_serializepublish] */
      + +
      741 uint16_t packetId,
      +
      742 size_t remainingLength,
      +
      743 const MQTTFixedBuffer_t * pFixedBuffer );
      +
      744/* @[declare_mqtt_serializepublish] */
      +
      745
      + +
      760 size_t remainingLength,
      +
      761 uint8_t * pBuffer,
      +
      762 size_t * headerSize );
      +
      763
      +
      837/* @[declare_mqtt_serializepublishheader] */
      + +
      839 uint16_t packetId,
      +
      840 size_t remainingLength,
      +
      841 const MQTTFixedBuffer_t * pFixedBuffer,
      +
      842 size_t * pHeaderSize );
      +
      843/* @[declare_mqtt_serializepublishheader] */
      +
      844
      886/* @[declare_mqtt_serializeack] */
      -
      887
      -
      912/* @[declare_mqtt_getdisconnectpacketsize] */
      -
      913MQTTStatus_t MQTT_GetDisconnectPacketSize( size_t * pPacketSize );
      -
      914/* @[declare_mqtt_getdisconnectpacketsize] */
      -
      915
      -
      953/* @[declare_mqtt_serializedisconnect] */
      - -
      955/* @[declare_mqtt_serializedisconnect] */
      -
      956
      -
      981/* @[declare_mqtt_getpingreqpacketsize] */
      -
      982MQTTStatus_t MQTT_GetPingreqPacketSize( size_t * pPacketSize );
      -
      983/* @[declare_mqtt_getpingreqpacketsize] */
      -
      984
      -
      1022/* @[declare_mqtt_serializepingreq] */
      - -
      1024/* @[declare_mqtt_serializepingreq] */
      -
      1025
      -
      1083/* @[declare_mqtt_deserializepublish] */
      - -
      1085 uint16_t * pPacketId,
      -
      1086 MQTTPublishInfo_t * pPublishInfo );
      + +
      888 uint8_t packetType,
      +
      889 uint16_t packetId );
      +
      890/* @[declare_mqtt_serializeack] */
      +
      891
      +
      916/* @[declare_mqtt_getdisconnectpacketsize] */
      +
      917MQTTStatus_t MQTT_GetDisconnectPacketSize( size_t * pPacketSize );
      +
      918/* @[declare_mqtt_getdisconnectpacketsize] */
      +
      919
      +
      957/* @[declare_mqtt_serializedisconnect] */
      + +
      959/* @[declare_mqtt_serializedisconnect] */
      +
      960
      +
      985/* @[declare_mqtt_getpingreqpacketsize] */
      +
      986MQTTStatus_t MQTT_GetPingreqPacketSize( size_t * pPacketSize );
      +
      987/* @[declare_mqtt_getpingreqpacketsize] */
      +
      988
      +
      1026/* @[declare_mqtt_serializepingreq] */
      + +
      1028/* @[declare_mqtt_serializepingreq] */
      +
      1029
      1087/* @[declare_mqtt_deserializepublish] */
      -
      1088
      -
      1127/* @[declare_mqtt_deserializeack] */
      -
      1128MQTTStatus_t MQTT_DeserializeAck( const MQTTPacketInfo_t * pIncomingPacket,
      -
      1129 uint16_t * pPacketId,
      -
      1130 bool * pSessionPresent );
      + +
      1089 uint16_t * pPacketId,
      +
      1090 MQTTPublishInfo_t * pPublishInfo );
      +
      1091/* @[declare_mqtt_deserializepublish] */
      +
      1092
      1131/* @[declare_mqtt_deserializeack] */
      -
      1132
      -
      1193/* @[declare_mqtt_getincomingpackettypeandlength] */
      - -
      1195 NetworkContext_t * pNetworkContext,
      -
      1196 MQTTPacketInfo_t * pIncomingPacket );
      +
      1132MQTTStatus_t MQTT_DeserializeAck( const MQTTPacketInfo_t * pIncomingPacket,
      +
      1133 uint16_t * pPacketId,
      +
      1134 bool * pSessionPresent );
      +
      1135/* @[declare_mqtt_deserializeack] */
      +
      1136
      1197/* @[declare_mqtt_getincomingpackettypeandlength] */
      -
      1198
      -
      1217 /* @[declare_mqtt_processincomingpackettypeandlength] */
      - -
      1219 const size_t * pIndex,
      -
      1220 MQTTPacketInfo_t * pIncomingPacket );
      -
      1221/* @[declare_mqtt_processincomingpackettypeandlength] */
      -
      1222
      -
      1241uint8_t * MQTT_SerializeConnectFixedHeader( uint8_t * pIndex,
      -
      1242 const MQTTConnectInfo_t * pConnectInfo,
      -
      1243 const MQTTPublishInfo_t * pWillInfo,
      -
      1244 size_t remainingLength );
      -
      1264uint8_t * MQTT_SerializeSubscribeHeader( size_t remainingLength,
      -
      1265 uint8_t * pIndex,
      -
      1266 uint16_t packetId );
      -
      1286uint8_t * MQTT_SerializeUnsubscribeHeader( size_t remainingLength,
      -
      1287 uint8_t * pIndex,
      -
      1288 uint16_t packetId );
      -
      1291/* *INDENT-OFF* */
      -
      1292#ifdef __cplusplus
      -
      1293 }
      -
      1294#endif
      -
      1295/* *INDENT-ON* */
      -
      1296
      -
      1297#endif /* ifndef CORE_MQTT_SERIALIZER_H */
      -
      uint8_t * MQTT_SerializeUnsubscribeHeader(size_t remainingLength, uint8_t *pIndex, uint16_t packetId)
      Serialize the fixed part of the unsubscribe packet header.
      Definition: core_mqtt_serializer.c:1910
      -
      uint8_t * MQTT_SerializeConnectFixedHeader(uint8_t *pIndex, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength)
      Serialize the fixed part of the connect packet header.
      Definition: core_mqtt_serializer.c:1553
      -
      uint8_t * MQTT_SerializeSubscribeHeader(size_t remainingLength, uint8_t *pIndex, uint16_t packetId)
      Serialize the fixed part of the subscribe packet header.
      Definition: core_mqtt_serializer.c:1886
      -
      MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
      Get the size of an MQTT PINGREQ packet.
      Definition: core_mqtt_serializer.c:2384
      -
      MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
      Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
      Definition: core_mqtt_serializer.c:2266
      -
      MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT SUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:1932
      -
      MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1978
      -
      MQTTStatus_t MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize)
      Serialize an MQTT PUBLISH packet header without the topic string in the given buffer....
      Definition: core_mqtt_serializer.c:636
      -
      MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
      Deserialize an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2447
      -
      MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the size and Remaining Length of an MQTT CONNECT packet.
      Definition: core_mqtt_serializer.c:1690
      -
      MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
      Serialize an MQTT PUBLISH packet header in the given buffer.
      Definition: core_mqtt_serializer.c:2183
      -
      MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT DISCONNECT packet into the given buffer.
      Definition: core_mqtt_serializer.c:2341
      -
      MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
      Get the size of an MQTT DISCONNECT packet.
      Definition: core_mqtt_serializer.c:2321
      -
      MQTTStatus_t MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2626
      -
      MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2561
      -
      MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the packet size and remaining length of an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2057
      -
      MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
      Definition: core_mqtt_serializer.c:1790
      -
      MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:2016
      -
      MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1848
      -
      MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PUBLISH packet in the given buffer.
      Definition: core_mqtt_serializer.c:2098
      -
      MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
      Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
      Definition: core_mqtt_serializer.c:2484
      -
      MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PINGREQ packet into the given buffer.
      Definition: core_mqtt_serializer.c:2404
      + +
      1199 NetworkContext_t * pNetworkContext,
      +
      1200 MQTTPacketInfo_t * pIncomingPacket );
      +
      1201/* @[declare_mqtt_getincomingpackettypeandlength] */
      +
      1202
      +
      1221 /* @[declare_mqtt_processincomingpackettypeandlength] */
      + +
      1223 const size_t * pIndex,
      +
      1224 MQTTPacketInfo_t * pIncomingPacket );
      +
      1225/* @[declare_mqtt_processincomingpackettypeandlength] */
      +
      1226
      +
      1236 /* @[declare_mqtt_updateduplicatepublishflag] */
      +
      1237MQTTStatus_t MQTT_UpdateDuplicatePublishFlag( uint8_t * pHeader , bool set);
      +
      1238/* @[declare_mqtt_updateduplicatepublishflag] */
      +
      1239
      +
      1258uint8_t * MQTT_SerializeConnectFixedHeader( uint8_t * pIndex,
      +
      1259 const MQTTConnectInfo_t * pConnectInfo,
      +
      1260 const MQTTPublishInfo_t * pWillInfo,
      +
      1261 size_t remainingLength );
      +
      1281uint8_t * MQTT_SerializeSubscribeHeader( size_t remainingLength,
      +
      1282 uint8_t * pIndex,
      +
      1283 uint16_t packetId );
      +
      1303uint8_t * MQTT_SerializeUnsubscribeHeader( size_t remainingLength,
      +
      1304 uint8_t * pIndex,
      +
      1305 uint16_t packetId );
      +
      1308/* *INDENT-OFF* */
      +
      1309#ifdef __cplusplus
      +
      1310 }
      +
      1311#endif
      +
      1312/* *INDENT-ON* */
      +
      1313
      +
      1314#endif /* ifndef CORE_MQTT_SERIALIZER_H */
      +
      uint8_t * MQTT_SerializeUnsubscribeHeader(size_t remainingLength, uint8_t *pIndex, uint16_t packetId)
      Serialize the fixed part of the unsubscribe packet header.
      Definition: core_mqtt_serializer.c:1915
      +
      uint8_t * MQTT_SerializeConnectFixedHeader(uint8_t *pIndex, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength)
      Serialize the fixed part of the connect packet header.
      Definition: core_mqtt_serializer.c:1558
      +
      uint8_t * MQTT_SerializeSubscribeHeader(size_t remainingLength, uint8_t *pIndex, uint16_t packetId)
      Serialize the fixed part of the subscribe packet header.
      Definition: core_mqtt_serializer.c:1891
      +
      MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
      Get the size of an MQTT PINGREQ packet.
      Definition: core_mqtt_serializer.c:2389
      +
      MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
      Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
      Definition: core_mqtt_serializer.c:2271
      +
      MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT SUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:1937
      +
      MQTTStatus_t MQTT_UpdateDuplicatePublishFlag(uint8_t *pHeader, bool set)
      Update the duplicate publish flag within the given header of the publish packet.
      Definition: core_mqtt_serializer.c:2631
      +
      MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1983
      +
      MQTTStatus_t MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize)
      Serialize an MQTT PUBLISH packet header without the topic string in the given buffer....
      Definition: core_mqtt_serializer.c:641
      +
      MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
      Deserialize an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2452
      +
      MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the size and Remaining Length of an MQTT CONNECT packet.
      Definition: core_mqtt_serializer.c:1695
      +
      MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
      Serialize an MQTT PUBLISH packet header in the given buffer.
      Definition: core_mqtt_serializer.c:2188
      +
      MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT DISCONNECT packet into the given buffer.
      Definition: core_mqtt_serializer.c:2346
      +
      MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
      Get the size of an MQTT DISCONNECT packet.
      Definition: core_mqtt_serializer.c:2326
      +
      MQTTStatus_t MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2658
      +
      MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
      Extract the MQTT packet type and length from incoming packet.
      Definition: core_mqtt_serializer.c:2566
      +
      MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
      Get the packet size and remaining length of an MQTT PUBLISH packet.
      Definition: core_mqtt_serializer.c:2062
      +
      MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
      Definition: core_mqtt_serializer.c:1795
      +
      MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
      Definition: core_mqtt_serializer.c:2021
      +
      MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
      Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
      Definition: core_mqtt_serializer.c:1853
      +
      MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PUBLISH packet in the given buffer.
      Definition: core_mqtt_serializer.c:2103
      +
      MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
      Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
      Definition: core_mqtt_serializer.c:2489
      +
      MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
      Serialize an MQTT PINGREQ packet into the given buffer.
      Definition: core_mqtt_serializer.c:2409
      int32_t(* TransportRecv_t)(NetworkContext_t *pNetworkContext, void *pBuffer, size_t bytesToRecv)
      Transport interface for receiving data on the network.
      Definition: transport_interface.h:218
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      -
      MQTTQoS_t
      MQTT Quality of Service values.
      Definition: core_mqtt_serializer.h:112
      +
      MQTTQoS_t
      MQTT Quality of Service values.
      Definition: core_mqtt_serializer.h:116
      @ MQTTStatusNotConnected
      Definition: core_mqtt_serializer.h:103
      @ MQTTKeepAliveTimeout
      Definition: core_mqtt_serializer.h:98
      @ MQTTStatusDisconnectPending
      Definition: core_mqtt_serializer.h:104
      @ MQTTServerRefused
      Definition: core_mqtt_serializer.h:94
      +
      @ MQTTPublishRetrieveFailed
      Definition: core_mqtt_serializer.h:107
      @ MQTTSuccess
      Definition: core_mqtt_serializer.h:88
      +
      @ MQTTPublishStoreFailed
      Definition: core_mqtt_serializer.h:105
      @ MQTTNoDataAvailable
      Definition: core_mqtt_serializer.h:95
      @ MQTTIllegalState
      Definition: core_mqtt_serializer.h:96
      @ MQTTStateCollision
      Definition: core_mqtt_serializer.h:97
      @@ -425,39 +434,39 @@
      @ MQTTNeedMoreBytes
      Definition: core_mqtt_serializer.h:99
      @ MQTTNoMemory
      Definition: core_mqtt_serializer.h:90
      @ MQTTSendFailed
      Definition: core_mqtt_serializer.h:91
      -
      @ MQTTQoS1
      Definition: core_mqtt_serializer.h:114
      -
      @ MQTTQoS2
      Definition: core_mqtt_serializer.h:115
      -
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:113
      +
      @ MQTTQoS1
      Definition: core_mqtt_serializer.h:118
      +
      @ MQTTQoS2
      Definition: core_mqtt_serializer.h:119
      +
      @ MQTTQoS0
      Definition: core_mqtt_serializer.h:117
      struct NetworkContext NetworkContext_t
      The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
      Definition: transport_interface.h:191
      -
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:136
      -
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:150
      -
      const char * pUserName
      MQTT user name. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:160
      -
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:140
      -
      uint16_t userNameLength
      Length of MQTT user name. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:165
      -
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:145
      -
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:155
      -
      uint16_t passwordLength
      Length of MQTT password. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:175
      -
      const char * pPassword
      MQTT password. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:170
      -
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:126
      -
      size_t size
      Size of buffer.
      Definition: core_mqtt_serializer.h:128
      -
      uint8_t * pBuffer
      Pointer to buffer.
      Definition: core_mqtt_serializer.h:127
      -
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:247
      -
      size_t remainingLength
      Length of remaining serialized data.
      Definition: core_mqtt_serializer.h:261
      -
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:251
      -
      size_t headerLength
      The length of the MQTT header including the type and length.
      Definition: core_mqtt_serializer.h:266
      -
      uint8_t * pRemainingData
      Remaining serialized data in the MQTT packet.
      Definition: core_mqtt_serializer.h:256
      -
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:205
      -
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:209
      -
      bool retain
      Whether this is a retained message.
      Definition: core_mqtt_serializer.h:214
      -
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:229
      -
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:239
      -
      bool dup
      Whether this is a duplicate publish message.
      Definition: core_mqtt_serializer.h:219
      -
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:224
      -
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:234
      -
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:183
      -
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:187
      -
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:197
      -
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:192
      +
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:140
      +
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:154
      +
      const char * pUserName
      MQTT user name. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:164
      +
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:144
      +
      uint16_t userNameLength
      Length of MQTT user name. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:169
      +
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:149
      +
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:159
      +
      uint16_t passwordLength
      Length of MQTT password. Set to 0 if not used.
      Definition: core_mqtt_serializer.h:179
      +
      const char * pPassword
      MQTT password. Set to NULL if not used.
      Definition: core_mqtt_serializer.h:174
      +
      Buffer passed to MQTT library.
      Definition: core_mqtt_serializer.h:130
      +
      size_t size
      Size of buffer.
      Definition: core_mqtt_serializer.h:132
      +
      uint8_t * pBuffer
      Pointer to buffer.
      Definition: core_mqtt_serializer.h:131
      +
      MQTT incoming packet parameters.
      Definition: core_mqtt_serializer.h:251
      +
      size_t remainingLength
      Length of remaining serialized data.
      Definition: core_mqtt_serializer.h:265
      +
      uint8_t type
      Type of incoming MQTT packet.
      Definition: core_mqtt_serializer.h:255
      +
      size_t headerLength
      The length of the MQTT header including the type and length.
      Definition: core_mqtt_serializer.h:270
      +
      uint8_t * pRemainingData
      Remaining serialized data in the MQTT packet.
      Definition: core_mqtt_serializer.h:260
      +
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:209
      +
      MQTTQoS_t qos
      Quality of Service for message.
      Definition: core_mqtt_serializer.h:213
      +
      bool retain
      Whether this is a retained message.
      Definition: core_mqtt_serializer.h:218
      +
      uint16_t topicNameLength
      Length of topic name.
      Definition: core_mqtt_serializer.h:233
      +
      size_t payloadLength
      Message payload length.
      Definition: core_mqtt_serializer.h:243
      +
      bool dup
      Whether this is a duplicate publish message.
      Definition: core_mqtt_serializer.h:223
      +
      const char * pTopicName
      Topic name on which the message is published.
      Definition: core_mqtt_serializer.h:228
      +
      const void * pPayload
      Message payload.
      Definition: core_mqtt_serializer.h:238
      +
      MQTT SUBSCRIBE packet parameters.
      Definition: core_mqtt_serializer.h:187
      +
      MQTTQoS_t qos
      Quality of Service for subscription.
      Definition: core_mqtt_serializer.h:191
      +
      uint16_t topicFilterLength
      Length of subscription topic filter.
      Definition: core_mqtt_serializer.h:201
      +
      const char * pTopicFilter
      Topic filter to subscribe to.
      Definition: core_mqtt_serializer.h:196
      Transport interface definitions to send and receive data over the network.
      diff --git a/main/core__mqtt__state_8c.html b/main/core__mqtt__state_8c.html index 1e3b3fd2e..9c3d253f7 100644 --- a/main/core__mqtt__state_8c.html +++ b/main/core__mqtt__state_8c.html @@ -1313,21 +1313,21 @@

      // list of outgoing publishes.
      }
      }
      -
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:2939
      -
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2757
      +
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:3090
      +
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2908
      uint16_t MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor)
      Get the packet ID of next pending publish to be resent.
      Definition: core_mqtt_state.c:1117
      size_t MQTTStateCursor_t
      Cursor for iterating through state records.
      Definition: core_mqtt_state.h:51
      #define MQTT_STATE_CURSOR_INITIALIZER
      Initializer value for an MQTTStateCursor_t, indicating a search should start at the beginning of a st...
      Definition: core_mqtt_state.h:45
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      @ MQTTSuccess
      Definition: core_mqtt_serializer.h:88
      -
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:136
      -
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:150
      -
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:140
      -
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:145
      -
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:155
      -
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:174
      -
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:205
      -
      bool dup
      Whether this is a duplicate publish message.
      Definition: core_mqtt_serializer.h:219
      +
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:140
      +
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:154
      +
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:144
      +
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:149
      +
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:159
      +
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:233
      +
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:209
      +
      bool dup
      Whether this is a duplicate publish message.
      Definition: core_mqtt_serializer.h:223
      diff --git a/main/core__mqtt__state_8h.html b/main/core__mqtt__state_8h.html index 2ada9e626..6eaca4180 100644 --- a/main/core__mqtt__state_8h.html +++ b/main/core__mqtt__state_8h.html @@ -219,21 +219,21 @@

      // list of outgoing publishes.
      }
      }
      -
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:2939
      -
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2757
      +
      MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
      Publishes a message to the given topic name.
      Definition: core_mqtt.c:3090
      +
      MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
      Establish an MQTT session.
      Definition: core_mqtt.c:2908
      uint16_t MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor)
      Get the packet ID of next pending publish to be resent.
      Definition: core_mqtt_state.c:1117
      size_t MQTTStateCursor_t
      Cursor for iterating through state records.
      Definition: core_mqtt_state.h:51
      #define MQTT_STATE_CURSOR_INITIALIZER
      Initializer value for an MQTTStateCursor_t, indicating a search should start at the beginning of a st...
      Definition: core_mqtt_state.h:45
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      @ MQTTSuccess
      Definition: core_mqtt_serializer.h:88
      -
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:136
      -
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:150
      -
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:140
      -
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:145
      -
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:155
      -
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:174
      -
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:205
      -
      bool dup
      Whether this is a duplicate publish message.
      Definition: core_mqtt_serializer.h:219
      +
      MQTT CONNECT packet parameters.
      Definition: core_mqtt_serializer.h:140
      +
      const char * pClientIdentifier
      MQTT client identifier. Must be unique per client.
      Definition: core_mqtt_serializer.h:154
      +
      bool cleanSession
      Whether to establish a new, clean session or resume a previous session.
      Definition: core_mqtt_serializer.h:144
      +
      uint16_t keepAliveSeconds
      MQTT keep alive period.
      Definition: core_mqtt_serializer.h:149
      +
      uint16_t clientIdentifierLength
      Length of the client identifier.
      Definition: core_mqtt_serializer.h:159
      +
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:233
      +
      MQTT PUBLISH packet parameters.
      Definition: core_mqtt_serializer.h:209
      +
      bool dup
      Whether this is a duplicate publish message.
      Definition: core_mqtt_serializer.h:223
      diff --git a/main/core__mqtt__state_8h_source.html b/main/core__mqtt__state_8h_source.html index 51a4d490f..0d4aa5222 100644 --- a/main/core__mqtt__state_8h_source.html +++ b/main/core__mqtt__state_8h_source.html @@ -191,11 +191,11 @@
      MQTTStatus_t MQTT_RemoveStateRecord(const MQTTContext_t *pMqttContext, uint16_t packetId)
      Remove the state record for a PUBLISH packet.
      Definition: core_mqtt_state.c:951
      uint16_t MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor)
      Get the packet ID of next pending publish to be resent.
      Definition: core_mqtt_state.c:1117
      size_t MQTTStateCursor_t
      Cursor for iterating through state records.
      Definition: core_mqtt_state.h:51
      -
      MQTTPublishState_t
      The state of QoS 1 or QoS 2 MQTT publishes, used in the state engine.
      Definition: core_mqtt.h:120
      -
      MQTTPubAckType_t
      Packet types used in acknowledging QoS 1 or QoS 2 publishes.
      Definition: core_mqtt.h:139
      +
      MQTTPublishState_t
      The state of QoS 1 or QoS 2 MQTT publishes, used in the state engine.
      Definition: core_mqtt.h:179
      +
      MQTTPubAckType_t
      Packet types used in acknowledging QoS 1 or QoS 2 publishes.
      Definition: core_mqtt.h:198
      MQTTStatus_t
      Return codes from MQTT functions.
      Definition: core_mqtt_serializer.h:87
      -
      MQTTQoS_t
      MQTT Quality of Service values.
      Definition: core_mqtt_serializer.h:112
      -
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:174
      +
      MQTTQoS_t
      MQTT Quality of Service values.
      Definition: core_mqtt_serializer.h:116
      +
      A struct representing an MQTT connection.
      Definition: core_mqtt.h:233
      diff --git a/main/functions.html b/main/functions.html index a0714b1e7..144ae3516 100644 --- a/main/functions.html +++ b/main/functions.html @@ -106,6 +106,7 @@

      - a -

        - c -

        • cleanSession : MQTTConnectInfo_t
        • +
        • clearFunction : MQTTContext_t
        • clientIdentifierLength : MQTTConnectInfo_t
        • connectStatus : MQTTContext_t
        • controlPacketSent : MQTTContext_t
        • @@ -178,6 +179,7 @@

          - p -

          @@ -190,12 +192,14 @@

          - r -

          - s -

          @@ -212,6 +216,11 @@

          - u -

          +

          - v -

          + +

          - w -

          • waitingForPingResp : MQTTContext_t
          • writev : TransportInterface_t
          • diff --git a/main/functions_vars.html b/main/functions_vars.html index bf8e77a14..7dd7d1652 100644 --- a/main/functions_vars.html +++ b/main/functions_vars.html @@ -106,6 +106,7 @@

            - a -

              - c -

              • cleanSession : MQTTConnectInfo_t
              • +
              • clearFunction : MQTTContext_t
              • clientIdentifierLength : MQTTConnectInfo_t
              • connectStatus : MQTTContext_t
              • controlPacketSent : MQTTContext_t
              • @@ -178,6 +179,7 @@

                - p -

                @@ -190,12 +192,14 @@

                - r -

                - s -

                @@ -212,6 +216,11 @@

                - u -

                +

                - v -

                + +

                - w -

                • waitingForPingResp : MQTTContext_t
                • writev : TransportInterface_t
                • diff --git a/main/globals_defs.html b/main/globals_defs.html index 545141d0e..0e6b10721 100644 --- a/main/globals_defs.html +++ b/main/globals_defs.html @@ -183,6 +183,7 @@

                  - u -

                  diff --git a/main/globals_eval.html b/main/globals_eval.html index a69e854f5..0c0a93977 100644 --- a/main/globals_eval.html +++ b/main/globals_eval.html @@ -119,7 +119,9 @@

                  - m -

                  • MQTTPubCompPending : core_mqtt.h
                  • MQTTPubCompSend : core_mqtt.h
                  • MQTTPublishDone : core_mqtt.h
                  • +
                  • MQTTPublishRetrieveFailed : core_mqtt_serializer.h
                  • MQTTPublishSend : core_mqtt.h
                  • +
                  • MQTTPublishStoreFailed : core_mqtt_serializer.h
                  • MQTTPubrec : core_mqtt.h
                  • MQTTPubRecPending : core_mqtt.h
                  • MQTTPubRecSend : core_mqtt.h
                  • diff --git a/main/globals_func.html b/main/globals_func.html index 52ee6a29f..bf09e847b 100644 --- a/main/globals_func.html +++ b/main/globals_func.html @@ -144,7 +144,7 @@

                    - g -

                      - h -

                        -
                      • handleCleanSession() : core_mqtt.c
                      • +
                      • handleCleanSession() : core_mqtt.c
                      • handleIncomingAck() : core_mqtt.c
                      • handleIncomingPublish() : core_mqtt.c
                      • handleKeepAlive() : core_mqtt.c
                      • @@ -174,8 +174,9 @@

                        - m -

                        • MQTT_CheckConnectStatus() : core_mqtt.h, core_mqtt.c
                        • MQTT_Connect() : core_mqtt.h, core_mqtt.c
                        • MQTT_DeserializeAck() : core_mqtt_serializer.h, core_mqtt_serializer.c
                        • -
                        • MQTT_DeserializePublish() : core_mqtt_serializer.c, core_mqtt_serializer.h
                        • +
                        • MQTT_DeserializePublish() : core_mqtt_serializer.h, core_mqtt_serializer.c
                        • MQTT_Disconnect() : core_mqtt.h, core_mqtt.c
                        • +
                        • MQTT_GetBytesInMQTTVec() : core_mqtt.h, core_mqtt.c
                        • MQTT_GetConnectPacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                        • MQTT_GetDisconnectPacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                        • MQTT_GetIncomingPacketTypeAndLength() : core_mqtt_serializer.h, core_mqtt_serializer.c
                        • @@ -184,8 +185,9 @@

                          - m -

                          • MQTT_GetPublishPacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                          • MQTT_GetSubAckStatusCodes() : core_mqtt.h, core_mqtt.c
                          • MQTT_GetSubscribePacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                          • -
                          • MQTT_GetUnsubscribePacketSize() : core_mqtt_serializer.c, core_mqtt_serializer.h
                          • +
                          • MQTT_GetUnsubscribePacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                          • MQTT_Init() : core_mqtt.h, core_mqtt.c
                          • +
                          • MQTT_InitRetransmits() : core_mqtt.h, core_mqtt.c
                          • MQTT_InitStatefulQoS() : core_mqtt.h, core_mqtt.c
                          • MQTT_MatchTopic() : core_mqtt.h, core_mqtt.c
                          • MQTT_Ping() : core_mqtt.h, core_mqtt.c
                          • @@ -197,10 +199,11 @@

                            - m -

                            • MQTT_ReceiveLoop() : core_mqtt.h, core_mqtt.c
                            • MQTT_RemoveStateRecord() : core_mqtt_state.c
                            • MQTT_ReserveState() : core_mqtt_state.c
                            • -
                            • MQTT_SerializeAck() : core_mqtt_serializer.h, core_mqtt_serializer.c
                            • +
                            • MQTT_SerializeAck() : core_mqtt_serializer.c, core_mqtt_serializer.h
                            • MQTT_SerializeConnect() : core_mqtt_serializer.h, core_mqtt_serializer.c
                            • MQTT_SerializeConnectFixedHeader() : core_mqtt_serializer.c
                            • MQTT_SerializeDisconnect() : core_mqtt_serializer.h, core_mqtt_serializer.c
                            • +
                            • MQTT_SerializeMQTTVec() : core_mqtt.h, core_mqtt.c
                            • MQTT_SerializePingreq() : core_mqtt_serializer.h, core_mqtt_serializer.c
                            • MQTT_SerializePublish() : core_mqtt_serializer.h, core_mqtt_serializer.c
                            • MQTT_SerializePublishHeader() : core_mqtt_serializer.h, core_mqtt_serializer.c
                            • @@ -213,6 +216,7 @@

                              - m -

                              @@ -239,7 +243,7 @@

                              - s -

                              • sendConnectWithoutCopy() : core_mqtt.c
                              • sendMessageVector() : core_mqtt.c
                              • sendPublishAcks() : core_mqtt.c
                              • -
                              • sendPublishWithoutCopy() : core_mqtt.c
                              • +
                              • sendPublishWithoutCopy() : core_mqtt.c
                              • sendSubscribeWithoutCopy() : core_mqtt.c
                              • sendUnsubscribeWithoutCopy() : core_mqtt.c
                              • serializeConnectPacket() : core_mqtt_serializer.c
                              • diff --git a/main/globals_h.html b/main/globals_h.html index 847195f1a..8e16d027c 100644 --- a/main/globals_h.html +++ b/main/globals_h.html @@ -100,7 +100,7 @@
                                Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:

                                - h -

                                  -
                                • handleCleanSession() : core_mqtt.c
                                • +
                                • handleCleanSession() : core_mqtt.c
                                • handleIncomingAck() : core_mqtt.c
                                • handleIncomingPublish() : core_mqtt.c
                                • handleKeepAlive() : core_mqtt.c
                                • diff --git a/main/globals_m.html b/main/globals_m.html index fa4482309..66c1a0de6 100644 --- a/main/globals_m.html +++ b/main/globals_m.html @@ -121,16 +121,18 @@

                                  - m -

                                  • MQTT_DISCONNECT_PACKET_SIZE : core_mqtt_serializer.c
                                  • MQTT_DISCONNECT_REMAINING_LENGTH : core_mqtt_serializer.c
                                  • MQTT_DO_NOT_USE_CUSTOM_CONFIG : core_mqtt_config_defaults.h
                                  • -
                                  • MQTT_GetConnectPacketSize() : core_mqtt_serializer.c, core_mqtt_serializer.h
                                  • +
                                  • MQTT_GetBytesInMQTTVec() : core_mqtt.c, core_mqtt.h
                                  • +
                                  • MQTT_GetConnectPacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                  • MQTT_GetDisconnectPacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                  • MQTT_GetIncomingPacketTypeAndLength() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                  • MQTT_GetPacketId() : core_mqtt.h, core_mqtt.c
                                  • MQTT_GetPingreqPacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                  • -
                                  • MQTT_GetPublishPacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                  • +
                                  • MQTT_GetPublishPacketSize() : core_mqtt_serializer.c, core_mqtt_serializer.h
                                  • MQTT_GetSubAckStatusCodes() : core_mqtt.h, core_mqtt.c
                                  • MQTT_GetSubscribePacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                  • MQTT_GetUnsubscribePacketSize() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                  • MQTT_Init() : core_mqtt.h, core_mqtt.c
                                  • +
                                  • MQTT_InitRetransmits() : core_mqtt.h, core_mqtt.c
                                  • MQTT_InitStatefulQoS() : core_mqtt.c, core_mqtt.h
                                  • MQTT_INVALID_STATE_COUNT : core_mqtt_state.c
                                  • MQTT_MatchTopic() : core_mqtt.c, core_mqtt.h
                                  • @@ -165,7 +167,7 @@

                                    - m -

                                    • MQTT_PRE_SEND_HOOK : core_mqtt.c
                                    • MQTT_PRE_STATE_UPDATE_HOOK : core_mqtt.c
                                    • MQTT_ProcessIncomingPacketTypeAndLength() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                    • -
                                    • MQTT_ProcessLoop() : core_mqtt.h, core_mqtt.c
                                    • +
                                    • MQTT_ProcessLoop() : core_mqtt.c, core_mqtt.h
                                    • MQTT_Publish() : core_mqtt.h, core_mqtt.c
                                    • MQTT_PUBLISH_ACK_PACKET_SIZE : core_mqtt_serializer.h
                                    • MQTT_PUBLISH_FLAG_DUP : core_mqtt_serializer.c
                                    • @@ -174,7 +176,7 @@

                                      - m -

                                      • MQTT_PUBLISH_FLAG_RETAIN : core_mqtt_serializer.c
                                      • MQTT_PublishToResend() : core_mqtt_state.h, core_mqtt_state.c
                                      • MQTT_PubrelToResend() : core_mqtt_state.c
                                      • -
                                      • MQTT_ReceiveLoop() : core_mqtt.c, core_mqtt.h
                                      • +
                                      • MQTT_ReceiveLoop() : core_mqtt.h, core_mqtt.c
                                      • MQTT_RECV_POLLING_TIMEOUT_MS : core_mqtt_config_defaults.h
                                      • MQTT_REMAINING_LENGTH_INVALID : core_mqtt_serializer.c
                                      • MQTT_RemoveStateRecord() : core_mqtt_state.c
                                      • @@ -184,11 +186,12 @@

                                        - m -

                                        • MQTT_SerializeConnect() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • MQTT_SerializeConnectFixedHeader() : core_mqtt_serializer.c
                                        • MQTT_SerializeDisconnect() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • +
                                        • MQTT_SerializeMQTTVec() : core_mqtt.h, core_mqtt.c
                                        • MQTT_SerializePingreq() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • MQTT_SerializePublish() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • MQTT_SerializePublishHeader() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • MQTT_SerializePublishHeaderWithoutTopic() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • -
                                        • MQTT_SerializeSubscribe() : core_mqtt_serializer.c, core_mqtt_serializer.h
                                        • +
                                        • MQTT_SerializeSubscribe() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • MQTT_SerializeSubscribeHeader() : core_mqtt_serializer.c
                                        • MQTT_SerializeUnsubscribe() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                        • MQTT_SerializeUnsubscribeHeader() : core_mqtt_serializer.c
                                        • @@ -196,15 +199,17 @@

                                          - m -

                                          • MQTT_State_strerror() : core_mqtt_state.c
                                          • MQTT_Status_strerror() : core_mqtt.h, core_mqtt.c
                                          • MQTT_SUB_UNSUB_MAX_VECTORS : core_mqtt_config_defaults.h
                                          • -
                                          • MQTT_Subscribe() : core_mqtt.h, core_mqtt.c
                                          • MQTT_SUBSCRIBE : core_mqtt_serializer.c
                                          • +
                                          • MQTT_Subscribe() : core_mqtt.h, core_mqtt.c
                                          • +
                                          • MQTT_Unsubscribe() : core_mqtt.c, core_mqtt.h
                                          • MQTT_UNSUBSCRIBE : core_mqtt_serializer.c
                                          • -
                                          • MQTT_Unsubscribe() : core_mqtt.h, core_mqtt.c
                                          • +
                                          • MQTT_UpdateDuplicatePublishFlag() : core_mqtt_serializer.h, core_mqtt_serializer.c
                                          • MQTT_UpdateStateAck() : core_mqtt_state.c
                                          • MQTT_UpdateStatePublish() : core_mqtt_state.c
                                          • MQTT_VERSION_3_1_1 : core_mqtt_serializer.c
                                          • MQTTBadParameter : core_mqtt_serializer.h
                                          • MQTTBadResponse : core_mqtt_serializer.h
                                          • +
                                          • MQTTClearPacketForRetransmit : core_mqtt.h
                                          • MQTTConnected : core_mqtt.h
                                          • MQTTConnectionStatus_t : core_mqtt.h
                                          • MQTTDisconnectPending : core_mqtt.h
                                          • @@ -224,8 +229,10 @@

                                            - m -

                                            • MQTTPubCompPending : core_mqtt.h
                                            • MQTTPubCompSend : core_mqtt.h
                                            • MQTTPublishDone : core_mqtt.h
                                            • +
                                            • MQTTPublishRetrieveFailed : core_mqtt_serializer.h
                                            • MQTTPublishSend : core_mqtt.h
                                            • MQTTPublishState_t : core_mqtt.h
                                            • +
                                            • MQTTPublishStoreFailed : core_mqtt_serializer.h
                                            • MQTTPubrec : core_mqtt.h
                                            • MQTTPubRecPending : core_mqtt.h
                                            • MQTTPubRecSend : core_mqtt.h
                                            • @@ -237,6 +244,7 @@

                                              - m -

                                              • MQTTQoS2 : core_mqtt_serializer.h
                                              • MQTTQoS_t : core_mqtt_serializer.h
                                              • MQTTRecvFailed : core_mqtt_serializer.h
                                              • +
                                              • MQTTRetrievePacketForRetransmit : core_mqtt.h
                                              • MQTTSendFailed : core_mqtt_serializer.h
                                              • MQTTServerRefused : core_mqtt_serializer.h
                                              • MQTTStateCollision : core_mqtt_serializer.h
                                              • @@ -246,6 +254,7 @@

                                                - m -

                                                • MQTTStatusConnected : core_mqtt_serializer.h
                                                • MQTTStatusDisconnectPending : core_mqtt_serializer.h
                                                • MQTTStatusNotConnected : core_mqtt_serializer.h
                                                • +
                                                • MQTTStorePacketForRetransmit : core_mqtt.h
                                                • MQTTSubAckFailure : core_mqtt.h
                                                • MQTTSubAckStatus_t : core_mqtt.h
                                                • MQTTSubAckSuccessQos0 : core_mqtt.h
                                                • diff --git a/main/globals_s.html b/main/globals_s.html index 84a8d82b8..96a144d87 100644 --- a/main/globals_s.html +++ b/main/globals_s.html @@ -104,7 +104,7 @@

                                                  - s -

                                                  • sendConnectWithoutCopy() : core_mqtt.c
                                                  • sendMessageVector() : core_mqtt.c
                                                  • sendPublishAcks() : core_mqtt.c
                                                  • -
                                                  • sendPublishWithoutCopy() : core_mqtt.c
                                                  • +
                                                  • sendPublishWithoutCopy() : core_mqtt.c
                                                  • sendSubscribeWithoutCopy() : core_mqtt.c
                                                  • sendUnsubscribeWithoutCopy() : core_mqtt.c
                                                  • serializeConnectPacket() : core_mqtt_serializer.c
                                                  • diff --git a/main/globals_type.html b/main/globals_type.html index 21ec0207f..fb9f3fe6f 100644 --- a/main/globals_type.html +++ b/main/globals_type.html @@ -98,9 +98,12 @@
                                                     
                                                      +
                                                    • MQTTClearPacketForRetransmit : core_mqtt.h
                                                    • MQTTEventCallback_t : core_mqtt.h
                                                    • MQTTGetCurrentTimeFunc_t : core_mqtt.h
                                                    • +
                                                    • MQTTRetrievePacketForRetransmit : core_mqtt.h
                                                    • MQTTStateCursor_t : core_mqtt_state.h
                                                    • +
                                                    • MQTTStorePacketForRetransmit : core_mqtt.h
                                                    • NetworkContext_t : transport_interface.h
                                                    • TransportRecv_t : transport_interface.h
                                                    • TransportSend_t : transport_interface.h
                                                    • diff --git a/main/globals_u.html b/main/globals_u.html index 5c92dfff9..c39ee52ad 100644 --- a/main/globals_u.html +++ b/main/globals_u.html @@ -107,6 +107,7 @@

                                                      - u -

                                                      • UINT16_LOW_BYTE : core_mqtt_serializer.c
                                                      • UINT16_SET_BIT : core_mqtt_state.c
                                                      • UINT8_CHECK_BIT : core_mqtt_serializer.c
                                                      • +
                                                      • UINT8_CLEAR_BIT : core_mqtt_serializer.c
                                                      • UINT8_SET_BIT : core_mqtt_serializer.c
                                                      • updateRecord() : core_mqtt_state.c
                                                      • updateStateAck() : core_mqtt_state.c
                                                      • diff --git a/main/group__mqtt__enum__types.html b/main/group__mqtt__enum__types.html index 54024cd56..92d320393 100644 --- a/main/group__mqtt__enum__types.html +++ b/main/group__mqtt__enum__types.html @@ -165,6 +165,9 @@   MQTTStatusConnected , MQTTStatusNotConnected , MQTTStatusDisconnectPending +, MQTTPublishStoreFailed +,
                                                        +  MQTTPublishRetrieveFailed
                                                        }  Return codes from MQTT functions. More...
                                                        @@ -333,11 +336,15 @@

                                                        MQTTNeedMoreBytes 

                                                        MQTT_ProcessLoop/MQTT_ReceiveLoop has received incomplete data; it should be called again (probably after a delay).

                                                        -MQTTStatusConnected 

                                                        MQTT connection is established with the broker

                                                        +MQTTStatusConnected 

                                                        MQTT connection is established with the broker.

                                                        + +MQTTStatusNotConnected 

                                                        MQTT connection is not established with the broker.

                                                        + +MQTTStatusDisconnectPending 

                                                        Transport Interface has failed and MQTT connection needs to be closed.

                                                        -MQTTStatusNotConnected 

                                                        MQTT connection is not established with the broker

                                                        +MQTTPublishStoreFailed 

                                                        User provided API to store a copy of outgoing publish for retransmission purposes, has failed.

                                                        -MQTTStatusDisconnectPending 

                                                        Transport Interface has failed and MQTT connection needs to be closed

                                                        +MQTTPublishRetrieveFailed 

                                                        User provided API to retrieve the copy of a publish while reconnecting with an unclean session has failed.

                                                        diff --git a/main/group__mqtt__enum__types.js b/main/group__mqtt__enum__types.js index bd80a5ea9..007095cc8 100644 --- a/main/group__mqtt__enum__types.js +++ b/main/group__mqtt__enum__types.js @@ -45,7 +45,9 @@ var group__mqtt__enum__types = [ "MQTTNeedMoreBytes", "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa97df53014d919df5ecd54398f89f9b9", null ], [ "MQTTStatusConnected", "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa13a678a441c9ef6b88d6d8be8a64090", null ], [ "MQTTStatusNotConnected", "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca074273b04f70b93c1f20702096cac273", null ], - [ "MQTTStatusDisconnectPending", "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863", null ] + [ "MQTTStatusDisconnectPending", "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863", null ], + [ "MQTTPublishStoreFailed", "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca61a3e19715d8ee1ee330c9bbd4b2708a", null ], + [ "MQTTPublishRetrieveFailed", "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca274b61e8a2aea2cf551353c6d09a6eb2", null ] ] ], [ "MQTTQoS_t", "group__mqtt__enum__types.html#gae308a5928d7f537379c29a894228093a", [ [ "MQTTQoS0", "group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aaad51b23a1ae1417f96d8f343c788d1d2", null ], diff --git a/main/group__mqtt__struct__types.js b/main/group__mqtt__struct__types.js index 62fc0825c..c95e6151b 100644 --- a/main/group__mqtt__struct__types.js +++ b/main/group__mqtt__struct__types.js @@ -22,7 +22,10 @@ var group__mqtt__struct__types = [ "index", "struct_m_q_t_t_context__t.html#a41b7735cd0746563483b72e17cf103aa", null ], [ "keepAliveIntervalSec", "struct_m_q_t_t_context__t.html#afd6071827ef48b230212a5725c2075be", null ], [ "pingReqSendTimeMs", "struct_m_q_t_t_context__t.html#acca3efa4146d85f7e874c7c326e23556", null ], - [ "waitingForPingResp", "struct_m_q_t_t_context__t.html#ac7073f43645f7b7c0c5b7763980004bb", null ] + [ "waitingForPingResp", "struct_m_q_t_t_context__t.html#ac7073f43645f7b7c0c5b7763980004bb", null ], + [ "storeFunction", "struct_m_q_t_t_context__t.html#ac205fc33078b0cfa0dfc62807bd9574f", null ], + [ "retrieveFunction", "struct_m_q_t_t_context__t.html#a270e9e595ecd60948c960d059f8fe718", null ], + [ "clearFunction", "struct_m_q_t_t_context__t.html#a36e3d500e6efa050d6e666aefa3ff577", null ] ] ], [ "MQTTDeserializedInfo_t", "struct_m_q_t_t_deserialized_info__t.html", [ [ "packetIdentifier", "struct_m_q_t_t_deserialized_info__t.html#af4df2a9926a4a68059195daa712d9b84", null ], diff --git a/main/index.html b/main/index.html index 5fd61cd0b..40b74cab2 100644 --- a/main/index.html +++ b/main/index.html @@ -121,13 +121,13 @@

                                                        File
                                                        With -O1 Optimization
                                                        With -Os Optimization
                                                        -core_mqtt.c
                                                        4.4K
                                                        3.8K
                                                        +core_mqtt.c
                                                        4.9K
                                                        4.2K
                                                        core_mqtt_state.c
                                                        1.7K
                                                        1.3K
                                                        -core_mqtt_serializer.c
                                                        2.8K
                                                        2.2K
                                                        +core_mqtt_serializer.c
                                                        2.9K
                                                        2.3K
                                                        -Total estimates
                                                        8.9K
                                                        7.3K
                                                        +Total estimates
                                                        9.5K
                                                        7.8K

                                                    diff --git a/main/mqtt.tag b/main/mqtt.tag index 9c4c7842f..572a86244 100644 --- a/main/mqtt.tag +++ b/main/mqtt.tag @@ -7,6 +7,7 @@ core_mqtt.h core_mqtt_state.h core_mqtt_config_defaults.h + MQTTVec #define MQTT_PRE_SEND_HOOK @@ -211,18 +212,18 @@ (MQTTContext_t *pContext) - static void + static MQTTStatus_t handleCleanSession core__mqtt_8c.html - aaba646b7d3723b69e8ce62389ba43270 + a91519103b8929035e95a218d54ce1407 (MQTTContext_t *pContext) static MQTTStatus_t sendPublishWithoutCopy core__mqtt_8c.html - aaaca64a926603116f5dfec4a65f28283 - (MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, const uint8_t *pMqttHeader, size_t headerSize, uint16_t packetId) + af775574fd302e755d793a07818b62a2a + (MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint8_t *pMqttHeader, size_t headerSize, uint16_t packetId) static MQTTStatus_t @@ -266,6 +267,13 @@ afe4c020749e3b9ca044e0e9ad96025c5 (MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount) + + MQTTStatus_t + MQTT_InitRetransmits + core__mqtt_8c.html + af2d6f94bf234a888541919195002a13f + (MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction) + MQTTStatus_t MQTT_CancelCallback @@ -364,6 +372,20 @@ a05d9facfce89c5f9edef09ca13717f50 (MQTTStatus_t status) + + size_t + MQTT_GetBytesInMQTTVec + core__mqtt_8c.html + af15463f575fbbcc76bf1f27f9b0a02b0 + (MQTTVec_t *pVec) + + + void + MQTT_SerializeMQTTVec + core__mqtt_8c.html + a1b2e56ed1c0a328d86062857e695d673 + (uint8_t *pAllocatedMem, MQTTVec_t *pVec) + core_mqtt_serializer.c @@ -525,6 +547,13 @@ af259c91b3075c24df53fa3ffe516b208 (x, position) + + #define + UINT8_CLEAR_BIT + core__mqtt__serializer_8c.html + a549d24726d8ff1b4b32a6cb48654ad90 + (x, position) + #define UINT8_CHECK_BIT @@ -873,6 +902,13 @@ a98cdda86f86a0a1888745a584199e930 (TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket) + + MQTTStatus_t + MQTT_UpdateDuplicatePublishFlag + core__mqtt__serializer_8c.html + a269f0b0e193a7a10a6e392b88768ae94 + (uint8_t *pHeader, bool set) + MQTTStatus_t MQTT_ProcessIncomingPacketTypeAndLength @@ -1086,6 +1122,27 @@ ga00d348277ed4fde23c95bfc749ae954a )(struct MQTTContext *pContext, struct MQTTPacketInfo *pPacketInfo, struct MQTTDeserializedInfo *pDeserializedInfo) + + bool(* + MQTTStorePacketForRetransmit + core__mqtt_8h.html + ae4ae1546af467967e2c996daeb78e0ba + )(struct MQTTContext *pContext, uint16_t packetId, MQTTVec_t *pMqttVec) + + + bool(* + MQTTRetrievePacketForRetransmit + core__mqtt_8h.html + a56514a9a33dbf82a5d33afedb54903b6 + )(struct MQTTContext *pContext, uint16_t packetId, uint8_t **pSerializedMqttVec, size_t *pSerializedMqttVecLen) + + + void(* + MQTTClearPacketForRetransmit + core__mqtt_8h.html + a864718ceee18ff04e9c92fe9825d601b + )(struct MQTTContext *pContext, uint16_t packetId) + MQTTConnectionStatus_t @@ -1260,6 +1317,13 @@ afe4c020749e3b9ca044e0e9ad96025c5 (MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount) + + MQTTStatus_t + MQTT_InitRetransmits + core__mqtt_8h.html + af2d6f94bf234a888541919195002a13f + (MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction) + MQTTStatus_t MQTT_CheckConnectStatus @@ -1358,6 +1422,20 @@ a05d9facfce89c5f9edef09ca13717f50 (MQTTStatus_t status) + + size_t + MQTT_GetBytesInMQTTVec + core__mqtt_8h.html + af15463f575fbbcc76bf1f27f9b0a02b0 + (MQTTVec_t *pVec) + + + void + MQTT_SerializeMQTTVec + core__mqtt_8h.html + a1b2e56ed1c0a328d86062857e695d673 + (uint8_t *pAllocatedMem, MQTTVec_t *pVec) + core_mqtt_config_defaults.h @@ -1660,6 +1738,18 @@ ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863 + + MQTTPublishStoreFailed + group__mqtt__enum__types.html + ggaba7ec045874a1c3432f99173367f735ca61a3e19715d8ee1ee330c9bbd4b2708a + + + + MQTTPublishRetrieveFailed + group__mqtt__enum__types.html + ggaba7ec045874a1c3432f99173367f735ca274b61e8a2aea2cf551353c6d09a6eb2 + + MQTTQoS_t @@ -1818,6 +1908,13 @@ a94fd3f746074b3f6e16ae6b23dad9a28 (const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket) + + MQTTStatus_t + MQTT_UpdateDuplicatePublishFlag + core__mqtt__serializer_8h.html + a269f0b0e193a7a10a6e392b88768ae94 + (uint8_t *pHeader, bool set) + core_mqtt_state.h @@ -2063,6 +2160,27 @@ ac7073f43645f7b7c0c5b7763980004bb + + MQTTStorePacketForRetransmit + storeFunction + struct_m_q_t_t_context__t.html + ac205fc33078b0cfa0dfc62807bd9574f + + + + MQTTRetrievePacketForRetransmit + retrieveFunction + struct_m_q_t_t_context__t.html + a270e9e595ecd60948c960d059f8fe718 + + + + MQTTClearPacketForRetransmit + clearFunction + struct_m_q_t_t_context__t.html + a36e3d500e6efa050d6e666aefa3ff577 + + MQTTDeserializedInfo_t @@ -2242,6 +2360,24 @@ + + MQTTVec + struct_m_q_t_t_vec.html + + TransportOutVector_t * + pVector + struct_m_q_t_t_vec.html + a35ba714afe80db56d4346949ce635a5f + + + + size_t + vectorLen + struct_m_q_t_t_vec.html + a53b13c310696095b7f1a5254e75552fb + + + TransportInterface_t struct_transport_interface__t.html @@ -2553,6 +2689,18 @@ ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863 + + MQTTPublishStoreFailed + group__mqtt__enum__types.html + ggaba7ec045874a1c3432f99173367f735ca61a3e19715d8ee1ee330c9bbd4b2708a + + + + MQTTPublishRetrieveFailed + group__mqtt__enum__types.html + ggaba7ec045874a1c3432f99173367f735ca274b61e8a2aea2cf551353c6d09a6eb2 + + MQTTQoS_t diff --git a/main/mqtt_connect_function.html b/main/mqtt_connect_function.html index 2c6111c40..88a1b1436 100644 --- a/main/mqtt_connect_function.html +++ b/main/mqtt_connect_function.html @@ -105,11 +105,11 @@
                                                    const MQTTPublishInfo_t * pWillInfo,
                                                    uint32_t timeoutMs,
                                                    bool * pSessionPresent );
                                                    -
                                                    MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
                                                    Establish an MQTT session.
                                                    Definition: core_mqtt.c:2757
                                                    +
                                                    MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
                                                    Establish an MQTT session.
                                                    Definition: core_mqtt.c:2908
                                                    MQTTStatus_t
                                                    Return codes from MQTT functions.
                                                    Definition: core_mqtt_serializer.h:87
                                                    -
                                                    MQTT CONNECT packet parameters.
                                                    Definition: core_mqtt_serializer.h:136
                                                    -
                                                    A struct representing an MQTT connection.
                                                    Definition: core_mqtt.h:174
                                                    -
                                                    MQTT PUBLISH packet parameters.
                                                    Definition: core_mqtt_serializer.h:205
                                                    +
                                                    MQTT CONNECT packet parameters.
                                                    Definition: core_mqtt_serializer.h:140
                                                    +
                                                    A struct representing an MQTT connection.
                                                    Definition: core_mqtt.h:233
                                                    +
                                                    MQTT PUBLISH packet parameters.
                                                    Definition: core_mqtt_serializer.h:209

                                                    Establish an MQTT session.

                                                    This function will send MQTT CONNECT packet and receive a CONNACK packet. The send and receive from the network is done through the transport interface.

                                                    The maximum time this function waits for a CONNACK is decided in one of the following ways:

                                                      @@ -127,7 +127,7 @@ -
                                                      Returns
                                                      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTRecvFailed if transport receive failed for CONNACK; MQTTNoDataAvailable if no data available to receive in transport until the timeoutMs for CONNACK; MQTTSuccess otherwise.
                                                      +
                                                      Returns
                                                      MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTRecvFailed if transport receive failed for CONNACK; MQTTNoDataAvailable if no data available to receive in transport until the timeoutMs for CONNACK; MQTTStatusConnected if the connection is already established MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTPublishRetrieveFailed if on an unclean session connection, the copied publishes are not retrieved successfully for retransmission MQTTSuccess otherwise.
                                                      Note
                                                      This API may spend more time than provided in the timeoutMS parameters in certain conditions as listed below:
                                                      1. Timeouts are incorrectly configured - If the timeoutMS is less than the transport receive timeout and if a CONNACK packet is not received within the transport receive timeout, the API will spend the transport receive timeout (which is more time than the timeoutMs). It is the case of incorrect timeout configuration as the timeoutMs parameter passed to this API must be greater than the transport receive timeout. Please refer to the transport interface documentation for more details about timeout configurations.
                                                      2. @@ -175,20 +175,20 @@
                                                        // Do something with the connection.
                                                        }
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:113
                                                        -
                                                        const char * pClientIdentifier
                                                        MQTT client identifier. Must be unique per client.
                                                        Definition: core_mqtt_serializer.h:150
                                                        -
                                                        const char * pUserName
                                                        MQTT user name. Set to NULL if not used.
                                                        Definition: core_mqtt_serializer.h:160
                                                        -
                                                        bool cleanSession
                                                        Whether to establish a new, clean session or resume a previous session.
                                                        Definition: core_mqtt_serializer.h:140
                                                        -
                                                        uint16_t userNameLength
                                                        Length of MQTT user name. Set to 0 if not used.
                                                        Definition: core_mqtt_serializer.h:165
                                                        -
                                                        uint16_t keepAliveSeconds
                                                        MQTT keep alive period.
                                                        Definition: core_mqtt_serializer.h:145
                                                        -
                                                        uint16_t clientIdentifierLength
                                                        Length of the client identifier.
                                                        Definition: core_mqtt_serializer.h:155
                                                        -
                                                        uint16_t passwordLength
                                                        Length of MQTT password. Set to 0 if not used.
                                                        Definition: core_mqtt_serializer.h:175
                                                        -
                                                        const char * pPassword
                                                        MQTT password. Set to NULL if not used.
                                                        Definition: core_mqtt_serializer.h:170
                                                        -
                                                        MQTTQoS_t qos
                                                        Quality of Service for message.
                                                        Definition: core_mqtt_serializer.h:209
                                                        -
                                                        uint16_t topicNameLength
                                                        Length of topic name.
                                                        Definition: core_mqtt_serializer.h:229
                                                        -
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:239
                                                        -
                                                        const char * pTopicName
                                                        Topic name on which the message is published.
                                                        Definition: core_mqtt_serializer.h:224
                                                        -
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:234
                                                        +
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:117
                                                        +
                                                        const char * pClientIdentifier
                                                        MQTT client identifier. Must be unique per client.
                                                        Definition: core_mqtt_serializer.h:154
                                                        +
                                                        const char * pUserName
                                                        MQTT user name. Set to NULL if not used.
                                                        Definition: core_mqtt_serializer.h:164
                                                        +
                                                        bool cleanSession
                                                        Whether to establish a new, clean session or resume a previous session.
                                                        Definition: core_mqtt_serializer.h:144
                                                        +
                                                        uint16_t userNameLength
                                                        Length of MQTT user name. Set to 0 if not used.
                                                        Definition: core_mqtt_serializer.h:169
                                                        +
                                                        uint16_t keepAliveSeconds
                                                        MQTT keep alive period.
                                                        Definition: core_mqtt_serializer.h:149
                                                        +
                                                        uint16_t clientIdentifierLength
                                                        Length of the client identifier.
                                                        Definition: core_mqtt_serializer.h:159
                                                        +
                                                        uint16_t passwordLength
                                                        Length of MQTT password. Set to 0 if not used.
                                                        Definition: core_mqtt_serializer.h:179
                                                        +
                                                        const char * pPassword
                                                        MQTT password. Set to NULL if not used.
                                                        Definition: core_mqtt_serializer.h:174
                                                        +
                                                        MQTTQoS_t qos
                                                        Quality of Service for message.
                                                        Definition: core_mqtt_serializer.h:213
                                                        +
                                                        uint16_t topicNameLength
                                                        Length of topic name.
                                                        Definition: core_mqtt_serializer.h:233
                                                        +
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:243
                                                        +
                                                        const char * pTopicName
                                                        Topic name on which the message is published.
                                                        Definition: core_mqtt_serializer.h:228
                                                        +
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:238
                                                        diff --git a/main/mqtt_deserializeack_function.html b/main/mqtt_deserializeack_function.html index 90edbf9b9..4c0ddcb40 100644 --- a/main/mqtt_deserializeack_function.html +++ b/main/mqtt_deserializeack_function.html @@ -103,9 +103,9 @@
                                                        uint16_t * pPacketId,
                                                        bool * pSessionPresent );
                                                        -
                                                        MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
                                                        Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
                                                        Definition: core_mqtt_serializer.c:2484
                                                        +
                                                        MQTTStatus_t MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent)
                                                        Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.
                                                        Definition: core_mqtt_serializer.c:2489
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:247
                                                        +
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:251

                                                        Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP.

                                                        Parameters
                                                        @@ -140,7 +140,7 @@
                                                        }
                                                        #define MQTT_PACKET_TYPE_PUBLISH
                                                        PUBLISH (bidirectional).
                                                        Definition: core_mqtt_serializer.h:55
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        uint8_t type
                                                        Type of incoming MQTT packet.
                                                        Definition: core_mqtt_serializer.h:251
                                                        +
                                                        uint8_t type
                                                        Type of incoming MQTT packet.
                                                        Definition: core_mqtt_serializer.h:255
                                                        diff --git a/main/mqtt_deserializepublish_function.html b/main/mqtt_deserializepublish_function.html index 626b0e271..d77ba8561 100644 --- a/main/mqtt_deserializepublish_function.html +++ b/main/mqtt_deserializepublish_function.html @@ -103,10 +103,10 @@
                                                        uint16_t * pPacketId,
                                                        MQTTPublishInfo_t * pPublishInfo );
                                                        -
                                                        MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
                                                        Deserialize an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2447
                                                        +
                                                        MQTTStatus_t MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo)
                                                        Deserialize an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2452
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:247
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        +
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:251
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209

                                                        Deserialize an MQTT PUBLISH packet.

                                                        Parameters
                                                        @@ -160,13 +160,13 @@
                                                        // The deserialized publish information can now be used from `publishInfo`.
                                                        }
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
                                                        Extract the MQTT packet type and length from incoming packet.
                                                        Definition: core_mqtt_serializer.c:2561
                                                        +
                                                        MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
                                                        Extract the MQTT packet type and length from incoming packet.
                                                        Definition: core_mqtt_serializer.c:2566
                                                        #define MQTT_PACKET_TYPE_PUBLISH
                                                        PUBLISH (bidirectional).
                                                        Definition: core_mqtt_serializer.h:55
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        struct NetworkContext NetworkContext_t
                                                        The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
                                                        Definition: transport_interface.h:191
                                                        -
                                                        size_t remainingLength
                                                        Length of remaining serialized data.
                                                        Definition: core_mqtt_serializer.h:261
                                                        -
                                                        uint8_t type
                                                        Type of incoming MQTT packet.
                                                        Definition: core_mqtt_serializer.h:251
                                                        -
                                                        uint8_t * pRemainingData
                                                        Remaining serialized data in the MQTT packet.
                                                        Definition: core_mqtt_serializer.h:256
                                                        +
                                                        size_t remainingLength
                                                        Length of remaining serialized data.
                                                        Definition: core_mqtt_serializer.h:265
                                                        +
                                                        uint8_t type
                                                        Type of incoming MQTT packet.
                                                        Definition: core_mqtt_serializer.h:255
                                                        +
                                                        uint8_t * pRemainingData
                                                        Remaining serialized data in the MQTT packet.
                                                        Definition: core_mqtt_serializer.h:260
                                                        diff --git a/main/mqtt_disconnect_function.html b/main/mqtt_disconnect_function.html index f8fc5588a..c7fb8b92d 100644 --- a/main/mqtt_disconnect_function.html +++ b/main/mqtt_disconnect_function.html @@ -101,9 +101,9 @@
                                                        -
                                                        MQTTStatus_t MQTT_Disconnect(MQTTContext_t *pContext)
                                                        Disconnect an MQTT session.
                                                        Definition: core_mqtt.c:3204
                                                        +
                                                        MQTTStatus_t MQTT_Disconnect(MQTTContext_t *pContext)
                                                        Disconnect an MQTT session.
                                                        Definition: core_mqtt.c:3355
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233

                                                        Disconnect an MQTT session.

                                                        Parameters
                                                        @@ -111,7 +111,7 @@
                                                        -
                                                        Returns
                                                        MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTSuccess otherwise.
                                                        +
                                                        Returns
                                                        MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport send failed; MQTTStatusNotConnected if the connection is already disconnected MQTTSuccess otherwise.
                                                        diff --git a/main/mqtt_getconnectpacketsize_function.html b/main/mqtt_getconnectpacketsize_function.html index ccb284e86..f8b146b9b 100644 --- a/main/mqtt_getconnectpacketsize_function.html +++ b/main/mqtt_getconnectpacketsize_function.html @@ -104,10 +104,10 @@
                                                        const MQTTPublishInfo_t * pWillInfo,
                                                        size_t * pRemainingLength,
                                                        size_t * pPacketSize );
                                                        -
                                                        MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the size and Remaining Length of an MQTT CONNECT packet.
                                                        Definition: core_mqtt_serializer.c:1690
                                                        +
                                                        MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the size and Remaining Length of an MQTT CONNECT packet.
                                                        Definition: core_mqtt_serializer.c:1695
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT CONNECT packet parameters.
                                                        Definition: core_mqtt_serializer.h:136
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        +
                                                        MQTT CONNECT packet parameters.
                                                        Definition: core_mqtt_serializer.h:140
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209

                                                        Get the size and Remaining Length of an MQTT CONNECT packet.

                                                        This function must be called before MQTT_SerializeConnect in order to get the size of the MQTT CONNECT packet that is generated from MQTTConnectInfo_t and optional MQTTPublishInfo_t. The size of the MQTTFixedBuffer_t supplied to MQTT_SerializeConnect must be at least pPacketSize. The provided pConnectInfo and pWillInfo are valid for serialization with MQTT_SerializeConnect only if this function returns MQTTSuccess. The remaining length returned in pRemainingLength and the packet size returned in pPacketSize are valid only if this function returns MQTTSuccess.

                                                        Parameters
                                                        diff --git a/main/mqtt_getdisconnectpacketsize_function.html b/main/mqtt_getdisconnectpacketsize_function.html index 05984a853..234fc18f6 100644 --- a/main/mqtt_getdisconnectpacketsize_function.html +++ b/main/mqtt_getdisconnectpacketsize_function.html @@ -101,7 +101,7 @@
                                                        -
                                                        MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT DISCONNECT packet.
                                                        Definition: core_mqtt_serializer.c:2321
                                                        +
                                                        MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT DISCONNECT packet.
                                                        Definition: core_mqtt_serializer.c:2326
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87

                                                        Get the size of an MQTT DISCONNECT packet.

                                                        Parameters
                                                        diff --git a/main/mqtt_getincomingpackettypeandlength_function.html b/main/mqtt_getincomingpackettypeandlength_function.html index 65eb25d23..5d26b553a 100644 --- a/main/mqtt_getincomingpackettypeandlength_function.html +++ b/main/mqtt_getincomingpackettypeandlength_function.html @@ -103,11 +103,11 @@
                                                        NetworkContext_t * pNetworkContext,
                                                        MQTTPacketInfo_t * pIncomingPacket );
                                                        -
                                                        MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
                                                        Extract the MQTT packet type and length from incoming packet.
                                                        Definition: core_mqtt_serializer.c:2561
                                                        +
                                                        MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket)
                                                        Extract the MQTT packet type and length from incoming packet.
                                                        Definition: core_mqtt_serializer.c:2566
                                                        int32_t(* TransportRecv_t)(NetworkContext_t *pNetworkContext, void *pBuffer, size_t bytesToRecv)
                                                        Transport interface for receiving data on the network.
                                                        Definition: transport_interface.h:218
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        struct NetworkContext NetworkContext_t
                                                        The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
                                                        Definition: transport_interface.h:191
                                                        -
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:247
                                                        +
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:251

                                                        Extract the MQTT packet type and length from incoming packet.

                                                        This function must be called for every incoming packet to retrieve the MQTTPacketInfo_t.type and MQTTPacketInfo_t.remainingLength. A MQTTPacketInfo_t is not valid until this routine has been invoked.

                                                        Parameters
                                                        @@ -158,8 +158,8 @@
                                                        incomingPacket.pRemainingData = buffer;
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        @ MQTTNoDataAvailable
                                                        Definition: core_mqtt_serializer.h:95
                                                        -
                                                        size_t remainingLength
                                                        Length of remaining serialized data.
                                                        Definition: core_mqtt_serializer.h:261
                                                        -
                                                        uint8_t * pRemainingData
                                                        Remaining serialized data in the MQTT packet.
                                                        Definition: core_mqtt_serializer.h:256
                                                        +
                                                        size_t remainingLength
                                                        Length of remaining serialized data.
                                                        Definition: core_mqtt_serializer.h:265
                                                        +
                                                        uint8_t * pRemainingData
                                                        Remaining serialized data in the MQTT packet.
                                                        Definition: core_mqtt_serializer.h:260
                                                        diff --git a/main/mqtt_getpacketid_function.html b/main/mqtt_getpacketid_function.html index 8ef632887..cca066327 100644 --- a/main/mqtt_getpacketid_function.html +++ b/main/mqtt_getpacketid_function.html @@ -101,8 +101,8 @@
                                                        uint16_t MQTT_GetPacketId( MQTTContext_t * pContext );
                                                        -
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3340
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        +
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3491
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233

                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.

                                                        Parameters
                                                        diff --git a/main/mqtt_getpingreqpacketsize_function.html b/main/mqtt_getpingreqpacketsize_function.html index 3f4dad117..e34db5ebb 100644 --- a/main/mqtt_getpingreqpacketsize_function.html +++ b/main/mqtt_getpingreqpacketsize_function.html @@ -101,7 +101,7 @@
                                                        MQTTStatus_t MQTT_GetPingreqPacketSize( size_t * pPacketSize );
                                                        -
                                                        MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT PINGREQ packet.
                                                        Definition: core_mqtt_serializer.c:2384
                                                        +
                                                        MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT PINGREQ packet.
                                                        Definition: core_mqtt_serializer.c:2389
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87

                                                        Get the size of an MQTT PINGREQ packet.

                                                        Parameters
                                                        diff --git a/main/mqtt_getpublishpacketsize_function.html b/main/mqtt_getpublishpacketsize_function.html index 64a30b997..1b1380966 100644 --- a/main/mqtt_getpublishpacketsize_function.html +++ b/main/mqtt_getpublishpacketsize_function.html @@ -103,9 +103,9 @@
                                                        size_t * pRemainingLength,
                                                        size_t * pPacketSize );
                                                        -
                                                        MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the packet size and remaining length of an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2057
                                                        +
                                                        MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the packet size and remaining length of an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2062
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209

                                                        Get the packet size and remaining length of an MQTT PUBLISH packet.

                                                        This function must be called before MQTT_SerializePublish in order to get the size of the MQTT PUBLISH packet that is generated from MQTTPublishInfo_t. The size of the MQTTFixedBuffer_t supplied to MQTT_SerializePublish must be at least pPacketSize. The provided pPublishInfo is valid for serialization with MQTT_SerializePublish only if this function returns MQTTSuccess. The remaining length returned in pRemainingLength and the packet size returned in pPacketSize are valid only if this function returns MQTTSuccess.

                                                        Parameters
                                                        @@ -140,12 +140,12 @@
                                                        // of size >= packetSize to serialize the publish.
                                                        }
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:113
                                                        -
                                                        MQTTQoS_t qos
                                                        Quality of Service for message.
                                                        Definition: core_mqtt_serializer.h:209
                                                        -
                                                        uint16_t topicNameLength
                                                        Length of topic name.
                                                        Definition: core_mqtt_serializer.h:229
                                                        -
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:239
                                                        -
                                                        const char * pTopicName
                                                        Topic name on which the message is published.
                                                        Definition: core_mqtt_serializer.h:224
                                                        -
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:234
                                                        +
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:117
                                                        +
                                                        MQTTQoS_t qos
                                                        Quality of Service for message.
                                                        Definition: core_mqtt_serializer.h:213
                                                        +
                                                        uint16_t topicNameLength
                                                        Length of topic name.
                                                        Definition: core_mqtt_serializer.h:233
                                                        +
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:243
                                                        +
                                                        const char * pTopicName
                                                        Topic name on which the message is published.
                                                        Definition: core_mqtt_serializer.h:228
                                                        +
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:238
                                                        diff --git a/main/mqtt_getsubackstatuscodes_function.html b/main/mqtt_getsubackstatuscodes_function.html index 5dca27539..661b89e55 100644 --- a/main/mqtt_getsubackstatuscodes_function.html +++ b/main/mqtt_getsubackstatuscodes_function.html @@ -103,9 +103,9 @@
                                                        uint8_t ** pPayloadStart,
                                                        size_t * pPayloadSize );
                                                        -
                                                        MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
                                                        Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
                                                        Definition: core_mqtt.c:3438
                                                        +
                                                        MQTTStatus_t MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize)
                                                        Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter ...
                                                        Definition: core_mqtt.c:3589
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:247
                                                        +
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:251

                                                        Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter subscription requests from the original subscribe packet.

                                                        Each return code in the SUBACK packet corresponds to a topic filter in the SUBSCRIBE Packet being acknowledged. The status codes can be one of the following:

                                                        • 0x00 - Success - Maximum QoS 0
                                                        • @@ -180,12 +180,12 @@
                                                          }
                                                          #define LogWarn(message)
                                                          Macro that is called in the MQTT library for logging "Warning" level messages.
                                                          Definition: core_mqtt_config_defaults.h:235
                                                          #define MQTT_PACKET_TYPE_SUBACK
                                                          SUBACK (server-to-client).
                                                          Definition: core_mqtt_serializer.h:61
                                                          -
                                                          @ MQTTSubAckFailure
                                                          Failure.
                                                          Definition: core_mqtt.h:155
                                                          +
                                                          @ MQTTSubAckFailure
                                                          Failure.
                                                          Definition: core_mqtt.h:214
                                                          @ MQTTSuccess
                                                          Definition: core_mqtt_serializer.h:88
                                                          -
                                                          A struct representing an MQTT connection.
                                                          Definition: core_mqtt.h:174
                                                          -
                                                          Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
                                                          Definition: core_mqtt.h:258
                                                          -
                                                          uint8_t type
                                                          Type of incoming MQTT packet.
                                                          Definition: core_mqtt_serializer.h:251
                                                          -
                                                          MQTT SUBSCRIBE packet parameters.
                                                          Definition: core_mqtt_serializer.h:183
                                                          +
                                                          A struct representing an MQTT connection.
                                                          Definition: core_mqtt.h:233
                                                          +
                                                          Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
                                                          Definition: core_mqtt.h:332
                                                          +
                                                          uint8_t type
                                                          Type of incoming MQTT packet.
                                                          Definition: core_mqtt_serializer.h:255
                                                          +
                                                          MQTT SUBSCRIBE packet parameters.
                                                          Definition: core_mqtt_serializer.h:187
                                                        diff --git a/main/mqtt_getsubscribepacketsize_function.html b/main/mqtt_getsubscribepacketsize_function.html index a91c97c3a..9c0e81c69 100644 --- a/main/mqtt_getsubscribepacketsize_function.html +++ b/main/mqtt_getsubscribepacketsize_function.html @@ -104,9 +104,9 @@
                                                        size_t subscriptionCount,
                                                        size_t * pRemainingLength,
                                                        size_t * pPacketSize );
                                                        -
                                                        MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1848
                                                        +
                                                        MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1853
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:183
                                                        +
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:187

                                                        Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.

                                                        This function must be called before MQTT_SerializeSubscribe in order to get the size of the MQTT SUBSCRIBE packet that is generated from the list of MQTTSubscribeInfo_t. The size of the MQTTFixedBuffer_t supplied to MQTT_SerializeSubscribe must be at least pPacketSize. The provided pSubscriptionList is valid for serialization with MQTT_SerializeSubscribe only if this function returns MQTTSuccess. The remaining length returned in pRemainingLength and the packet size returned in pPacketSize are valid only if this function returns MQTTSuccess.

                                                        Parameters
                                                        @@ -146,10 +146,10 @@
                                                        // of size >= packetSize to serialize the subscribe request.
                                                        }
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:113
                                                        -
                                                        MQTTQoS_t qos
                                                        Quality of Service for subscription.
                                                        Definition: core_mqtt_serializer.h:187
                                                        -
                                                        uint16_t topicFilterLength
                                                        Length of subscription topic filter.
                                                        Definition: core_mqtt_serializer.h:197
                                                        -
                                                        const char * pTopicFilter
                                                        Topic filter to subscribe to.
                                                        Definition: core_mqtt_serializer.h:192
                                                        +
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:117
                                                        +
                                                        MQTTQoS_t qos
                                                        Quality of Service for subscription.
                                                        Definition: core_mqtt_serializer.h:191
                                                        +
                                                        uint16_t topicFilterLength
                                                        Length of subscription topic filter.
                                                        Definition: core_mqtt_serializer.h:201
                                                        +
                                                        const char * pTopicFilter
                                                        Topic filter to subscribe to.
                                                        Definition: core_mqtt_serializer.h:196
                                                        diff --git a/main/mqtt_getunsubscribepacketsize_function.html b/main/mqtt_getunsubscribepacketsize_function.html index 05f2dc7ba..7749c57ed 100644 --- a/main/mqtt_getunsubscribepacketsize_function.html +++ b/main/mqtt_getunsubscribepacketsize_function.html @@ -104,9 +104,9 @@
                                                        size_t subscriptionCount,
                                                        size_t * pRemainingLength,
                                                        size_t * pPacketSize );
                                                        -
                                                        MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1978
                                                        +
                                                        MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1983
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:183
                                                        +
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:187

                                                        Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.

                                                        This function must be called before MQTT_SerializeUnsubscribe in order to get the size of the MQTT UNSUBSCRIBE packet that is generated from the list of MQTTSubscribeInfo_t. The size of the MQTTFixedBuffer_t supplied to MQTT_SerializeUnsubscribe must be at least pPacketSize. The provided pSubscriptionList is valid for serialization with MQTT_SerializeUnsubscribe only if this function returns MQTTSuccess. The remaining length returned in pRemainingLength and the packet size returned in pPacketSize are valid only if this function returns MQTTSuccess.

                                                        Parameters
                                                        diff --git a/main/mqtt_init_function.html b/main/mqtt_init_function.html index 65ffe75b0..a0eb6a4d6 100644 --- a/main/mqtt_init_function.html +++ b/main/mqtt_init_function.html @@ -105,12 +105,12 @@
                                                        MQTTGetCurrentTimeFunc_t getTimeFunction,
                                                        MQTTEventCallback_t userCallback,
                                                        const MQTTFixedBuffer_t * pNetworkBuffer );
                                                        -
                                                        MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
                                                        Initialize an MQTT context.
                                                        Definition: core_mqtt.c:2568
                                                        -
                                                        void(* MQTTEventCallback_t)(struct MQTTContext *pContext, struct MQTTPacketInfo *pPacketInfo, struct MQTTDeserializedInfo *pDeserializedInfo)
                                                        Application callback for receiving incoming publishes and incoming acks.
                                                        Definition: core_mqtt.h:100
                                                        -
                                                        uint32_t(* MQTTGetCurrentTimeFunc_t)(void)
                                                        Application provided function to query the time elapsed since a given epoch in milliseconds.
                                                        Definition: core_mqtt.h:85
                                                        +
                                                        MQTTStatus_t MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer)
                                                        Initialize an MQTT context.
                                                        Definition: core_mqtt.c:2679
                                                        +
                                                        void(* MQTTEventCallback_t)(struct MQTTContext *pContext, struct MQTTPacketInfo *pPacketInfo, struct MQTTDeserializedInfo *pDeserializedInfo)
                                                        Application callback for receiving incoming publishes and incoming acks.
                                                        Definition: core_mqtt.h:106
                                                        +
                                                        uint32_t(* MQTTGetCurrentTimeFunc_t)(void)
                                                        Application provided function to query the time elapsed since a given epoch in milliseconds.
                                                        Definition: core_mqtt.h:91
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130
                                                        The transport layer interface.
                                                        Definition: transport_interface.h:299

                                                        Initialize an MQTT context.

                                                        This function must be called on an MQTTContext_t before any other function.

                                                        @@ -168,10 +168,10 @@
                                                        }
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        struct NetworkContext NetworkContext_t
                                                        The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
                                                        Definition: transport_interface.h:191
                                                        -
                                                        Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
                                                        Definition: core_mqtt.h:258
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        -
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:247
                                                        +
                                                        Struct to hold deserialized packet information for an MQTTEventCallback_t callback.
                                                        Definition: core_mqtt.h:332
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        +
                                                        MQTT incoming packet parameters.
                                                        Definition: core_mqtt_serializer.h:251
                                                        TransportSend_t send
                                                        Definition: transport_interface.h:301
                                                        TransportRecv_t recv
                                                        Definition: transport_interface.h:300
                                                        NetworkContext_t * pNetworkContext
                                                        Definition: transport_interface.h:303
                                                        diff --git a/main/mqtt_ping_function.html b/main/mqtt_ping_function.html index 0b569f4cc..de8683264 100644 --- a/main/mqtt_ping_function.html +++ b/main/mqtt_ping_function.html @@ -101,9 +101,9 @@
                                                        -
                                                        MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
                                                        Sends an MQTT PINGREQ to broker.
                                                        Definition: core_mqtt.c:3060
                                                        +
                                                        MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
                                                        Sends an MQTT PINGREQ to broker.
                                                        Definition: core_mqtt.c:3211
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233

                                                        Sends an MQTT PINGREQ to broker.

                                                        Parameters
                                                        @@ -111,7 +111,7 @@
                                                        -
                                                        Returns
                                                        MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
                                                        +
                                                        Returns
                                                        MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.
                                                        diff --git a/main/mqtt_processloop_function.html b/main/mqtt_processloop_function.html index 6286d1712..f2daeaf96 100644 --- a/main/mqtt_processloop_function.html +++ b/main/mqtt_processloop_function.html @@ -101,9 +101,9 @@
                                                        -
                                                        MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
                                                        Loop to receive packets from the transport interface. Handles keep alive.
                                                        Definition: core_mqtt.c:3287
                                                        +
                                                        MQTTStatus_t MQTT_ProcessLoop(MQTTContext_t *pContext)
                                                        Loop to receive packets from the transport interface. Handles keep alive.
                                                        Definition: core_mqtt.c:3438
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233

                                                        Loop to receive packets from the transport interface. Handles keep alive.

                                                        Note
                                                        If a dummy timer function, MQTTGetCurrentTimeFunc_t, is passed to the library, then the keep-alive mechanism is not supported by the MQTT_ProcessLoop API. In that case, the MQTT_ReceiveLoop API function should be used instead.
                                                        Parameters
                                                        @@ -113,7 +113,7 @@
                                                        Note
                                                        Calling this function blocks the calling context for a time period that depends on the passed the configuration macros, MQTT_RECV_POLLING_TIMEOUT_MS and MQTT_SEND_TIMEOUT_MS, and the underlying transport interface implementation timeouts, unless an error occurs. The blocking period also depends on the execution time of the MQTTEventCallback_t callback supplied to the library. It is recommended that the supplied MQTTEventCallback_t callback does not contain blocking operations to prevent potential non-deterministic blocking period of the MQTT_ProcessLoop API call.
                                                        -
                                                        Returns
                                                        MQTTBadParameter if context is NULL; MQTTRecvFailed if a network error occurs during reception; MQTTSendFailed if a network error occurs while sending an ACK or PINGREQ; MQTTBadResponse if an invalid packet is received; MQTTKeepAliveTimeout if the server has not sent a PINGRESP before MQTT_PINGRESP_TIMEOUT_MS milliseconds; MQTTIllegalState if an incoming QoS 1/2 publish or ack causes an invalid transition for the internal state machine; MQTTNeedMoreBytes if MQTT_ProcessLoop has received incomplete data; it should be called again (probably after a delay); MQTTSuccess on success.
                                                        +
                                                        Returns
                                                        MQTTBadParameter if context is NULL; MQTTRecvFailed if a network error occurs during reception; MQTTSendFailed if a network error occurs while sending an ACK or PINGREQ; MQTTBadResponse if an invalid packet is received; MQTTKeepAliveTimeout if the server has not sent a PINGRESP before MQTT_PINGRESP_TIMEOUT_MS milliseconds; MQTTIllegalState if an incoming QoS 1/2 publish or ack causes an invalid transition for the internal state machine; MQTTNeedMoreBytes if MQTT_ProcessLoop has received incomplete data; it should be called again (probably after a delay); MQTTStatusNotConnected if the connection is not established yet and a PING or an ACK is being sent. MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess on success.

                                                        Example

                                                        // Variables used in this example.
                                                        MQTTStatus_t status;
                                                        // This context is assumed to be initialized and connected.
                                                        diff --git a/main/mqtt_publish_function.html b/main/mqtt_publish_function.html index 56d470418..85d3b9c1f 100644 --- a/main/mqtt_publish_function.html +++ b/main/mqtt_publish_function.html @@ -103,10 +103,10 @@
                                                        const MQTTPublishInfo_t * pPublishInfo,
                                                        uint16_t packetId );
                                                        -
                                                        MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
                                                        Publishes a message to the given topic name.
                                                        Definition: core_mqtt.c:2939
                                                        +
                                                        MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
                                                        Publishes a message to the given topic name.
                                                        Definition: core_mqtt.c:3090
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209

                                                        Publishes a message to the given topic name.

                                                        Parameters
                                                        @@ -116,7 +116,7 @@
                                                        -
                                                        Returns
                                                        MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
                                                        +
                                                        Returns
                                                        MQTTNoMemory if pBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTPublishStoreFailed if the user provided callback to copy and store the outgoing publish packet fails MQTTSuccess otherwise.

                                                        Example

                                                        // Variables used in this example.
                                                        MQTTStatus_t status;
                                                        MQTTPublishInfo_t publishInfo;
                                                        @@ -141,14 +141,14 @@
                                                        // Since the QoS is > 0, we will need to call MQTT_ReceiveLoop()
                                                        // or MQTT_ProcessLoop() to process the publish acknowledgments.
                                                        }
                                                        -
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3340
                                                        +
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3491
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        @ MQTTQoS1
                                                        Definition: core_mqtt_serializer.h:114
                                                        -
                                                        MQTTQoS_t qos
                                                        Quality of Service for message.
                                                        Definition: core_mqtt_serializer.h:209
                                                        -
                                                        uint16_t topicNameLength
                                                        Length of topic name.
                                                        Definition: core_mqtt_serializer.h:229
                                                        -
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:239
                                                        -
                                                        const char * pTopicName
                                                        Topic name on which the message is published.
                                                        Definition: core_mqtt_serializer.h:224
                                                        -
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:234
                                                        +
                                                        @ MQTTQoS1
                                                        Definition: core_mqtt_serializer.h:118
                                                        +
                                                        MQTTQoS_t qos
                                                        Quality of Service for message.
                                                        Definition: core_mqtt_serializer.h:213
                                                        +
                                                        uint16_t topicNameLength
                                                        Length of topic name.
                                                        Definition: core_mqtt_serializer.h:233
                                                        +
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:243
                                                        +
                                                        const char * pTopicName
                                                        Topic name on which the message is published.
                                                        Definition: core_mqtt_serializer.h:228
                                                        +
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:238
                                                        diff --git a/main/mqtt_publishtoresend_function.html b/main/mqtt_publishtoresend_function.html index 30937c642..eeefda3dc 100644 --- a/main/mqtt_publishtoresend_function.html +++ b/main/mqtt_publishtoresend_function.html @@ -104,7 +104,7 @@
                                                        MQTTStateCursor_t * pCursor );
                                                        uint16_t MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor)
                                                        Get the packet ID of next pending publish to be resent.
                                                        Definition: core_mqtt_state.c:1117
                                                        size_t MQTTStateCursor_t
                                                        Cursor for iterating through state records.
                                                        Definition: core_mqtt_state.h:51
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233

                                                        Get the packet ID of next pending publish to be resent.

                                                        This function will need to be called to get the packet for which a publish need to be sent when a session is reestablished. Calling this function repeatedly until packet id is 0 will give all the packets for which a publish need to be resent in the correct order.

                                                        Parameters
                                                        @@ -164,18 +164,18 @@
                                                        // list of outgoing publishes.
                                                        }
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
                                                        Publishes a message to the given topic name.
                                                        Definition: core_mqtt.c:2939
                                                        -
                                                        MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
                                                        Establish an MQTT session.
                                                        Definition: core_mqtt.c:2757
                                                        +
                                                        MQTTStatus_t MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId)
                                                        Publishes a message to the given topic name.
                                                        Definition: core_mqtt.c:3090
                                                        +
                                                        MQTTStatus_t MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent)
                                                        Establish an MQTT session.
                                                        Definition: core_mqtt.c:2908
                                                        #define MQTT_STATE_CURSOR_INITIALIZER
                                                        Initializer value for an MQTTStateCursor_t, indicating a search should start at the beginning of a st...
                                                        Definition: core_mqtt_state.h:45
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        MQTT CONNECT packet parameters.
                                                        Definition: core_mqtt_serializer.h:136
                                                        -
                                                        const char * pClientIdentifier
                                                        MQTT client identifier. Must be unique per client.
                                                        Definition: core_mqtt_serializer.h:150
                                                        -
                                                        bool cleanSession
                                                        Whether to establish a new, clean session or resume a previous session.
                                                        Definition: core_mqtt_serializer.h:140
                                                        -
                                                        uint16_t keepAliveSeconds
                                                        MQTT keep alive period.
                                                        Definition: core_mqtt_serializer.h:145
                                                        -
                                                        uint16_t clientIdentifierLength
                                                        Length of the client identifier.
                                                        Definition: core_mqtt_serializer.h:155
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        -
                                                        bool dup
                                                        Whether this is a duplicate publish message.
                                                        Definition: core_mqtt_serializer.h:219
                                                        +
                                                        MQTT CONNECT packet parameters.
                                                        Definition: core_mqtt_serializer.h:140
                                                        +
                                                        const char * pClientIdentifier
                                                        MQTT client identifier. Must be unique per client.
                                                        Definition: core_mqtt_serializer.h:154
                                                        +
                                                        bool cleanSession
                                                        Whether to establish a new, clean session or resume a previous session.
                                                        Definition: core_mqtt_serializer.h:144
                                                        +
                                                        uint16_t keepAliveSeconds
                                                        MQTT keep alive period.
                                                        Definition: core_mqtt_serializer.h:149
                                                        +
                                                        uint16_t clientIdentifierLength
                                                        Length of the client identifier.
                                                        Definition: core_mqtt_serializer.h:159
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209
                                                        +
                                                        bool dup
                                                        Whether this is a duplicate publish message.
                                                        Definition: core_mqtt_serializer.h:223
                                                        diff --git a/main/mqtt_receiveloop_function.html b/main/mqtt_receiveloop_function.html index 16bb876d5..9020a7cb5 100644 --- a/main/mqtt_receiveloop_function.html +++ b/main/mqtt_receiveloop_function.html @@ -101,9 +101,9 @@
                                                        -
                                                        MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
                                                        Loop to receive packets from the transport interface. Does not handle keep alive.
                                                        Definition: core_mqtt.c:3314
                                                        +
                                                        MQTTStatus_t MQTT_ReceiveLoop(MQTTContext_t *pContext)
                                                        Loop to receive packets from the transport interface. Does not handle keep alive.
                                                        Definition: core_mqtt.c:3465
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233

                                                        Loop to receive packets from the transport interface. Does not handle keep alive.

                                                        Note
                                                        If a dummy MQTTGetCurrentTimeFunc_t was passed to MQTT_Init, then the MQTT_RECV_POLLING_TIMEOUT_MS and MQTT_SEND_TIMEOUT_MS timeout configurations MUST be set to 0.
                                                        Parameters
                                                        @@ -141,11 +141,11 @@
                                                        // Other application functions.
                                                        }
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
                                                        Sends an MQTT PINGREQ to broker.
                                                        Definition: core_mqtt.c:3060
                                                        +
                                                        MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
                                                        Sends an MQTT PINGREQ to broker.
                                                        Definition: core_mqtt.c:3211
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        @ MQTTNeedMoreBytes
                                                        Definition: core_mqtt_serializer.h:99
                                                        -
                                                        uint32_t lastPacketTxTime
                                                        Timestamp of the last packet sent by the library.
                                                        Definition: core_mqtt.h:228
                                                        -
                                                        MQTTGetCurrentTimeFunc_t getTime
                                                        Function used to get millisecond timestamps.
                                                        Definition: core_mqtt.h:218
                                                        +
                                                        uint32_t lastPacketTxTime
                                                        Timestamp of the last packet sent by the library.
                                                        Definition: core_mqtt.h:287
                                                        +
                                                        MQTTGetCurrentTimeFunc_t getTime
                                                        Function used to get millisecond timestamps.
                                                        Definition: core_mqtt.h:277
                                                        diff --git a/main/mqtt_serializeack_function.html b/main/mqtt_serializeack_function.html index 81f942f0c..d88c5c7c1 100644 --- a/main/mqtt_serializeack_function.html +++ b/main/mqtt_serializeack_function.html @@ -103,9 +103,9 @@
                                                        uint8_t packetType,
                                                        uint16_t packetId );
                                                        -
                                                        MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
                                                        Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
                                                        Definition: core_mqtt_serializer.c:2266
                                                        +
                                                        MQTTStatus_t MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId)
                                                        Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
                                                        Definition: core_mqtt_serializer.c:2271
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130

                                                        Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.

                                                        Parameters
                                                        @@ -144,8 +144,8 @@
                                                        #define MQTT_PUBLISH_ACK_PACKET_SIZE
                                                        The size of MQTT PUBACK, PUBREC, PUBREL, and PUBCOMP packets, per MQTT spec.
                                                        Definition: core_mqtt_serializer.h:73
                                                        #define MQTT_PACKET_TYPE_PUBACK
                                                        PUBACK (bidirectional).
                                                        Definition: core_mqtt_serializer.h:56
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        diff --git a/main/mqtt_serializeconnect_function.html b/main/mqtt_serializeconnect_function.html index 41b9b319f..fcdd05bf4 100644 --- a/main/mqtt_serializeconnect_function.html +++ b/main/mqtt_serializeconnect_function.html @@ -104,11 +104,11 @@
                                                        const MQTTPublishInfo_t * pWillInfo,
                                                        size_t remainingLength,
                                                        const MQTTFixedBuffer_t * pFixedBuffer );
                                                        -
                                                        MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
                                                        Definition: core_mqtt_serializer.c:1790
                                                        +
                                                        MQTTStatus_t MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.
                                                        Definition: core_mqtt_serializer.c:1795
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        MQTT CONNECT packet parameters.
                                                        Definition: core_mqtt_serializer.h:136
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        +
                                                        MQTT CONNECT packet parameters.
                                                        Definition: core_mqtt_serializer.h:140
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209

                                                        Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer.

                                                        MQTT_GetConnectPacketSize should be called with pConnectInfo and pWillInfo before invoking this function to get the size of the required MQTTFixedBuffer_t and remainingLength. The remainingLength must be the same as returned by MQTT_GetConnectPacketSize. The MQTTFixedBuffer_t must be at least as large as the size returned by MQTT_GetConnectPacketSize.

                                                        Parameters
                                                        @@ -147,10 +147,10 @@
                                                        {
                                                        // The connect packet can now be sent to the broker.
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the size and Remaining Length of an MQTT CONNECT packet.
                                                        Definition: core_mqtt_serializer.c:1690
                                                        +
                                                        MQTTStatus_t MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the size and Remaining Length of an MQTT CONNECT packet.
                                                        Definition: core_mqtt_serializer.c:1695
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        diff --git a/main/mqtt_serializedisconnect_function.html b/main/mqtt_serializedisconnect_function.html index 833370dc7..29e41ea35 100644 --- a/main/mqtt_serializedisconnect_function.html +++ b/main/mqtt_serializedisconnect_function.html @@ -101,9 +101,9 @@
                                                        -
                                                        MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT DISCONNECT packet into the given buffer.
                                                        Definition: core_mqtt_serializer.c:2341
                                                        +
                                                        MQTTStatus_t MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT DISCONNECT packet into the given buffer.
                                                        Definition: core_mqtt_serializer.c:2346
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130

                                                        Serialize an MQTT DISCONNECT packet into the given buffer.

                                                        The input MQTTFixedBuffer_t.size must be at least as large as the size returned by MQTT_GetDisconnectPacketSize.

                                                        Parameters
                                                        @@ -133,10 +133,10 @@
                                                        {
                                                        // The disconnect packet can now be sent to the broker.
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT DISCONNECT packet.
                                                        Definition: core_mqtt_serializer.c:2321
                                                        +
                                                        MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT DISCONNECT packet.
                                                        Definition: core_mqtt_serializer.c:2326
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        diff --git a/main/mqtt_serializepingreq_function.html b/main/mqtt_serializepingreq_function.html index 4556b97bb..7f1c57800 100644 --- a/main/mqtt_serializepingreq_function.html +++ b/main/mqtt_serializepingreq_function.html @@ -101,9 +101,9 @@
                                                        -
                                                        MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT PINGREQ packet into the given buffer.
                                                        Definition: core_mqtt_serializer.c:2404
                                                        +
                                                        MQTTStatus_t MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT PINGREQ packet into the given buffer.
                                                        Definition: core_mqtt_serializer.c:2409
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130

                                                        Serialize an MQTT PINGREQ packet into the given buffer.

                                                        The input MQTTFixedBuffer_t.size must be at least as large as the size returned by MQTT_GetPingreqPacketSize.

                                                        Parameters
                                                        @@ -133,10 +133,10 @@
                                                        {
                                                        // The ping request can now be sent to the broker.
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT PINGREQ packet.
                                                        Definition: core_mqtt_serializer.c:2384
                                                        +
                                                        MQTTStatus_t MQTT_GetPingreqPacketSize(size_t *pPacketSize)
                                                        Get the size of an MQTT PINGREQ packet.
                                                        Definition: core_mqtt_serializer.c:2389
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        diff --git a/main/mqtt_serializepublish_function.html b/main/mqtt_serializepublish_function.html index 6288f0cf2..0cb94238e 100644 --- a/main/mqtt_serializepublish_function.html +++ b/main/mqtt_serializepublish_function.html @@ -104,10 +104,10 @@
                                                        uint16_t packetId,
                                                        size_t remainingLength,
                                                        const MQTTFixedBuffer_t * pFixedBuffer );
                                                        -
                                                        MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT PUBLISH packet in the given buffer.
                                                        Definition: core_mqtt_serializer.c:2098
                                                        +
                                                        MQTTStatus_t MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT PUBLISH packet in the given buffer.
                                                        Definition: core_mqtt_serializer.c:2103
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209

                                                        Serialize an MQTT PUBLISH packet in the given buffer.

                                                        This function will serialize complete MQTT PUBLISH packet into the given buffer. If the PUBLISH payload can be sent separately, consider using MQTT_SerializePublishHeader, which will serialize only the PUBLISH header into the buffer.

                                                        MQTT_GetPublishPacketSize should be called with pPublishInfo before invoking this function to get the size of the required MQTTFixedBuffer_t and remainingLength. The remainingLength must be the same as returned by MQTT_GetPublishPacketSize. The MQTTFixedBuffer_t must be at least as large as the size returned by MQTT_GetPublishPacketSize.

                                                        @@ -155,10 +155,10 @@
                                                        {
                                                        // The publish packet can now be sent to the broker.
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the packet size and remaining length of an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2057
                                                        +
                                                        MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the packet size and remaining length of an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2062
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        diff --git a/main/mqtt_serializepublishheader_function.html b/main/mqtt_serializepublishheader_function.html index 92f3e8f75..55c2c3791 100644 --- a/main/mqtt_serializepublishheader_function.html +++ b/main/mqtt_serializepublishheader_function.html @@ -105,10 +105,10 @@
                                                        size_t remainingLength,
                                                        const MQTTFixedBuffer_t * pFixedBuffer,
                                                        size_t * pHeaderSize );
                                                        -
                                                        MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
                                                        Serialize an MQTT PUBLISH packet header in the given buffer.
                                                        Definition: core_mqtt_serializer.c:2183
                                                        +
                                                        MQTTStatus_t MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize)
                                                        Serialize an MQTT PUBLISH packet header in the given buffer.
                                                        Definition: core_mqtt_serializer.c:2188
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        -
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:205
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130
                                                        +
                                                        MQTT PUBLISH packet parameters.
                                                        Definition: core_mqtt_serializer.h:209

                                                        Serialize an MQTT PUBLISH packet header in the given buffer.

                                                        This function serializes PUBLISH header in to the given buffer. The payload for PUBLISH will not be copied over to the buffer. This will help reduce the memory needed for the buffer and avoid an unwanted copy operation of the PUBLISH payload into the buffer. If the payload also would need to be part of the serialized buffer, consider using MQTT_SerializePublish.

                                                        MQTT_GetPublishPacketSize should be called with pPublishInfo before invoking this function to get the size of the required MQTTFixedBuffer_t and remainingLength. The remainingLength must be the same as returned by MQTT_GetPublishPacketSize. The MQTTFixedBuffer_t must be at least as large as the size returned by MQTT_GetPublishPacketSize.

                                                        @@ -166,12 +166,12 @@
                                                        bytesSent = send( mqttSocket, publishInfo.pPayload, publishInfo.payloadLength, 0 );
                                                        assert( bytesSent == publishInfo.payloadLength );
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the packet size and remaining length of an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2057
                                                        +
                                                        MQTTStatus_t MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get the packet size and remaining length of an MQTT PUBLISH packet.
                                                        Definition: core_mqtt_serializer.c:2062
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        -
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:239
                                                        -
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:234
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        +
                                                        size_t payloadLength
                                                        Message payload length.
                                                        Definition: core_mqtt_serializer.h:243
                                                        +
                                                        const void * pPayload
                                                        Message payload.
                                                        Definition: core_mqtt_serializer.h:238
                                                        diff --git a/main/mqtt_serializesubscribe_function.html b/main/mqtt_serializesubscribe_function.html index ab9e54a4a..2a780a743 100644 --- a/main/mqtt_serializesubscribe_function.html +++ b/main/mqtt_serializesubscribe_function.html @@ -105,10 +105,10 @@
                                                        uint16_t packetId,
                                                        size_t remainingLength,
                                                        const MQTTFixedBuffer_t * pFixedBuffer );
                                                        -
                                                        MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT SUBSCRIBE packet in the given buffer.
                                                        Definition: core_mqtt_serializer.c:1932
                                                        +
                                                        MQTTStatus_t MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT SUBSCRIBE packet in the given buffer.
                                                        Definition: core_mqtt_serializer.c:1937
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        -
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:183
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130
                                                        +
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:187

                                                        Serialize an MQTT SUBSCRIBE packet in the given buffer.

                                                        MQTT_GetSubscribePacketSize should be called with pSubscriptionList before invoking this function to get the size of the required MQTTFixedBuffer_t and remainingLength. The remainingLength must be the same as returned by MQTT_GetSubscribePacketSize. The MQTTFixedBuffer_t must be at least as large as the size returned by MQTT_GetSubscribePacketSize.

                                                        Parameters
                                                        @@ -157,10 +157,10 @@
                                                        {
                                                        // The subscribe packet can now be sent to the broker.
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1848
                                                        +
                                                        MQTTStatus_t MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT SUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1853
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        diff --git a/main/mqtt_serializeunsubscribe_function.html b/main/mqtt_serializeunsubscribe_function.html index 56064ecf9..a97034909 100644 --- a/main/mqtt_serializeunsubscribe_function.html +++ b/main/mqtt_serializeunsubscribe_function.html @@ -105,10 +105,10 @@
                                                        uint16_t packetId,
                                                        size_t remainingLength,
                                                        const MQTTFixedBuffer_t * pFixedBuffer );
                                                        -
                                                        MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
                                                        Definition: core_mqtt_serializer.c:2016
                                                        +
                                                        MQTTStatus_t MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer)
                                                        Serialize an MQTT UNSUBSCRIBE packet in the given buffer.
                                                        Definition: core_mqtt_serializer.c:2021
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:126
                                                        -
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:183
                                                        +
                                                        Buffer passed to MQTT library.
                                                        Definition: core_mqtt_serializer.h:130
                                                        +
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:187

                                                        Serialize an MQTT UNSUBSCRIBE packet in the given buffer.

                                                        MQTT_GetUnsubscribePacketSize should be called with pSubscriptionList before invoking this function to get the size of the required MQTTFixedBuffer_t and remainingLength. The remainingLength must be the same as returned by MQTT_GetUnsubscribePacketSize. The MQTTFixedBuffer_t must be at least as large as the size returned by MQTT_GetUnsubscribePacketSize.

                                                        Parameters
                                                        @@ -157,10 +157,10 @@
                                                        {
                                                        // The unsubscribe packet can now be sent to the broker.
                                                        }
                                                        -
                                                        MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1978
                                                        +
                                                        MQTTStatus_t MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize)
                                                        Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet.
                                                        Definition: core_mqtt_serializer.c:1983
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:128
                                                        -
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:127
                                                        +
                                                        size_t size
                                                        Size of buffer.
                                                        Definition: core_mqtt_serializer.h:132
                                                        +
                                                        uint8_t * pBuffer
                                                        Pointer to buffer.
                                                        Definition: core_mqtt_serializer.h:131
                                                        diff --git a/main/mqtt_status_strerror_function.html b/main/mqtt_status_strerror_function.html index 6c65c685c..015422cbc 100644 --- a/main/mqtt_status_strerror_function.html +++ b/main/mqtt_status_strerror_function.html @@ -101,7 +101,7 @@
                                                        const char * MQTT_Status_strerror( MQTTStatus_t status );
                                                        -
                                                        const char * MQTT_Status_strerror(MQTTStatus_t status)
                                                        Error code to string conversion for MQTT statuses.
                                                        Definition: core_mqtt.c:3497
                                                        +
                                                        const char * MQTT_Status_strerror(MQTTStatus_t status)
                                                        Error code to string conversion for MQTT statuses.
                                                        Definition: core_mqtt.c:3648
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87

                                                        Error code to string conversion for MQTT statuses.

                                                        Parameters
                                                        diff --git a/main/mqtt_subscribe_function.html b/main/mqtt_subscribe_function.html index e2c8f2b19..bc7bec39e 100644 --- a/main/mqtt_subscribe_function.html +++ b/main/mqtt_subscribe_function.html @@ -104,10 +104,10 @@
                                                        const MQTTSubscribeInfo_t * pSubscriptionList,
                                                        size_t subscriptionCount,
                                                        uint16_t packetId );
                                                        -
                                                        MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
                                                        Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
                                                        Definition: core_mqtt.c:2884
                                                        +
                                                        MQTTStatus_t MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
                                                        Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.
                                                        Definition: core_mqtt.c:3035
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        -
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:183
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233
                                                        +
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:187

                                                        Sends MQTT SUBSCRIBE for the given list of topic filters to the broker.

                                                        Parameters
                                                        @@ -118,7 +118,7 @@
                                                        -
                                                        Returns
                                                        MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
                                                        +
                                                        Returns
                                                        MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.

                                                        Example

                                                        // Variables used in this example.
                                                        MQTTStatus_t status;
                                                        MQTTSubscribeInfo_t subscriptionList[ NUMBER_OF_SUBSCRIPTIONS ] = { 0 };
                                                        @@ -148,12 +148,12 @@
                                                        // If the broker accepts the subscription we can now receive publishes
                                                        // on the requested topics.
                                                        }
                                                        -
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3340
                                                        +
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3491
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:113
                                                        -
                                                        MQTTQoS_t qos
                                                        Quality of Service for subscription.
                                                        Definition: core_mqtt_serializer.h:187
                                                        -
                                                        uint16_t topicFilterLength
                                                        Length of subscription topic filter.
                                                        Definition: core_mqtt_serializer.h:197
                                                        -
                                                        const char * pTopicFilter
                                                        Topic filter to subscribe to.
                                                        Definition: core_mqtt_serializer.h:192
                                                        +
                                                        @ MQTTQoS0
                                                        Definition: core_mqtt_serializer.h:117
                                                        +
                                                        MQTTQoS_t qos
                                                        Quality of Service for subscription.
                                                        Definition: core_mqtt_serializer.h:191
                                                        +
                                                        uint16_t topicFilterLength
                                                        Length of subscription topic filter.
                                                        Definition: core_mqtt_serializer.h:201
                                                        +
                                                        const char * pTopicFilter
                                                        Topic filter to subscribe to.
                                                        Definition: core_mqtt_serializer.h:196
                                                        diff --git a/main/mqtt_unsubscribe_function.html b/main/mqtt_unsubscribe_function.html index c13e52189..676eb3f8b 100644 --- a/main/mqtt_unsubscribe_function.html +++ b/main/mqtt_unsubscribe_function.html @@ -104,10 +104,10 @@
                                                        const MQTTSubscribeInfo_t * pSubscriptionList,
                                                        size_t subscriptionCount,
                                                        uint16_t packetId );
                                                        -
                                                        MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
                                                        Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
                                                        Definition: core_mqtt.c:3149
                                                        +
                                                        MQTTStatus_t MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId)
                                                        Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.
                                                        Definition: core_mqtt.c:3300
                                                        MQTTStatus_t
                                                        Return codes from MQTT functions.
                                                        Definition: core_mqtt_serializer.h:87
                                                        -
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:174
                                                        -
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:183
                                                        +
                                                        A struct representing an MQTT connection.
                                                        Definition: core_mqtt.h:233
                                                        +
                                                        MQTT SUBSCRIBE packet parameters.
                                                        Definition: core_mqtt_serializer.h:187

                                                        Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker.

                                                        Parameters
                                                        @@ -118,7 +118,7 @@
                                                        -
                                                        Returns
                                                        MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTSuccess otherwise.
                                                        +
                                                        Returns
                                                        MQTTNoMemory if the MQTTContext_t.networkBuffer is too small to hold the MQTT packet; MQTTBadParameter if invalid parameters are passed; MQTTSendFailed if transport write failed; MQTTStatusNotConnected if the connection is not established yet MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect before calling any other API MQTTSuccess otherwise.

                                                        Example

                                                        // Variables used in this example.
                                                        MQTTStatus_t status;
                                                        MQTTSubscribeInfo_t unsubscribeList[ NUMBER_OF_SUBSCRIPTIONS ] = { 0 };
                                                        @@ -147,10 +147,10 @@
                                                        // We must now call MQTT_ReceiveLoop() or MQTT_ProcessLoop() to receive the UNSUBACK.
                                                        // After this the broker should no longer send publishes for these topics.
                                                        }
                                                        -
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3340
                                                        +
                                                        uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
                                                        Get a packet ID that is valid according to the MQTT 3.1.1 spec.
                                                        Definition: core_mqtt.c:3491
                                                        @ MQTTSuccess
                                                        Definition: core_mqtt_serializer.h:88
                                                        -
                                                        uint16_t topicFilterLength
                                                        Length of subscription topic filter.
                                                        Definition: core_mqtt_serializer.h:197
                                                        -
                                                        const char * pTopicFilter
                                                        Topic filter to subscribe to.
                                                        Definition: core_mqtt_serializer.h:192
                                                        +
                                                        uint16_t topicFilterLength
                                                        Length of subscription topic filter.
                                                        Definition: core_mqtt_serializer.h:201
                                                        +
                                                        const char * pTopicFilter
                                                        Topic filter to subscribe to.
                                                        Definition: core_mqtt_serializer.h:196
                                                        diff --git a/main/navtreeindex0.js b/main/navtreeindex0.js index ae3e513e8..6b5516f3b 100644 --- a/main/navtreeindex0.js +++ b/main/navtreeindex0.js @@ -70,7 +70,9 @@ var NAVTREEINDEX0 = "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca076ca8965e836a06e707a94adb26144f":[7,0,4,10], "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863":[7,0,4,14], "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca25a3d1747e308e99daa805fe576f84b9":[7,0,4,6], +"group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca274b61e8a2aea2cf551353c6d09a6eb2":[7,0,4,16], "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca484e062cb4f3fccc1858dd25cfeee056":[7,0,4,0], +"group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca61a3e19715d8ee1ee330c9bbd4b2708a":[7,0,4,15], "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca676f21c0ddf297ae3ec874bc829aa957":[7,0,4,7], "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca67905d7a05f98faa557a73eb5092bd8f":[7,0,4,8], "group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca8d05b92240dea6df08eab5a9e3799c11":[7,0,4,9], @@ -156,7 +158,9 @@ var NAVTREEINDEX0 = "struct_m_q_t_t_context__t.html":[7,2,1], "struct_m_q_t_t_context__t.html#a01acf90953e830ba3e7f44182cb1d482":[7,2,1,10], "struct_m_q_t_t_context__t.html#a231c5576a6ce389317a3f00f95628276":[7,2,1,5], +"struct_m_q_t_t_context__t.html#a270e9e595ecd60948c960d059f8fe718":[7,2,1,18], "struct_m_q_t_t_context__t.html#a2851073e252d1e744596272ef13dd14a":[7,2,1,2], +"struct_m_q_t_t_context__t.html#a36e3d500e6efa050d6e666aefa3ff577":[7,2,1,19], "struct_m_q_t_t_context__t.html#a41b7735cd0746563483b72e17cf103aa":[7,2,1,13], "struct_m_q_t_t_context__t.html#a4e38c4dc77e7751a0ad8730a41bee47f":[7,2,1,7], "struct_m_q_t_t_context__t.html#a4ea1e37e0e81f010fbf84365ac2ef6de":[7,2,1,0], @@ -165,6 +169,7 @@ var NAVTREEINDEX0 = "struct_m_q_t_t_context__t.html#a87ab9d61e7711325c2c85ce3ce63386a":[7,2,1,4], "struct_m_q_t_t_context__t.html#aa33ed2e10380a854629f1386d0323ea8":[7,2,1,3], "struct_m_q_t_t_context__t.html#aabe1d302a16771292151013e8e30c582":[7,2,1,8], +"struct_m_q_t_t_context__t.html#ac205fc33078b0cfa0dfc62807bd9574f":[7,2,1,17], "struct_m_q_t_t_context__t.html#ac7073f43645f7b7c0c5b7763980004bb":[7,2,1,16], "struct_m_q_t_t_context__t.html#acca3efa4146d85f7e874c7c326e23556":[7,2,1,15], "struct_m_q_t_t_context__t.html#af47ed55ad7e9bb112324f5f209b70534":[7,2,1,6], diff --git a/main/search/all_10.js b/main/search/all_10.js index 7d98514a1..e7ab66a9e 100644 --- a/main/search/all_10.js +++ b/main/search/all_10.js @@ -8,5 +8,6 @@ var searchData= ['recvexact_5',['recvExact',['../core__mqtt_8c.html#abe9fbe1e681fa7b248489ab4a22be49c',1,'core_mqtt.c']]], ['remaininglength_6',['remainingLength',['../struct_m_q_t_t_packet_info__t.html#a7c85becf08de0ec9776dd4be1fcc4bf8',1,'MQTTPacketInfo_t']]], ['remaininglengthencodedsize_7',['remainingLengthEncodedSize',['../core__mqtt__serializer_8c.html#aeead0813fa045d754e3d6ec964d0686e',1,'core_mqtt_serializer.c']]], - ['retain_8',['retain',['../struct_m_q_t_t_publish_info__t.html#a343b0af89c46a900db4aa5c775a0975a',1,'MQTTPublishInfo_t']]] + ['retain_8',['retain',['../struct_m_q_t_t_publish_info__t.html#a343b0af89c46a900db4aa5c775a0975a',1,'MQTTPublishInfo_t']]], + ['retrievefunction_9',['retrieveFunction',['../struct_m_q_t_t_context__t.html#a270e9e595ecd60948c960d059f8fe718',1,'MQTTContext_t']]] ]; diff --git a/main/search/all_11.js b/main/search/all_11.js index 2760bd6fb..988e2d8bf 100644 --- a/main/search/all_11.js +++ b/main/search/all_11.js @@ -5,11 +5,12 @@ var searchData= ['sendconnectwithoutcopy_2',['sendConnectWithoutCopy',['../core__mqtt_8c.html#a3c6935ecef4879b9aeee05ffb0f0a9cb',1,'core_mqtt.c']]], ['sendmessagevector_3',['sendMessageVector',['../core__mqtt_8c.html#a39f478d2bb0366a5f14bfa90316d8d26',1,'core_mqtt.c']]], ['sendpublishacks_4',['sendPublishAcks',['../core__mqtt_8c.html#ab4b719d2f726b049c279dcb37fcba840',1,'core_mqtt.c']]], - ['sendpublishwithoutcopy_5',['sendPublishWithoutCopy',['../core__mqtt_8c.html#aaaca64a926603116f5dfec4a65f28283',1,'core_mqtt.c']]], + ['sendpublishwithoutcopy_5',['sendPublishWithoutCopy',['../core__mqtt_8c.html#af775574fd302e755d793a07818b62a2a',1,'core_mqtt.c']]], ['sendsubscribewithoutcopy_6',['sendSubscribeWithoutCopy',['../core__mqtt_8c.html#a86259fe46a81f7981a7b43b677ab896d',1,'core_mqtt.c']]], ['sendunsubscribewithoutcopy_7',['sendUnsubscribeWithoutCopy',['../core__mqtt_8c.html#a5fc0209190ce8ce635050195689306e2',1,'core_mqtt.c']]], ['serializeconnectpacket_8',['serializeConnectPacket',['../core__mqtt__serializer_8c.html#a95bf697a3b1f86950e5c199d9cf3a185',1,'core_mqtt_serializer.c']]], ['serializepublishcommon_9',['serializePublishCommon',['../core__mqtt__serializer_8c.html#a6b4138d990e2c8fbedbe28683c0fa83a',1,'core_mqtt_serializer.c']]], ['size_10',['size',['../struct_m_q_t_t_fixed_buffer__t.html#a0b0b6a93cc62751ebeb03095d5431636',1,'MQTTFixedBuffer_t']]], - ['stateselect_11',['stateSelect',['../core__mqtt__state_8c.html#adfc09b0c75d5de09cd73650f944699c0',1,'core_mqtt_state.c']]] + ['stateselect_11',['stateSelect',['../core__mqtt__state_8c.html#adfc09b0c75d5de09cd73650f944699c0',1,'core_mqtt_state.c']]], + ['storefunction_12',['storeFunction',['../struct_m_q_t_t_context__t.html#ac205fc33078b0cfa0dfc62807bd9574f',1,'MQTTContext_t']]] ]; diff --git a/main/search/all_13.js b/main/search/all_13.js index f992eef25..6e9515b89 100644 --- a/main/search/all_13.js +++ b/main/search/all_13.js @@ -7,9 +7,10 @@ var searchData= ['uint16_5flow_5fbyte_4',['UINT16_LOW_BYTE',['../core__mqtt__serializer_8c.html#af2ae35b27e0140a77238cd175508cb4e',1,'core_mqtt_serializer.c']]], ['uint16_5fset_5fbit_5',['UINT16_SET_BIT',['../core__mqtt__state_8c.html#acd96521b31682b7d93de544704fd9594',1,'core_mqtt_state.c']]], ['uint8_5fcheck_5fbit_6',['UINT8_CHECK_BIT',['../core__mqtt__serializer_8c.html#a07cc5f3f934e1ebf8011a6c15a667206',1,'core_mqtt_serializer.c']]], - ['uint8_5fset_5fbit_7',['UINT8_SET_BIT',['../core__mqtt__serializer_8c.html#af259c91b3075c24df53fa3ffe516b208',1,'core_mqtt_serializer.c']]], - ['updaterecord_8',['updateRecord',['../core__mqtt__state_8c.html#a819c7c72087621fcf97a028bff02759e',1,'core_mqtt_state.c']]], - ['updatestateack_9',['updateStateAck',['../core__mqtt__state_8c.html#a174a91b9491a344d6fb4f0b39189392f',1,'core_mqtt_state.c']]], - ['updatestatepublish_10',['updateStatePublish',['../core__mqtt__state_8c.html#aa0550584e3733da2e31c9478b9307b49',1,'core_mqtt_state.c']]], - ['usernamelength_11',['userNameLength',['../struct_m_q_t_t_connect_info__t.html#a7165be3bb06d4527ab4eb773b50e05e1',1,'MQTTConnectInfo_t']]] + ['uint8_5fclear_5fbit_7',['UINT8_CLEAR_BIT',['../core__mqtt__serializer_8c.html#a549d24726d8ff1b4b32a6cb48654ad90',1,'core_mqtt_serializer.c']]], + ['uint8_5fset_5fbit_8',['UINT8_SET_BIT',['../core__mqtt__serializer_8c.html#af259c91b3075c24df53fa3ffe516b208',1,'core_mqtt_serializer.c']]], + ['updaterecord_9',['updateRecord',['../core__mqtt__state_8c.html#a819c7c72087621fcf97a028bff02759e',1,'core_mqtt_state.c']]], + ['updatestateack_10',['updateStateAck',['../core__mqtt__state_8c.html#a174a91b9491a344d6fb4f0b39189392f',1,'core_mqtt_state.c']]], + ['updatestatepublish_11',['updateStatePublish',['../core__mqtt__state_8c.html#aa0550584e3733da2e31c9478b9307b49',1,'core_mqtt_state.c']]], + ['usernamelength_12',['userNameLength',['../struct_m_q_t_t_connect_info__t.html#a7165be3bb06d4527ab4eb773b50e05e1',1,'MQTTConnectInfo_t']]] ]; diff --git a/main/search/all_14.js b/main/search/all_14.js index 460ee0c0b..1855632a1 100644 --- a/main/search/all_14.js +++ b/main/search/all_14.js @@ -4,5 +4,6 @@ var searchData= ['validatesubscribeunsubscribeparams_1',['validateSubscribeUnsubscribeParams',['../core__mqtt_8c.html#a37c146709806e0974638784edeb587f8',1,'core_mqtt.c']]], ['validatesubscriptionserializeparams_2',['validateSubscriptionSerializeParams',['../core__mqtt__serializer_8c.html#a81262cb0b9d47dee979420f6fd8a7271',1,'core_mqtt_serializer.c']]], ['validatetransitionack_3',['validateTransitionAck',['../core__mqtt__state_8c.html#ac85ca8874163b399b7f8e5e17d3c5872',1,'core_mqtt_state.c']]], - ['validatetransitionpublish_4',['validateTransitionPublish',['../core__mqtt__state_8c.html#aad1473b9a2d46be62c3e80dd3524af9d',1,'core_mqtt_state.c']]] + ['validatetransitionpublish_4',['validateTransitionPublish',['../core__mqtt__state_8c.html#aad1473b9a2d46be62c3e80dd3524af9d',1,'core_mqtt_state.c']]], + ['vectorlen_5',['vectorLen',['../struct_m_q_t_t_vec.html#a53b13c310696095b7f1a5254e75552fb',1,'MQTTVec']]] ]; diff --git a/main/search/all_2.js b/main/search/all_2.js index 904a72264..2bf78bc9c 100644 --- a/main/search/all_2.js +++ b/main/search/all_2.js @@ -6,20 +6,21 @@ var searchData= ['callback_20types_3',['Callback Types',['../group__mqtt__callback__types.html',1,'']]], ['checkpublishremaininglength_4',['checkPublishRemainingLength',['../core__mqtt__serializer_8c.html#a33a2680aab1ce2186acd7c78aeb270f1',1,'core_mqtt_serializer.c']]], ['cleansession_5',['cleanSession',['../struct_m_q_t_t_connect_info__t.html#a606e7765c4f2215fb2bf630f6eb9ff6b',1,'MQTTConnectInfo_t']]], - ['clientidentifierlength_6',['clientIdentifierLength',['../struct_m_q_t_t_connect_info__t.html#a8077ef36ab318f3d35bee6f098fa54d4',1,'MQTTConnectInfo_t']]], - ['compactrecords_7',['compactRecords',['../core__mqtt__state_8c.html#a6cd7b86de2ddb125fee886d58d1a5fd4',1,'core_mqtt_state.c']]], - ['configurations_8',['Configurations',['../core_mqtt_config.html',1,'']]], - ['connectstatus_9',['connectStatus',['../struct_m_q_t_t_context__t.html#a4e38c4dc77e7751a0ad8730a41bee47f',1,'MQTTContext_t']]], - ['constants_10',['Constants',['../group__mqtt__constants.html',1,'']]], - ['controlpacketsent_11',['controlPacketSent',['../struct_m_q_t_t_context__t.html#af9724f2426132e3ce96a03892902ef89',1,'MQTTContext_t']]], - ['core_5fmqtt_2ec_12',['core_mqtt.c',['../core__mqtt_8c.html',1,'']]], - ['core_5fmqtt_2eh_13',['core_mqtt.h',['../core__mqtt_8h.html',1,'']]], - ['core_5fmqtt_5fconfig_5fdefaults_2eh_14',['core_mqtt_config_defaults.h',['../core__mqtt__config__defaults_8h.html',1,'']]], - ['core_5fmqtt_5fserialized_5flength_5ffield_5fbytes_15',['CORE_MQTT_SERIALIZED_LENGTH_FIELD_BYTES',['../core__mqtt_8c.html#a989426922a1f5f04ea8b612fd1f4b185',1,'core_mqtt.c']]], - ['core_5fmqtt_5fserializer_2ec_16',['core_mqtt_serializer.c',['../core__mqtt__serializer_8c.html',1,'']]], - ['core_5fmqtt_5fserializer_2eh_17',['core_mqtt_serializer.h',['../core__mqtt__serializer_8h.html',1,'']]], - ['core_5fmqtt_5fstate_2ec_18',['core_mqtt_state.c',['../core__mqtt__state_8c.html',1,'']]], - ['core_5fmqtt_5fstate_2eh_19',['core_mqtt_state.h',['../core__mqtt__state_8h.html',1,'']]], - ['core_5fmqtt_5fsubscribe_5fper_5ftopic_5fvector_5flength_20',['CORE_MQTT_SUBSCRIBE_PER_TOPIC_VECTOR_LENGTH',['../core__mqtt_8c.html#a97f180c9cc32ca9e354e7c22378a386b',1,'core_mqtt.c']]], - ['core_5fmqtt_5funsubscribe_5fper_5ftopic_5fvector_5flength_21',['CORE_MQTT_UNSUBSCRIBE_PER_TOPIC_VECTOR_LENGTH',['../core__mqtt_8c.html#a42477ec456354f2b944b47646ee5a9ce',1,'core_mqtt.c']]] + ['clearfunction_6',['clearFunction',['../struct_m_q_t_t_context__t.html#a36e3d500e6efa050d6e666aefa3ff577',1,'MQTTContext_t']]], + ['clientidentifierlength_7',['clientIdentifierLength',['../struct_m_q_t_t_connect_info__t.html#a8077ef36ab318f3d35bee6f098fa54d4',1,'MQTTConnectInfo_t']]], + ['compactrecords_8',['compactRecords',['../core__mqtt__state_8c.html#a6cd7b86de2ddb125fee886d58d1a5fd4',1,'core_mqtt_state.c']]], + ['configurations_9',['Configurations',['../core_mqtt_config.html',1,'']]], + ['connectstatus_10',['connectStatus',['../struct_m_q_t_t_context__t.html#a4e38c4dc77e7751a0ad8730a41bee47f',1,'MQTTContext_t']]], + ['constants_11',['Constants',['../group__mqtt__constants.html',1,'']]], + ['controlpacketsent_12',['controlPacketSent',['../struct_m_q_t_t_context__t.html#af9724f2426132e3ce96a03892902ef89',1,'MQTTContext_t']]], + ['core_5fmqtt_2ec_13',['core_mqtt.c',['../core__mqtt_8c.html',1,'']]], + ['core_5fmqtt_2eh_14',['core_mqtt.h',['../core__mqtt_8h.html',1,'']]], + ['core_5fmqtt_5fconfig_5fdefaults_2eh_15',['core_mqtt_config_defaults.h',['../core__mqtt__config__defaults_8h.html',1,'']]], + ['core_5fmqtt_5fserialized_5flength_5ffield_5fbytes_16',['CORE_MQTT_SERIALIZED_LENGTH_FIELD_BYTES',['../core__mqtt_8c.html#a989426922a1f5f04ea8b612fd1f4b185',1,'core_mqtt.c']]], + ['core_5fmqtt_5fserializer_2ec_17',['core_mqtt_serializer.c',['../core__mqtt__serializer_8c.html',1,'']]], + ['core_5fmqtt_5fserializer_2eh_18',['core_mqtt_serializer.h',['../core__mqtt__serializer_8h.html',1,'']]], + ['core_5fmqtt_5fstate_2ec_19',['core_mqtt_state.c',['../core__mqtt__state_8c.html',1,'']]], + ['core_5fmqtt_5fstate_2eh_20',['core_mqtt_state.h',['../core__mqtt__state_8h.html',1,'']]], + ['core_5fmqtt_5fsubscribe_5fper_5ftopic_5fvector_5flength_21',['CORE_MQTT_SUBSCRIBE_PER_TOPIC_VECTOR_LENGTH',['../core__mqtt_8c.html#a97f180c9cc32ca9e354e7c22378a386b',1,'core_mqtt.c']]], + ['core_5fmqtt_5funsubscribe_5fper_5ftopic_5fvector_5flength_22',['CORE_MQTT_UNSUBSCRIBE_PER_TOPIC_VECTOR_LENGTH',['../core__mqtt_8c.html#a42477ec456354f2b944b47646ee5a9ce',1,'core_mqtt.c']]] ]; diff --git a/main/search/all_7.js b/main/search/all_7.js index 49eb6428d..284c69d8b 100644 --- a/main/search/all_7.js +++ b/main/search/all_7.js @@ -1,6 +1,6 @@ var searchData= [ - ['handlecleansession_0',['handleCleanSession',['../core__mqtt_8c.html#aaba646b7d3723b69e8ce62389ba43270',1,'core_mqtt.c']]], + ['handlecleansession_0',['handleCleanSession',['../core__mqtt_8c.html#a91519103b8929035e95a218d54ce1407',1,'core_mqtt.c']]], ['handleincomingack_1',['handleIncomingAck',['../core__mqtt_8c.html#a264afa489cbfbd96086614d335969115',1,'core_mqtt.c']]], ['handleincomingpublish_2',['handleIncomingPublish',['../core__mqtt_8c.html#a4ac6e6829500c4f522eae413c9470e4d',1,'core_mqtt.c']]], ['handlekeepalive_3',['handleKeepAlive',['../core__mqtt_8c.html#ae0e50de302a1aa66e3c5b2cdcacc4f3f',1,'core_mqtt.c']]], diff --git a/main/search/all_b.js b/main/search/all_b.js index d2b26dbcd..e9dd3a4c7 100644 --- a/main/search/all_b.js +++ b/main/search/all_b.js @@ -5,9 +5,9 @@ var searchData= ['matchwildcards_2',['matchWildcards',['../core__mqtt_8c.html#ab1f061741c445d07454cfa03786a5eea',1,'core_mqtt.c']]], ['mqtt_5fcalculatestateack_3',['MQTT_CalculateStateAck',['../core__mqtt__state_8c.html#a0cad28e34f03b84aff43ee243ce8e2cf',1,'core_mqtt_state.c']]], ['mqtt_5fcalculatestatepublish_4',['MQTT_CalculateStatePublish',['../core__mqtt__state_8c.html#aadc4fdd8af74ac25b848a33e916bff50',1,'core_mqtt_state.c']]], - ['mqtt_5fcancelcallback_5',['MQTT_CancelCallback',['../core__mqtt_8c.html#a31b74c34cd295b98ed5f5b4c15ed4a8b',1,'MQTT_CancelCallback(const MQTTContext_t *pContext, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8h.html#a31b74c34cd295b98ed5f5b4c15ed4a8b',1,'MQTT_CancelCallback(const MQTTContext_t *pContext, uint16_t packetId): core_mqtt.c']]], + ['mqtt_5fcancelcallback_5',['MQTT_CancelCallback',['../core__mqtt_8h.html#a31b74c34cd295b98ed5f5b4c15ed4a8b',1,'MQTT_CancelCallback(const MQTTContext_t *pContext, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a31b74c34cd295b98ed5f5b4c15ed4a8b',1,'MQTT_CancelCallback(const MQTTContext_t *pContext, uint16_t packetId): core_mqtt.c']]], ['mqtt_5fcheckconnectstatus_6',['MQTT_CheckConnectStatus',['../core__mqtt_8c.html#ad138a95422d22d61538f6ff69db9a784',1,'MQTT_CheckConnectStatus(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8h.html#ad138a95422d22d61538f6ff69db9a784',1,'MQTT_CheckConnectStatus(MQTTContext_t *pContext): core_mqtt.c']]], - ['mqtt_5fconnect_7',['MQTT_Connect',['../core__mqtt_8h.html#aed1e4dc123a8ba79ac569cb17c69bfa0',1,'MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent): core_mqtt.c'],['../core__mqtt_8c.html#aed1e4dc123a8ba79ac569cb17c69bfa0',1,'MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent): core_mqtt.c'],['../mqtt_connect_function.html',1,'mqtt_functions']]], + ['mqtt_5fconnect_7',['MQTT_Connect',['../core__mqtt_8c.html#aed1e4dc123a8ba79ac569cb17c69bfa0',1,'MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent): core_mqtt.c'],['../core__mqtt_8h.html#aed1e4dc123a8ba79ac569cb17c69bfa0',1,'MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent): core_mqtt.c'],['../mqtt_connect_function.html',1,'mqtt_functions']]], ['mqtt_5fconnect_5fflag_5fclean_8',['MQTT_CONNECT_FLAG_CLEAN',['../core__mqtt__serializer_8c.html#a1b131e766e003e36fe499d9f6a79fc03',1,'core_mqtt_serializer.c']]], ['mqtt_5fconnect_5fflag_5fpassword_9',['MQTT_CONNECT_FLAG_PASSWORD',['../core__mqtt__serializer_8c.html#ac5f0bb47789c1182392f5029e0238a81',1,'core_mqtt_serializer.c']]], ['mqtt_5fconnect_5fflag_5fusername_10',['MQTT_CONNECT_FLAG_USERNAME',['../core__mqtt__serializer_8c.html#a8d23d14a4cf296feffb9db79728dd1d0',1,'core_mqtt_serializer.c']]], @@ -21,144 +21,156 @@ var searchData= ['mqtt_5fdisconnect_5fpacket_5fsize_18',['MQTT_DISCONNECT_PACKET_SIZE',['../core__mqtt__serializer_8c.html#abdcffcd69d858203747236b5c4afa834',1,'core_mqtt_serializer.c']]], ['mqtt_5fdisconnect_5fremaining_5flength_19',['MQTT_DISCONNECT_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#ac4f3ff016aa6011e3fc707b9f27f6b8c',1,'core_mqtt_serializer.c']]], ['mqtt_5fdo_5fnot_5fuse_5fcustom_5fconfig_20',['MQTT_DO_NOT_USE_CUSTOM_CONFIG',['../core__mqtt__config__defaults_8h.html#abd12bb401eecf3f6694447ea3b1c886d',1,'core_mqtt_config_defaults.h']]], - ['mqtt_5fgetconnectpacketsize_21',['MQTT_GetConnectPacketSize',['../core__mqtt__serializer_8h.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getconnectpacketsize_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetdisconnectpacketsize_22',['MQTT_GetDisconnectPacketSize',['../core__mqtt__serializer_8h.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getdisconnectpacketsize_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetincomingpackettypeandlength_23',['MQTT_GetIncomingPacketTypeAndLength',['../core__mqtt__serializer_8c.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../mqtt_getincomingpackettypeandlength_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetpacketid_24',['MQTT_GetPacketId',['../core__mqtt_8h.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_getpacketid_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetpingreqpacketsize_25',['MQTT_GetPingreqPacketSize',['../core__mqtt__serializer_8h.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getpingreqpacketsize_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetpublishpacketsize_26',['MQTT_GetPublishPacketSize',['../core__mqtt__serializer_8h.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getpublishpacketsize_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetsubackstatuscodes_27',['MQTT_GetSubAckStatusCodes',['../core__mqtt_8h.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c'],['../core__mqtt_8c.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c'],['../mqtt_getsubackstatuscodes_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetsubscribepacketsize_28',['MQTT_GetSubscribePacketSize',['../core__mqtt__serializer_8c.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getsubscribepacketsize_function.html',1,'mqtt_functions']]], - ['mqtt_5fgetunsubscribepacketsize_29',['MQTT_GetUnsubscribePacketSize',['../core__mqtt__serializer_8c.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getunsubscribepacketsize_function.html',1,'mqtt_functions']]], - ['mqtt_5finit_30',['MQTT_Init',['../core__mqtt_8h.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c'],['../core__mqtt_8c.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c'],['../mqtt_init_function.html',1,'mqtt_functions']]], - ['mqtt_5finitstatefulqos_31',['MQTT_InitStatefulQoS',['../core__mqtt_8c.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c'],['../core__mqtt_8h.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c']]], - ['mqtt_5finvalid_5fstate_5fcount_32',['MQTT_INVALID_STATE_COUNT',['../core__mqtt__state_8c.html#a49d2236ebe2b3d27e82e54a7b9e74984',1,'core_mqtt_state.c']]], - ['mqtt_5fmatchtopic_33',['MQTT_MatchTopic',['../core__mqtt_8c.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c'],['../core__mqtt_8h.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c']]], - ['mqtt_5fmax_5fconnack_5freceive_5fretry_5fcount_34',['MQTT_MAX_CONNACK_RECEIVE_RETRY_COUNT',['../core__mqtt__config__defaults_8h.html#a8ca6c96436d5e7c2c8a7933fb28a5c87',1,'core_mqtt_config_defaults.h']]], - ['mqtt_5fmax_5fremaining_5flength_35',['MQTT_MAX_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#a9d9ea40a1ff486557a553523a0743647',1,'core_mqtt_serializer.c']]], - ['mqtt_5fmin_5fpublish_5fremaining_5flength_5fqos0_36',['MQTT_MIN_PUBLISH_REMAINING_LENGTH_QOS0',['../core__mqtt__serializer_8c.html#a3b8709529a24bc195c7310183ffbcc2b',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpacket_5fconnack_5fremaining_5flength_37',['MQTT_PACKET_CONNACK_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#a999c4ebc0d629df9b08a3c88107b5b80',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpacket_5fconnack_5fsession_5fpresent_5fmask_38',['MQTT_PACKET_CONNACK_SESSION_PRESENT_MASK',['../core__mqtt__serializer_8c.html#aab69dd14c12f8086245c2371288944f0',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpacket_5fconnect_5fheader_5fsize_39',['MQTT_PACKET_CONNECT_HEADER_SIZE',['../core__mqtt__serializer_8c.html#aa7c310cb084af0025c356ed844ae443d',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpacket_5fid_5finvalid_40',['MQTT_PACKET_ID_INVALID',['../group__mqtt__constants.html#ga9fde6503edb9eaad50ecd3392ab9992a',1,'core_mqtt.h']]], - ['mqtt_5fpacket_5fpingreq_5fsize_41',['MQTT_PACKET_PINGREQ_SIZE',['../core__mqtt__serializer_8c.html#a6e8a49d0d88f0b038a5379d533858103',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpacket_5fpingresp_5fremaining_5flength_42',['MQTT_PACKET_PINGRESP_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#aeab5c92e86ed98750cbf6422b8b57c06',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpacket_5fsimple_5fack_5fremaining_5flength_43',['MQTT_PACKET_SIMPLE_ACK_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#a4c576df64bca769a91cb64d5d5d86505',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpacket_5ftype_5fconnack_44',['MQTT_PACKET_TYPE_CONNACK',['../group__mqtt__constants.html#gab14f6c39c303eac1a76816edfde7feab',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fconnect_45',['MQTT_PACKET_TYPE_CONNECT',['../group__mqtt__constants.html#ga64a0515bda2ecc89e97595535e1cf0ef',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fdisconnect_46',['MQTT_PACKET_TYPE_DISCONNECT',['../group__mqtt__constants.html#gaed07155a3d6fa4b7624b9f36ed33ec6d',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fpingreq_47',['MQTT_PACKET_TYPE_PINGREQ',['../group__mqtt__constants.html#gacbe28c7d081275d1805c2142ff792185',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fpingresp_48',['MQTT_PACKET_TYPE_PINGRESP',['../group__mqtt__constants.html#ga285fc02048e2482794042fa98639e514',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fpuback_49',['MQTT_PACKET_TYPE_PUBACK',['../group__mqtt__constants.html#ga5f279d63de47a973b41b95f74f47a4f6',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fpubcomp_50',['MQTT_PACKET_TYPE_PUBCOMP',['../group__mqtt__constants.html#ga478ecbc98d2ca83d4ce7db33622b5c3b',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fpublish_51',['MQTT_PACKET_TYPE_PUBLISH',['../group__mqtt__constants.html#ga5b2d79c61f2591c8e5772f974826d4ad',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fpubrec_52',['MQTT_PACKET_TYPE_PUBREC',['../group__mqtt__constants.html#gafa2d8f28da39560f152076b99610e6a3',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fpubrel_53',['MQTT_PACKET_TYPE_PUBREL',['../group__mqtt__constants.html#gaeaa2ceecffda50e2d22ccecf046083c6',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fsuback_54',['MQTT_PACKET_TYPE_SUBACK',['../group__mqtt__constants.html#ga307e0186aa17fdd0d6d181d3d2715766',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5fsubscribe_55',['MQTT_PACKET_TYPE_SUBSCRIBE',['../group__mqtt__constants.html#ga80cfef333e60d967ca927b2e5e665f18',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5funsuback_56',['MQTT_PACKET_TYPE_UNSUBACK',['../group__mqtt__constants.html#ga38bc8ed0b9a1581cf85cecdede7d1a64',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpacket_5ftype_5funsubscribe_57',['MQTT_PACKET_TYPE_UNSUBSCRIBE',['../group__mqtt__constants.html#ga4a94c954cfcea31c8fc3e2adf092b228',1,'core_mqtt_serializer.h']]], - ['mqtt_5fping_58',['MQTT_Ping',['../core__mqtt_8h.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_ping_function.html',1,'mqtt_functions']]], - ['mqtt_5fpingresp_5ftimeout_5fms_59',['MQTT_PINGRESP_TIMEOUT_MS',['../core__mqtt__config__defaults_8h.html#afa825fddb52da7df88fb56d2befcd2fa',1,'core_mqtt_config_defaults.h']]], - ['mqtt_5fpost_5fsend_5fhook_60',['MQTT_POST_SEND_HOOK',['../core__mqtt_8c.html#a205b7112b6bb0697f85b9e25512c67be',1,'core_mqtt.c']]], - ['mqtt_5fpost_5fstate_5fupdate_5fhook_61',['MQTT_POST_STATE_UPDATE_HOOK',['../core__mqtt_8c.html#a436983fba04e3d13cabea35efc4e9bf8',1,'core_mqtt.c']]], - ['mqtt_5fpre_5fsend_5fhook_62',['MQTT_PRE_SEND_HOOK',['../core__mqtt_8c.html#a18f9369f0d6d553db6d1af1bd7156545',1,'core_mqtt.c']]], - ['mqtt_5fpre_5fstate_5fupdate_5fhook_63',['MQTT_PRE_STATE_UPDATE_HOOK',['../core__mqtt_8c.html#acba4b6e51723d384aa9140313effdf8b',1,'core_mqtt.c']]], - ['mqtt_5fprocessincomingpackettypeandlength_64',['MQTT_ProcessIncomingPacketTypeAndLength',['../core__mqtt__serializer_8c.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c']]], - ['mqtt_5fprocessloop_65',['MQTT_ProcessLoop',['../core__mqtt_8h.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_processloop_function.html',1,'mqtt_functions']]], - ['mqtt_5fpublish_66',['MQTT_Publish',['../core__mqtt_8h.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c'],['../mqtt_publish_function.html',1,'mqtt_functions']]], - ['mqtt_5fpublish_5fack_5fpacket_5fsize_67',['MQTT_PUBLISH_ACK_PACKET_SIZE',['../group__mqtt__constants.html#ga26994fcfacb1cff892caa45ec31ca7c6',1,'core_mqtt_serializer.h']]], - ['mqtt_5fpublish_5fflag_5fdup_68',['MQTT_PUBLISH_FLAG_DUP',['../core__mqtt__serializer_8c.html#a57c437ecc3720de76093b08eb0d4f813',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpublish_5fflag_5fqos1_69',['MQTT_PUBLISH_FLAG_QOS1',['../core__mqtt__serializer_8c.html#ac23212835606fade167fb5ce25eaf103',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpublish_5fflag_5fqos2_70',['MQTT_PUBLISH_FLAG_QOS2',['../core__mqtt__serializer_8c.html#afe1d2a0b7c0803f5a20ebb3c7a607d65',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpublish_5fflag_5fretain_71',['MQTT_PUBLISH_FLAG_RETAIN',['../core__mqtt__serializer_8c.html#a3d04b1e1ad7ec25d18fd13726e164f06',1,'core_mqtt_serializer.c']]], - ['mqtt_5fpublishtoresend_72',['MQTT_PublishToResend',['../core__mqtt__state_8c.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c'],['../core__mqtt__state_8h.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c'],['../mqtt_publishtoresend_function.html',1,'mqtt_functions']]], - ['mqtt_5fpubreltoresend_73',['MQTT_PubrelToResend',['../core__mqtt__state_8c.html#ae58ade262ec01262687554b349b2fdf5',1,'core_mqtt_state.c']]], - ['mqtt_5freceiveloop_74',['MQTT_ReceiveLoop',['../core__mqtt_8c.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8h.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_receiveloop_function.html',1,'mqtt_functions']]], - ['mqtt_5frecv_5fpolling_5ftimeout_5fms_75',['MQTT_RECV_POLLING_TIMEOUT_MS',['../core__mqtt__config__defaults_8h.html#a43dc9a67427d9e420a65955eea0e2671',1,'core_mqtt_config_defaults.h']]], - ['mqtt_5fremaining_5flength_5finvalid_76',['MQTT_REMAINING_LENGTH_INVALID',['../core__mqtt__serializer_8c.html#a6f6b43661df6f9e9e9e7123ab01e9eb5',1,'core_mqtt_serializer.c']]], - ['mqtt_5fremovestaterecord_77',['MQTT_RemoveStateRecord',['../core__mqtt__state_8c.html#aef2c13cffbbd5c71183282e69ac9d799',1,'core_mqtt_state.c']]], - ['mqtt_5freservestate_78',['MQTT_ReserveState',['../core__mqtt__state_8c.html#a43bc5d82716e1d8b6e167ec0fe50de5d',1,'core_mqtt_state.c']]], - ['mqtt_5fsend_5ftimeout_5fms_79',['MQTT_SEND_TIMEOUT_MS',['../core__mqtt__config__defaults_8h.html#ac262cab68c4c713ebc2b91a2e4ab8b19',1,'core_mqtt_config_defaults.h']]], - ['mqtt_5fserializeack_80',['MQTT_SerializeAck',['../core__mqtt__serializer_8c.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c'],['../mqtt_serializeack_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializeconnect_81',['MQTT_SerializeConnect',['../core__mqtt__serializer_8c.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializeconnect_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializeconnectfixedheader_82',['MQTT_SerializeConnectFixedHeader',['../core__mqtt__serializer_8c.html#a5e6043289c05db1cdb7e33e0921247a0',1,'core_mqtt_serializer.c']]], - ['mqtt_5fserializedisconnect_83',['MQTT_SerializeDisconnect',['../core__mqtt__serializer_8c.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializedisconnect_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializepingreq_84',['MQTT_SerializePingreq',['../core__mqtt__serializer_8c.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializepingreq_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializepublish_85',['MQTT_SerializePublish',['../core__mqtt__serializer_8c.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializepublish_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializepublishheader_86',['MQTT_SerializePublishHeader',['../core__mqtt__serializer_8c.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c'],['../mqtt_serializepublishheader_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializepublishheaderwithouttopic_87',['MQTT_SerializePublishHeaderWithoutTopic',['../core__mqtt__serializer_8h.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c']]], - ['mqtt_5fserializesubscribe_88',['MQTT_SerializeSubscribe',['../core__mqtt__serializer_8h.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializesubscribe_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializesubscribeheader_89',['MQTT_SerializeSubscribeHeader',['../core__mqtt__serializer_8c.html#a6fe31953d7b8dacb769adcf4c2719730',1,'core_mqtt_serializer.c']]], - ['mqtt_5fserializeunsubscribe_90',['MQTT_SerializeUnsubscribe',['../core__mqtt__serializer_8c.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializeunsubscribe_function.html',1,'mqtt_functions']]], - ['mqtt_5fserializeunsubscribeheader_91',['MQTT_SerializeUnsubscribeHeader',['../core__mqtt__serializer_8c.html#a5b6f47fa319a444835ffed2d6af04709',1,'core_mqtt_serializer.c']]], - ['mqtt_5fstate_5fcursor_5finitializer_92',['MQTT_STATE_CURSOR_INITIALIZER',['../group__mqtt__constants.html#ga666ad78e7eaaffa51f5cab96201a9476',1,'core_mqtt_state.h']]], - ['mqtt_5fstate_5fstrerror_93',['MQTT_State_strerror',['../core__mqtt__state_8c.html#a53d786203ca4d5d5630a9eb3dd4cddae',1,'core_mqtt_state.c']]], - ['mqtt_5fstatus_5fstrerror_94',['MQTT_Status_strerror',['../core__mqtt_8h.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c'],['../core__mqtt_8c.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c'],['../mqtt_status_strerror_function.html',1,'mqtt_functions']]], - ['mqtt_5fsub_5funsub_5fmax_5fvectors_95',['MQTT_SUB_UNSUB_MAX_VECTORS',['../group__mqtt__constants.html#ga928ea0bff12ebf9cf9fa9dfe5cafebbb',1,'core_mqtt_config_defaults.h']]], - ['mqtt_5fsubscribe_96',['MQTT_SUBSCRIBE',['../core__mqtt__serializer_8c.html#a92e39b92b76d439a183fc6f5e300195fa7dd20d5d68728190c8c1050599b562f7',1,'core_mqtt_serializer.c']]], - ['mqtt_5fsubscribe_97',['MQTT_Subscribe',['../core__mqtt_8h.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../mqtt_subscribe_function.html',1,'mqtt_functions']]], - ['mqtt_5funsubscribe_98',['MQTT_UNSUBSCRIBE',['../core__mqtt__serializer_8c.html#a92e39b92b76d439a183fc6f5e300195fa94eb5b78f584ff379c799a142b03e7a7',1,'core_mqtt_serializer.c']]], - ['mqtt_5funsubscribe_99',['MQTT_Unsubscribe',['../core__mqtt_8h.html#a77c911dbe24c5a51aaea88250895dba4',1,'MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a77c911dbe24c5a51aaea88250895dba4',1,'MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../mqtt_unsubscribe_function.html',1,'mqtt_functions']]], - ['mqtt_5fupdatestateack_100',['MQTT_UpdateStateAck',['../core__mqtt__state_8c.html#a09a013b709085ffd51faa33c067cce1f',1,'core_mqtt_state.c']]], - ['mqtt_5fupdatestatepublish_101',['MQTT_UpdateStatePublish',['../core__mqtt__state_8c.html#ad657bd67745c66bc50f0441b4cc94763',1,'core_mqtt_state.c']]], - ['mqtt_5fversion_5f3_5f1_5f1_102',['MQTT_VERSION_3_1_1',['../core__mqtt__serializer_8c.html#a7c621dd360dd439f0d6d8dc5d951a619',1,'core_mqtt_serializer.c']]], - ['mqttbadparameter_103',['MQTTBadParameter',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa39030c93b0263b2699502a074f003b5',1,'core_mqtt_serializer.h']]], - ['mqttbadresponse_104',['MQTTBadResponse',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa5d7507e7664a14d63a8bc44b280093e',1,'core_mqtt_serializer.h']]], - ['mqttconnected_105',['MQTTConnected',['../group__mqtt__enum__types.html#gga9f84d003695205cf10a7bd0bafb3dbf6a82c8f64d976734e5632e5257bc429ef5',1,'core_mqtt.h']]], - ['mqttconnectinfo_5ft_106',['MQTTConnectInfo_t',['../struct_m_q_t_t_connect_info__t.html',1,'']]], - ['mqttconnectionstatus_5ft_107',['MQTTConnectionStatus_t',['../group__mqtt__enum__types.html#ga9f84d003695205cf10a7bd0bafb3dbf6',1,'core_mqtt.h']]], - ['mqttcontext_5ft_108',['MQTTContext_t',['../struct_m_q_t_t_context__t.html',1,'']]], - ['mqttdeserializedinfo_5ft_109',['MQTTDeserializedInfo_t',['../struct_m_q_t_t_deserialized_info__t.html',1,'']]], - ['mqttdisconnectpending_110',['MQTTDisconnectPending',['../group__mqtt__enum__types.html#gga9f84d003695205cf10a7bd0bafb3dbf6a3c7e17f463f44d8f7ce50475b129ac24',1,'core_mqtt.h']]], - ['mqtteventcallback_5ft_111',['MQTTEventCallback_t',['../group__mqtt__callback__types.html#ga00d348277ed4fde23c95bfc749ae954a',1,'core_mqtt.h']]], - ['mqttfixedbuffer_5ft_112',['MQTTFixedBuffer_t',['../struct_m_q_t_t_fixed_buffer__t.html',1,'']]], - ['mqttgetcurrenttimefunc_5ft_113',['MQTTGetCurrentTimeFunc_t',['../group__mqtt__callback__types.html#gae3bea55b0e49e5208b8c5709a5ea23aa',1,'core_mqtt.h']]], - ['mqttillegalstate_114',['MQTTIllegalState',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca67905d7a05f98faa557a73eb5092bd8f',1,'core_mqtt_serializer.h']]], - ['mqttkeepalivetimeout_115',['MQTTKeepAliveTimeout',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca076ca8965e836a06e707a94adb26144f',1,'core_mqtt_serializer.h']]], - ['mqttneedmorebytes_116',['MQTTNeedMoreBytes',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa97df53014d919df5ecd54398f89f9b9',1,'core_mqtt_serializer.h']]], - ['mqttnodataavailable_117',['MQTTNoDataAvailable',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca676f21c0ddf297ae3ec874bc829aa957',1,'core_mqtt_serializer.h']]], - ['mqttnomemory_118',['MQTTNoMemory',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735cab1be4db832a0468f024243bca151a8df',1,'core_mqtt_serializer.h']]], - ['mqttnotconnected_119',['MQTTNotConnected',['../group__mqtt__enum__types.html#gga9f84d003695205cf10a7bd0bafb3dbf6a0320177ebf1f1b2e24646b44702cec69',1,'core_mqtt.h']]], - ['mqttpacketinfo_5ft_120',['MQTTPacketInfo_t',['../struct_m_q_t_t_packet_info__t.html',1,'']]], - ['mqttpuback_121',['MQTTPuback',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a53d5939c680962f37c15ee87ffd63d0f',1,'core_mqtt.h']]], - ['mqttpubackinfo_5ft_122',['MQTTPubAckInfo_t',['../struct_m_q_t_t_pub_ack_info__t.html',1,'']]], - ['mqttpubackpending_123',['MQTTPubAckPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94ab086c55acf106cdc8d420f90899b6803',1,'core_mqtt.h']]], - ['mqttpubacksend_124',['MQTTPubAckSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a65f6f7b343a30fc0558e3aeeb8c97f35',1,'core_mqtt.h']]], - ['mqttpubacktype_5ft_125',['MQTTPubAckType_t',['../group__mqtt__enum__types.html#ga8c1bee959b3ed5fab2a2688dd72bf237',1,'core_mqtt.h']]], - ['mqttpubcomp_126',['MQTTPubcomp',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a910c34311ad6a2341afc04839e1c13bd',1,'core_mqtt.h']]], - ['mqttpubcomppending_127',['MQTTPubCompPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a3281a28d1829d954b596f091b547b627',1,'core_mqtt.h']]], - ['mqttpubcompsend_128',['MQTTPubCompSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a7d88904d550b502b4424a41aa4205e56',1,'core_mqtt.h']]], - ['mqttpublishdone_129',['MQTTPublishDone',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94ad07733793a235ef9a6a04d16637cd7dc',1,'core_mqtt.h']]], - ['mqttpublishinfo_5ft_130',['MQTTPublishInfo_t',['../struct_m_q_t_t_publish_info__t.html',1,'']]], - ['mqttpublishsend_131',['MQTTPublishSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a896b1507647b504c9208580e4cde26ad',1,'core_mqtt.h']]], - ['mqttpublishstate_5ft_132',['MQTTPublishState_t',['../group__mqtt__enum__types.html#ga0480de7552eedd739a26a23fa8e6fd94',1,'core_mqtt.h']]], - ['mqttpubrec_133',['MQTTPubrec',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a8c98d5d1a68dda33d9039009ab4ef053',1,'core_mqtt.h']]], - ['mqttpubrecpending_134',['MQTTPubRecPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a1bea59454700be9b683b7eb8aaf6bb4f',1,'core_mqtt.h']]], - ['mqttpubrecsend_135',['MQTTPubRecSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a11e2319a2b25b82121471743d39761e1',1,'core_mqtt.h']]], - ['mqttpubrel_136',['MQTTPubrel',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237af2d737088a231c88e7603acfdbc4fc8c',1,'core_mqtt.h']]], - ['mqttpubrelpending_137',['MQTTPubRelPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a695431cde1dc9dc5a2dcbd10eba49df2',1,'core_mqtt.h']]], - ['mqttpubrelsend_138',['MQTTPubRelSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a5d2ee2709c6dc7a1eb8b9c40f318909b',1,'core_mqtt.h']]], - ['mqttqos0_139',['MQTTQoS0',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aaad51b23a1ae1417f96d8f343c788d1d2',1,'core_mqtt_serializer.h']]], - ['mqttqos1_140',['MQTTQoS1',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa019d0b8a8cfadb6f98462b046bdacbb2',1,'core_mqtt_serializer.h']]], - ['mqttqos2_141',['MQTTQoS2',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa85e04ac0465cbdef6dd69ff71b2bbfbb',1,'core_mqtt_serializer.h']]], - ['mqttqos_5ft_142',['MQTTQoS_t',['../group__mqtt__enum__types.html#gae308a5928d7f537379c29a894228093a',1,'core_mqtt_serializer.h']]], - ['mqttrecvfailed_143',['MQTTRecvFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa14bc8aa4ad218702d782366945d43ac',1,'core_mqtt_serializer.h']]], - ['mqttsendfailed_144',['MQTTSendFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735cafd06b63fe9677fa2af06b0f4c7d4ad55',1,'core_mqtt_serializer.h']]], - ['mqttserverrefused_145',['MQTTServerRefused',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca25a3d1747e308e99daa805fe576f84b9',1,'core_mqtt_serializer.h']]], - ['mqttstatecollision_146',['MQTTStateCollision',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca8d05b92240dea6df08eab5a9e3799c11',1,'core_mqtt_serializer.h']]], - ['mqttstatecursor_5ft_147',['MQTTStateCursor_t',['../group__mqtt__basic__types.html#ga2ca7d486d83fe555953a8c7876ee0d6e',1,'core_mqtt_state.h']]], - ['mqttstatenull_148',['MQTTStateNull',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a8349567b7a9efb3913a64a8f4f6fe5c9',1,'core_mqtt.h']]], - ['mqttstatus_5ft_149',['MQTTStatus_t',['../group__mqtt__enum__types.html#gaba7ec045874a1c3432f99173367f735c',1,'core_mqtt_serializer.h']]], - ['mqttstatusconnected_150',['MQTTStatusConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa13a678a441c9ef6b88d6d8be8a64090',1,'core_mqtt_serializer.h']]], - ['mqttstatusdisconnectpending_151',['MQTTStatusDisconnectPending',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863',1,'core_mqtt_serializer.h']]], - ['mqttstatusnotconnected_152',['MQTTStatusNotConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca074273b04f70b93c1f20702096cac273',1,'core_mqtt_serializer.h']]], - ['mqttsubackfailure_153',['MQTTSubAckFailure',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611aeb83b20da8eda934cde6b92db225a808',1,'core_mqtt.h']]], - ['mqttsubackstatus_5ft_154',['MQTTSubAckStatus_t',['../group__mqtt__enum__types.html#ga48dabc1579e3c0ac6058ce9068054611',1,'core_mqtt.h']]], - ['mqttsubacksuccessqos0_155',['MQTTSubAckSuccessQos0',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611abcc3040d7d53025baee3542c40758abb',1,'core_mqtt.h']]], - ['mqttsubacksuccessqos1_156',['MQTTSubAckSuccessQos1',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611ab180361a6da712c8144d8c499537787d',1,'core_mqtt.h']]], - ['mqttsubacksuccessqos2_157',['MQTTSubAckSuccessQos2',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611a877b2afbc6ec7d9ab57d4862caadf4f1',1,'core_mqtt.h']]], - ['mqttsubscribeinfo_5ft_158',['MQTTSubscribeInfo_t',['../struct_m_q_t_t_subscribe_info__t.html',1,'']]], - ['mqttsubscriptiontype_5ft_159',['MQTTSubscriptionType_t',['../core__mqtt__serializer_8c.html#a92e39b92b76d439a183fc6f5e300195f',1,'core_mqtt_serializer.c']]], - ['mqttsuccess_160',['MQTTSuccess',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca484e062cb4f3fccc1858dd25cfeee056',1,'core_mqtt_serializer.h']]] + ['mqtt_5fgetbytesinmqttvec_21',['MQTT_GetBytesInMQTTVec',['../core__mqtt_8h.html#af15463f575fbbcc76bf1f27f9b0a02b0',1,'MQTT_GetBytesInMQTTVec(MQTTVec_t *pVec): core_mqtt.c'],['../core__mqtt_8c.html#af15463f575fbbcc76bf1f27f9b0a02b0',1,'MQTT_GetBytesInMQTTVec(MQTTVec_t *pVec): core_mqtt.c']]], + ['mqtt_5fgetconnectpacketsize_22',['MQTT_GetConnectPacketSize',['../core__mqtt__serializer_8h.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getconnectpacketsize_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetdisconnectpacketsize_23',['MQTT_GetDisconnectPacketSize',['../core__mqtt__serializer_8h.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getdisconnectpacketsize_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetincomingpackettypeandlength_24',['MQTT_GetIncomingPacketTypeAndLength',['../core__mqtt__serializer_8h.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../mqtt_getincomingpackettypeandlength_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetpacketid_25',['MQTT_GetPacketId',['../core__mqtt_8h.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_getpacketid_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetpingreqpacketsize_26',['MQTT_GetPingreqPacketSize',['../core__mqtt__serializer_8h.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getpingreqpacketsize_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetpublishpacketsize_27',['MQTT_GetPublishPacketSize',['../core__mqtt__serializer_8h.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getpublishpacketsize_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetsubackstatuscodes_28',['MQTT_GetSubAckStatusCodes',['../core__mqtt_8h.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c'],['../core__mqtt_8c.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c'],['../mqtt_getsubackstatuscodes_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetsubscribepacketsize_29',['MQTT_GetSubscribePacketSize',['../core__mqtt__serializer_8h.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getsubscribepacketsize_function.html',1,'mqtt_functions']]], + ['mqtt_5fgetunsubscribepacketsize_30',['MQTT_GetUnsubscribePacketSize',['../core__mqtt__serializer_8c.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../mqtt_getunsubscribepacketsize_function.html',1,'mqtt_functions']]], + ['mqtt_5finit_31',['MQTT_Init',['../core__mqtt_8h.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c'],['../core__mqtt_8c.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c'],['../mqtt_init_function.html',1,'mqtt_functions']]], + ['mqtt_5finitretransmits_32',['MQTT_InitRetransmits',['../core__mqtt_8c.html#af2d6f94bf234a888541919195002a13f',1,'MQTT_InitRetransmits(MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction): core_mqtt.c'],['../core__mqtt_8h.html#af2d6f94bf234a888541919195002a13f',1,'MQTT_InitRetransmits(MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction): core_mqtt.c']]], + ['mqtt_5finitstatefulqos_33',['MQTT_InitStatefulQoS',['../core__mqtt_8c.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c'],['../core__mqtt_8h.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c']]], + ['mqtt_5finvalid_5fstate_5fcount_34',['MQTT_INVALID_STATE_COUNT',['../core__mqtt__state_8c.html#a49d2236ebe2b3d27e82e54a7b9e74984',1,'core_mqtt_state.c']]], + ['mqtt_5fmatchtopic_35',['MQTT_MatchTopic',['../core__mqtt_8c.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c'],['../core__mqtt_8h.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c']]], + ['mqtt_5fmax_5fconnack_5freceive_5fretry_5fcount_36',['MQTT_MAX_CONNACK_RECEIVE_RETRY_COUNT',['../core__mqtt__config__defaults_8h.html#a8ca6c96436d5e7c2c8a7933fb28a5c87',1,'core_mqtt_config_defaults.h']]], + ['mqtt_5fmax_5fremaining_5flength_37',['MQTT_MAX_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#a9d9ea40a1ff486557a553523a0743647',1,'core_mqtt_serializer.c']]], + ['mqtt_5fmin_5fpublish_5fremaining_5flength_5fqos0_38',['MQTT_MIN_PUBLISH_REMAINING_LENGTH_QOS0',['../core__mqtt__serializer_8c.html#a3b8709529a24bc195c7310183ffbcc2b',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpacket_5fconnack_5fremaining_5flength_39',['MQTT_PACKET_CONNACK_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#a999c4ebc0d629df9b08a3c88107b5b80',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpacket_5fconnack_5fsession_5fpresent_5fmask_40',['MQTT_PACKET_CONNACK_SESSION_PRESENT_MASK',['../core__mqtt__serializer_8c.html#aab69dd14c12f8086245c2371288944f0',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpacket_5fconnect_5fheader_5fsize_41',['MQTT_PACKET_CONNECT_HEADER_SIZE',['../core__mqtt__serializer_8c.html#aa7c310cb084af0025c356ed844ae443d',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpacket_5fid_5finvalid_42',['MQTT_PACKET_ID_INVALID',['../group__mqtt__constants.html#ga9fde6503edb9eaad50ecd3392ab9992a',1,'core_mqtt.h']]], + ['mqtt_5fpacket_5fpingreq_5fsize_43',['MQTT_PACKET_PINGREQ_SIZE',['../core__mqtt__serializer_8c.html#a6e8a49d0d88f0b038a5379d533858103',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpacket_5fpingresp_5fremaining_5flength_44',['MQTT_PACKET_PINGRESP_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#aeab5c92e86ed98750cbf6422b8b57c06',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpacket_5fsimple_5fack_5fremaining_5flength_45',['MQTT_PACKET_SIMPLE_ACK_REMAINING_LENGTH',['../core__mqtt__serializer_8c.html#a4c576df64bca769a91cb64d5d5d86505',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpacket_5ftype_5fconnack_46',['MQTT_PACKET_TYPE_CONNACK',['../group__mqtt__constants.html#gab14f6c39c303eac1a76816edfde7feab',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fconnect_47',['MQTT_PACKET_TYPE_CONNECT',['../group__mqtt__constants.html#ga64a0515bda2ecc89e97595535e1cf0ef',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fdisconnect_48',['MQTT_PACKET_TYPE_DISCONNECT',['../group__mqtt__constants.html#gaed07155a3d6fa4b7624b9f36ed33ec6d',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fpingreq_49',['MQTT_PACKET_TYPE_PINGREQ',['../group__mqtt__constants.html#gacbe28c7d081275d1805c2142ff792185',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fpingresp_50',['MQTT_PACKET_TYPE_PINGRESP',['../group__mqtt__constants.html#ga285fc02048e2482794042fa98639e514',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fpuback_51',['MQTT_PACKET_TYPE_PUBACK',['../group__mqtt__constants.html#ga5f279d63de47a973b41b95f74f47a4f6',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fpubcomp_52',['MQTT_PACKET_TYPE_PUBCOMP',['../group__mqtt__constants.html#ga478ecbc98d2ca83d4ce7db33622b5c3b',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fpublish_53',['MQTT_PACKET_TYPE_PUBLISH',['../group__mqtt__constants.html#ga5b2d79c61f2591c8e5772f974826d4ad',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fpubrec_54',['MQTT_PACKET_TYPE_PUBREC',['../group__mqtt__constants.html#gafa2d8f28da39560f152076b99610e6a3',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fpubrel_55',['MQTT_PACKET_TYPE_PUBREL',['../group__mqtt__constants.html#gaeaa2ceecffda50e2d22ccecf046083c6',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fsuback_56',['MQTT_PACKET_TYPE_SUBACK',['../group__mqtt__constants.html#ga307e0186aa17fdd0d6d181d3d2715766',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5fsubscribe_57',['MQTT_PACKET_TYPE_SUBSCRIBE',['../group__mqtt__constants.html#ga80cfef333e60d967ca927b2e5e665f18',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5funsuback_58',['MQTT_PACKET_TYPE_UNSUBACK',['../group__mqtt__constants.html#ga38bc8ed0b9a1581cf85cecdede7d1a64',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpacket_5ftype_5funsubscribe_59',['MQTT_PACKET_TYPE_UNSUBSCRIBE',['../group__mqtt__constants.html#ga4a94c954cfcea31c8fc3e2adf092b228',1,'core_mqtt_serializer.h']]], + ['mqtt_5fping_60',['MQTT_Ping',['../core__mqtt_8c.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8h.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_ping_function.html',1,'mqtt_functions']]], + ['mqtt_5fpingresp_5ftimeout_5fms_61',['MQTT_PINGRESP_TIMEOUT_MS',['../core__mqtt__config__defaults_8h.html#afa825fddb52da7df88fb56d2befcd2fa',1,'core_mqtt_config_defaults.h']]], + ['mqtt_5fpost_5fsend_5fhook_62',['MQTT_POST_SEND_HOOK',['../core__mqtt_8c.html#a205b7112b6bb0697f85b9e25512c67be',1,'core_mqtt.c']]], + ['mqtt_5fpost_5fstate_5fupdate_5fhook_63',['MQTT_POST_STATE_UPDATE_HOOK',['../core__mqtt_8c.html#a436983fba04e3d13cabea35efc4e9bf8',1,'core_mqtt.c']]], + ['mqtt_5fpre_5fsend_5fhook_64',['MQTT_PRE_SEND_HOOK',['../core__mqtt_8c.html#a18f9369f0d6d553db6d1af1bd7156545',1,'core_mqtt.c']]], + ['mqtt_5fpre_5fstate_5fupdate_5fhook_65',['MQTT_PRE_STATE_UPDATE_HOOK',['../core__mqtt_8c.html#acba4b6e51723d384aa9140313effdf8b',1,'core_mqtt.c']]], + ['mqtt_5fprocessincomingpackettypeandlength_66',['MQTT_ProcessIncomingPacketTypeAndLength',['../core__mqtt__serializer_8c.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c']]], + ['mqtt_5fprocessloop_67',['MQTT_ProcessLoop',['../core__mqtt_8h.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_processloop_function.html',1,'mqtt_functions']]], + ['mqtt_5fpublish_68',['MQTT_Publish',['../core__mqtt_8h.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c'],['../mqtt_publish_function.html',1,'mqtt_functions']]], + ['mqtt_5fpublish_5fack_5fpacket_5fsize_69',['MQTT_PUBLISH_ACK_PACKET_SIZE',['../group__mqtt__constants.html#ga26994fcfacb1cff892caa45ec31ca7c6',1,'core_mqtt_serializer.h']]], + ['mqtt_5fpublish_5fflag_5fdup_70',['MQTT_PUBLISH_FLAG_DUP',['../core__mqtt__serializer_8c.html#a57c437ecc3720de76093b08eb0d4f813',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpublish_5fflag_5fqos1_71',['MQTT_PUBLISH_FLAG_QOS1',['../core__mqtt__serializer_8c.html#ac23212835606fade167fb5ce25eaf103',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpublish_5fflag_5fqos2_72',['MQTT_PUBLISH_FLAG_QOS2',['../core__mqtt__serializer_8c.html#afe1d2a0b7c0803f5a20ebb3c7a607d65',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpublish_5fflag_5fretain_73',['MQTT_PUBLISH_FLAG_RETAIN',['../core__mqtt__serializer_8c.html#a3d04b1e1ad7ec25d18fd13726e164f06',1,'core_mqtt_serializer.c']]], + ['mqtt_5fpublishtoresend_74',['MQTT_PublishToResend',['../core__mqtt__state_8c.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c'],['../core__mqtt__state_8h.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c'],['../mqtt_publishtoresend_function.html',1,'mqtt_functions']]], + ['mqtt_5fpubreltoresend_75',['MQTT_PubrelToResend',['../core__mqtt__state_8c.html#ae58ade262ec01262687554b349b2fdf5',1,'core_mqtt_state.c']]], + ['mqtt_5freceiveloop_76',['MQTT_ReceiveLoop',['../core__mqtt_8c.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8h.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c'],['../mqtt_receiveloop_function.html',1,'mqtt_functions']]], + ['mqtt_5frecv_5fpolling_5ftimeout_5fms_77',['MQTT_RECV_POLLING_TIMEOUT_MS',['../core__mqtt__config__defaults_8h.html#a43dc9a67427d9e420a65955eea0e2671',1,'core_mqtt_config_defaults.h']]], + ['mqtt_5fremaining_5flength_5finvalid_78',['MQTT_REMAINING_LENGTH_INVALID',['../core__mqtt__serializer_8c.html#a6f6b43661df6f9e9e9e7123ab01e9eb5',1,'core_mqtt_serializer.c']]], + ['mqtt_5fremovestaterecord_79',['MQTT_RemoveStateRecord',['../core__mqtt__state_8c.html#aef2c13cffbbd5c71183282e69ac9d799',1,'core_mqtt_state.c']]], + ['mqtt_5freservestate_80',['MQTT_ReserveState',['../core__mqtt__state_8c.html#a43bc5d82716e1d8b6e167ec0fe50de5d',1,'core_mqtt_state.c']]], + ['mqtt_5fsend_5ftimeout_5fms_81',['MQTT_SEND_TIMEOUT_MS',['../core__mqtt__config__defaults_8h.html#ac262cab68c4c713ebc2b91a2e4ab8b19',1,'core_mqtt_config_defaults.h']]], + ['mqtt_5fserializeack_82',['MQTT_SerializeAck',['../core__mqtt__serializer_8h.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c'],['../mqtt_serializeack_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializeconnect_83',['MQTT_SerializeConnect',['../core__mqtt__serializer_8c.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializeconnect_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializeconnectfixedheader_84',['MQTT_SerializeConnectFixedHeader',['../core__mqtt__serializer_8c.html#a5e6043289c05db1cdb7e33e0921247a0',1,'core_mqtt_serializer.c']]], + ['mqtt_5fserializedisconnect_85',['MQTT_SerializeDisconnect',['../core__mqtt__serializer_8c.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializedisconnect_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializemqttvec_86',['MQTT_SerializeMQTTVec',['../core__mqtt_8c.html#a1b2e56ed1c0a328d86062857e695d673',1,'MQTT_SerializeMQTTVec(uint8_t *pAllocatedMem, MQTTVec_t *pVec): core_mqtt.c'],['../core__mqtt_8h.html#a1b2e56ed1c0a328d86062857e695d673',1,'MQTT_SerializeMQTTVec(uint8_t *pAllocatedMem, MQTTVec_t *pVec): core_mqtt.c']]], + ['mqtt_5fserializepingreq_87',['MQTT_SerializePingreq',['../core__mqtt__serializer_8c.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializepingreq_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializepublish_88',['MQTT_SerializePublish',['../core__mqtt__serializer_8c.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializepublish_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializepublishheader_89',['MQTT_SerializePublishHeader',['../core__mqtt__serializer_8c.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c'],['../mqtt_serializepublishheader_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializepublishheaderwithouttopic_90',['MQTT_SerializePublishHeaderWithoutTopic',['../core__mqtt__serializer_8h.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c']]], + ['mqtt_5fserializesubscribe_91',['MQTT_SerializeSubscribe',['../core__mqtt__serializer_8h.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializesubscribe_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializesubscribeheader_92',['MQTT_SerializeSubscribeHeader',['../core__mqtt__serializer_8c.html#a6fe31953d7b8dacb769adcf4c2719730',1,'core_mqtt_serializer.c']]], + ['mqtt_5fserializeunsubscribe_93',['MQTT_SerializeUnsubscribe',['../core__mqtt__serializer_8h.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../mqtt_serializeunsubscribe_function.html',1,'mqtt_functions']]], + ['mqtt_5fserializeunsubscribeheader_94',['MQTT_SerializeUnsubscribeHeader',['../core__mqtt__serializer_8c.html#a5b6f47fa319a444835ffed2d6af04709',1,'core_mqtt_serializer.c']]], + ['mqtt_5fstate_5fcursor_5finitializer_95',['MQTT_STATE_CURSOR_INITIALIZER',['../group__mqtt__constants.html#ga666ad78e7eaaffa51f5cab96201a9476',1,'core_mqtt_state.h']]], + ['mqtt_5fstate_5fstrerror_96',['MQTT_State_strerror',['../core__mqtt__state_8c.html#a53d786203ca4d5d5630a9eb3dd4cddae',1,'core_mqtt_state.c']]], + ['mqtt_5fstatus_5fstrerror_97',['MQTT_Status_strerror',['../core__mqtt_8c.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c'],['../core__mqtt_8h.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c'],['../mqtt_status_strerror_function.html',1,'mqtt_functions']]], + ['mqtt_5fsub_5funsub_5fmax_5fvectors_98',['MQTT_SUB_UNSUB_MAX_VECTORS',['../group__mqtt__constants.html#ga928ea0bff12ebf9cf9fa9dfe5cafebbb',1,'core_mqtt_config_defaults.h']]], + ['mqtt_5fsubscribe_99',['MQTT_Subscribe',['../core__mqtt_8c.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8h.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c']]], + ['mqtt_5fsubscribe_100',['MQTT_SUBSCRIBE',['../core__mqtt__serializer_8c.html#a92e39b92b76d439a183fc6f5e300195fa7dd20d5d68728190c8c1050599b562f7',1,'core_mqtt_serializer.c']]], + ['mqtt_5fsubscribe_101',['MQTT_Subscribe',['../mqtt_subscribe_function.html',1,'mqtt_functions']]], + ['mqtt_5funsubscribe_102',['MQTT_Unsubscribe',['../core__mqtt_8c.html#a77c911dbe24c5a51aaea88250895dba4',1,'core_mqtt.c']]], + ['mqtt_5funsubscribe_103',['MQTT_UNSUBSCRIBE',['../core__mqtt__serializer_8c.html#a92e39b92b76d439a183fc6f5e300195fa94eb5b78f584ff379c799a142b03e7a7',1,'core_mqtt_serializer.c']]], + ['mqtt_5funsubscribe_104',['MQTT_Unsubscribe',['../core__mqtt_8h.html#a77c911dbe24c5a51aaea88250895dba4',1,'MQTT_Unsubscribe(): core_mqtt.c'],['../mqtt_unsubscribe_function.html',1,'mqtt_functions']]], + ['mqtt_5fupdateduplicatepublishflag_105',['MQTT_UpdateDuplicatePublishFlag',['../core__mqtt__serializer_8c.html#a269f0b0e193a7a10a6e392b88768ae94',1,'MQTT_UpdateDuplicatePublishFlag(uint8_t *pHeader, bool set): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a269f0b0e193a7a10a6e392b88768ae94',1,'MQTT_UpdateDuplicatePublishFlag(uint8_t *pHeader, bool set): core_mqtt_serializer.c']]], + ['mqtt_5fupdatestateack_106',['MQTT_UpdateStateAck',['../core__mqtt__state_8c.html#a09a013b709085ffd51faa33c067cce1f',1,'core_mqtt_state.c']]], + ['mqtt_5fupdatestatepublish_107',['MQTT_UpdateStatePublish',['../core__mqtt__state_8c.html#ad657bd67745c66bc50f0441b4cc94763',1,'core_mqtt_state.c']]], + ['mqtt_5fversion_5f3_5f1_5f1_108',['MQTT_VERSION_3_1_1',['../core__mqtt__serializer_8c.html#a7c621dd360dd439f0d6d8dc5d951a619',1,'core_mqtt_serializer.c']]], + ['mqttbadparameter_109',['MQTTBadParameter',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa39030c93b0263b2699502a074f003b5',1,'core_mqtt_serializer.h']]], + ['mqttbadresponse_110',['MQTTBadResponse',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa5d7507e7664a14d63a8bc44b280093e',1,'core_mqtt_serializer.h']]], + ['mqttclearpacketforretransmit_111',['MQTTClearPacketForRetransmit',['../core__mqtt_8h.html#a864718ceee18ff04e9c92fe9825d601b',1,'core_mqtt.h']]], + ['mqttconnected_112',['MQTTConnected',['../group__mqtt__enum__types.html#gga9f84d003695205cf10a7bd0bafb3dbf6a82c8f64d976734e5632e5257bc429ef5',1,'core_mqtt.h']]], + ['mqttconnectinfo_5ft_113',['MQTTConnectInfo_t',['../struct_m_q_t_t_connect_info__t.html',1,'']]], + ['mqttconnectionstatus_5ft_114',['MQTTConnectionStatus_t',['../group__mqtt__enum__types.html#ga9f84d003695205cf10a7bd0bafb3dbf6',1,'core_mqtt.h']]], + ['mqttcontext_5ft_115',['MQTTContext_t',['../struct_m_q_t_t_context__t.html',1,'']]], + ['mqttdeserializedinfo_5ft_116',['MQTTDeserializedInfo_t',['../struct_m_q_t_t_deserialized_info__t.html',1,'']]], + ['mqttdisconnectpending_117',['MQTTDisconnectPending',['../group__mqtt__enum__types.html#gga9f84d003695205cf10a7bd0bafb3dbf6a3c7e17f463f44d8f7ce50475b129ac24',1,'core_mqtt.h']]], + ['mqtteventcallback_5ft_118',['MQTTEventCallback_t',['../group__mqtt__callback__types.html#ga00d348277ed4fde23c95bfc749ae954a',1,'core_mqtt.h']]], + ['mqttfixedbuffer_5ft_119',['MQTTFixedBuffer_t',['../struct_m_q_t_t_fixed_buffer__t.html',1,'']]], + ['mqttgetcurrenttimefunc_5ft_120',['MQTTGetCurrentTimeFunc_t',['../group__mqtt__callback__types.html#gae3bea55b0e49e5208b8c5709a5ea23aa',1,'core_mqtt.h']]], + ['mqttillegalstate_121',['MQTTIllegalState',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca67905d7a05f98faa557a73eb5092bd8f',1,'core_mqtt_serializer.h']]], + ['mqttkeepalivetimeout_122',['MQTTKeepAliveTimeout',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca076ca8965e836a06e707a94adb26144f',1,'core_mqtt_serializer.h']]], + ['mqttneedmorebytes_123',['MQTTNeedMoreBytes',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa97df53014d919df5ecd54398f89f9b9',1,'core_mqtt_serializer.h']]], + ['mqttnodataavailable_124',['MQTTNoDataAvailable',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca676f21c0ddf297ae3ec874bc829aa957',1,'core_mqtt_serializer.h']]], + ['mqttnomemory_125',['MQTTNoMemory',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735cab1be4db832a0468f024243bca151a8df',1,'core_mqtt_serializer.h']]], + ['mqttnotconnected_126',['MQTTNotConnected',['../group__mqtt__enum__types.html#gga9f84d003695205cf10a7bd0bafb3dbf6a0320177ebf1f1b2e24646b44702cec69',1,'core_mqtt.h']]], + ['mqttpacketinfo_5ft_127',['MQTTPacketInfo_t',['../struct_m_q_t_t_packet_info__t.html',1,'']]], + ['mqttpuback_128',['MQTTPuback',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a53d5939c680962f37c15ee87ffd63d0f',1,'core_mqtt.h']]], + ['mqttpubackinfo_5ft_129',['MQTTPubAckInfo_t',['../struct_m_q_t_t_pub_ack_info__t.html',1,'']]], + ['mqttpubackpending_130',['MQTTPubAckPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94ab086c55acf106cdc8d420f90899b6803',1,'core_mqtt.h']]], + ['mqttpubacksend_131',['MQTTPubAckSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a65f6f7b343a30fc0558e3aeeb8c97f35',1,'core_mqtt.h']]], + ['mqttpubacktype_5ft_132',['MQTTPubAckType_t',['../group__mqtt__enum__types.html#ga8c1bee959b3ed5fab2a2688dd72bf237',1,'core_mqtt.h']]], + ['mqttpubcomp_133',['MQTTPubcomp',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a910c34311ad6a2341afc04839e1c13bd',1,'core_mqtt.h']]], + ['mqttpubcomppending_134',['MQTTPubCompPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a3281a28d1829d954b596f091b547b627',1,'core_mqtt.h']]], + ['mqttpubcompsend_135',['MQTTPubCompSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a7d88904d550b502b4424a41aa4205e56',1,'core_mqtt.h']]], + ['mqttpublishdone_136',['MQTTPublishDone',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94ad07733793a235ef9a6a04d16637cd7dc',1,'core_mqtt.h']]], + ['mqttpublishinfo_5ft_137',['MQTTPublishInfo_t',['../struct_m_q_t_t_publish_info__t.html',1,'']]], + ['mqttpublishretrievefailed_138',['MQTTPublishRetrieveFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca274b61e8a2aea2cf551353c6d09a6eb2',1,'core_mqtt_serializer.h']]], + ['mqttpublishsend_139',['MQTTPublishSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a896b1507647b504c9208580e4cde26ad',1,'core_mqtt.h']]], + ['mqttpublishstate_5ft_140',['MQTTPublishState_t',['../group__mqtt__enum__types.html#ga0480de7552eedd739a26a23fa8e6fd94',1,'core_mqtt.h']]], + ['mqttpublishstorefailed_141',['MQTTPublishStoreFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca61a3e19715d8ee1ee330c9bbd4b2708a',1,'core_mqtt_serializer.h']]], + ['mqttpubrec_142',['MQTTPubrec',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a8c98d5d1a68dda33d9039009ab4ef053',1,'core_mqtt.h']]], + ['mqttpubrecpending_143',['MQTTPubRecPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a1bea59454700be9b683b7eb8aaf6bb4f',1,'core_mqtt.h']]], + ['mqttpubrecsend_144',['MQTTPubRecSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a11e2319a2b25b82121471743d39761e1',1,'core_mqtt.h']]], + ['mqttpubrel_145',['MQTTPubrel',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237af2d737088a231c88e7603acfdbc4fc8c',1,'core_mqtt.h']]], + ['mqttpubrelpending_146',['MQTTPubRelPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a695431cde1dc9dc5a2dcbd10eba49df2',1,'core_mqtt.h']]], + ['mqttpubrelsend_147',['MQTTPubRelSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a5d2ee2709c6dc7a1eb8b9c40f318909b',1,'core_mqtt.h']]], + ['mqttqos0_148',['MQTTQoS0',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aaad51b23a1ae1417f96d8f343c788d1d2',1,'core_mqtt_serializer.h']]], + ['mqttqos1_149',['MQTTQoS1',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa019d0b8a8cfadb6f98462b046bdacbb2',1,'core_mqtt_serializer.h']]], + ['mqttqos2_150',['MQTTQoS2',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa85e04ac0465cbdef6dd69ff71b2bbfbb',1,'core_mqtt_serializer.h']]], + ['mqttqos_5ft_151',['MQTTQoS_t',['../group__mqtt__enum__types.html#gae308a5928d7f537379c29a894228093a',1,'core_mqtt_serializer.h']]], + ['mqttrecvfailed_152',['MQTTRecvFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa14bc8aa4ad218702d782366945d43ac',1,'core_mqtt_serializer.h']]], + ['mqttretrievepacketforretransmit_153',['MQTTRetrievePacketForRetransmit',['../core__mqtt_8h.html#a56514a9a33dbf82a5d33afedb54903b6',1,'core_mqtt.h']]], + ['mqttsendfailed_154',['MQTTSendFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735cafd06b63fe9677fa2af06b0f4c7d4ad55',1,'core_mqtt_serializer.h']]], + ['mqttserverrefused_155',['MQTTServerRefused',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca25a3d1747e308e99daa805fe576f84b9',1,'core_mqtt_serializer.h']]], + ['mqttstatecollision_156',['MQTTStateCollision',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca8d05b92240dea6df08eab5a9e3799c11',1,'core_mqtt_serializer.h']]], + ['mqttstatecursor_5ft_157',['MQTTStateCursor_t',['../group__mqtt__basic__types.html#ga2ca7d486d83fe555953a8c7876ee0d6e',1,'core_mqtt_state.h']]], + ['mqttstatenull_158',['MQTTStateNull',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a8349567b7a9efb3913a64a8f4f6fe5c9',1,'core_mqtt.h']]], + ['mqttstatus_5ft_159',['MQTTStatus_t',['../group__mqtt__enum__types.html#gaba7ec045874a1c3432f99173367f735c',1,'core_mqtt_serializer.h']]], + ['mqttstatusconnected_160',['MQTTStatusConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa13a678a441c9ef6b88d6d8be8a64090',1,'core_mqtt_serializer.h']]], + ['mqttstatusdisconnectpending_161',['MQTTStatusDisconnectPending',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863',1,'core_mqtt_serializer.h']]], + ['mqttstatusnotconnected_162',['MQTTStatusNotConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca074273b04f70b93c1f20702096cac273',1,'core_mqtt_serializer.h']]], + ['mqttstorepacketforretransmit_163',['MQTTStorePacketForRetransmit',['../core__mqtt_8h.html#ae4ae1546af467967e2c996daeb78e0ba',1,'core_mqtt.h']]], + ['mqttsubackfailure_164',['MQTTSubAckFailure',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611aeb83b20da8eda934cde6b92db225a808',1,'core_mqtt.h']]], + ['mqttsubackstatus_5ft_165',['MQTTSubAckStatus_t',['../group__mqtt__enum__types.html#ga48dabc1579e3c0ac6058ce9068054611',1,'core_mqtt.h']]], + ['mqttsubacksuccessqos0_166',['MQTTSubAckSuccessQos0',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611abcc3040d7d53025baee3542c40758abb',1,'core_mqtt.h']]], + ['mqttsubacksuccessqos1_167',['MQTTSubAckSuccessQos1',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611ab180361a6da712c8144d8c499537787d',1,'core_mqtt.h']]], + ['mqttsubacksuccessqos2_168',['MQTTSubAckSuccessQos2',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611a877b2afbc6ec7d9ab57d4862caadf4f1',1,'core_mqtt.h']]], + ['mqttsubscribeinfo_5ft_169',['MQTTSubscribeInfo_t',['../struct_m_q_t_t_subscribe_info__t.html',1,'']]], + ['mqttsubscriptiontype_5ft_170',['MQTTSubscriptionType_t',['../core__mqtt__serializer_8c.html#a92e39b92b76d439a183fc6f5e300195f',1,'core_mqtt_serializer.c']]], + ['mqttsuccess_171',['MQTTSuccess',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca484e062cb4f3fccc1858dd25cfeee056',1,'core_mqtt_serializer.h']]], + ['mqttvec_172',['MQTTVec',['../struct_m_q_t_t_vec.html',1,'']]] ]; diff --git a/main/search/all_e.js b/main/search/all_e.js index b91e420b5..fff6a30c5 100644 --- a/main/search/all_e.js +++ b/main/search/all_e.js @@ -21,5 +21,6 @@ var searchData= ['ptopicfilter_18',['pTopicFilter',['../struct_m_q_t_t_subscribe_info__t.html#adb0b28240fdcd82a85f11cf2f8b5bbf0',1,'MQTTSubscribeInfo_t']]], ['ptopicname_19',['pTopicName',['../struct_m_q_t_t_publish_info__t.html#aa80e8ca282d01630f878ad0afe81d7a4',1,'MQTTPublishInfo_t']]], ['publishstate_20',['publishState',['../struct_m_q_t_t_pub_ack_info__t.html#a61314203ef87a231c6489c68b579de34',1,'MQTTPubAckInfo_t']]], - ['pusername_21',['pUserName',['../struct_m_q_t_t_connect_info__t.html#a1118d7d3251a11445318557280db53b4',1,'MQTTConnectInfo_t']]] + ['pusername_21',['pUserName',['../struct_m_q_t_t_connect_info__t.html#a1118d7d3251a11445318557280db53b4',1,'MQTTConnectInfo_t']]], + ['pvector_22',['pVector',['../struct_m_q_t_t_vec.html#a35ba714afe80db56d4346949ce635a5f',1,'MQTTVec']]] ]; diff --git a/main/search/classes_0.js b/main/search/classes_0.js index 3abaafa43..e470aba06 100644 --- a/main/search/classes_0.js +++ b/main/search/classes_0.js @@ -7,5 +7,6 @@ var searchData= ['mqttpacketinfo_5ft_4',['MQTTPacketInfo_t',['../struct_m_q_t_t_packet_info__t.html',1,'']]], ['mqttpubackinfo_5ft_5',['MQTTPubAckInfo_t',['../struct_m_q_t_t_pub_ack_info__t.html',1,'']]], ['mqttpublishinfo_5ft_6',['MQTTPublishInfo_t',['../struct_m_q_t_t_publish_info__t.html',1,'']]], - ['mqttsubscribeinfo_5ft_7',['MQTTSubscribeInfo_t',['../struct_m_q_t_t_subscribe_info__t.html',1,'']]] + ['mqttsubscribeinfo_5ft_7',['MQTTSubscribeInfo_t',['../struct_m_q_t_t_subscribe_info__t.html',1,'']]], + ['mqttvec_8',['MQTTVec',['../struct_m_q_t_t_vec.html',1,'']]] ]; diff --git a/main/search/defines_4.js b/main/search/defines_4.js index bec633d16..4629920de 100644 --- a/main/search/defines_4.js +++ b/main/search/defines_4.js @@ -7,5 +7,6 @@ var searchData= ['uint16_5flow_5fbyte_4',['UINT16_LOW_BYTE',['../core__mqtt__serializer_8c.html#af2ae35b27e0140a77238cd175508cb4e',1,'core_mqtt_serializer.c']]], ['uint16_5fset_5fbit_5',['UINT16_SET_BIT',['../core__mqtt__state_8c.html#acd96521b31682b7d93de544704fd9594',1,'core_mqtt_state.c']]], ['uint8_5fcheck_5fbit_6',['UINT8_CHECK_BIT',['../core__mqtt__serializer_8c.html#a07cc5f3f934e1ebf8011a6c15a667206',1,'core_mqtt_serializer.c']]], - ['uint8_5fset_5fbit_7',['UINT8_SET_BIT',['../core__mqtt__serializer_8c.html#af259c91b3075c24df53fa3ffe516b208',1,'core_mqtt_serializer.c']]] + ['uint8_5fclear_5fbit_7',['UINT8_CLEAR_BIT',['../core__mqtt__serializer_8c.html#a549d24726d8ff1b4b32a6cb48654ad90',1,'core_mqtt_serializer.c']]], + ['uint8_5fset_5fbit_8',['UINT8_SET_BIT',['../core__mqtt__serializer_8c.html#af259c91b3075c24df53fa3ffe516b208',1,'core_mqtt_serializer.c']]] ]; diff --git a/main/search/enumvalues_0.js b/main/search/enumvalues_0.js index 0ad48785d..5d3a5ee24 100644 --- a/main/search/enumvalues_0.js +++ b/main/search/enumvalues_0.js @@ -19,27 +19,29 @@ var searchData= ['mqttpubcomppending_16',['MQTTPubCompPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a3281a28d1829d954b596f091b547b627',1,'core_mqtt.h']]], ['mqttpubcompsend_17',['MQTTPubCompSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a7d88904d550b502b4424a41aa4205e56',1,'core_mqtt.h']]], ['mqttpublishdone_18',['MQTTPublishDone',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94ad07733793a235ef9a6a04d16637cd7dc',1,'core_mqtt.h']]], - ['mqttpublishsend_19',['MQTTPublishSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a896b1507647b504c9208580e4cde26ad',1,'core_mqtt.h']]], - ['mqttpubrec_20',['MQTTPubrec',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a8c98d5d1a68dda33d9039009ab4ef053',1,'core_mqtt.h']]], - ['mqttpubrecpending_21',['MQTTPubRecPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a1bea59454700be9b683b7eb8aaf6bb4f',1,'core_mqtt.h']]], - ['mqttpubrecsend_22',['MQTTPubRecSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a11e2319a2b25b82121471743d39761e1',1,'core_mqtt.h']]], - ['mqttpubrel_23',['MQTTPubrel',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237af2d737088a231c88e7603acfdbc4fc8c',1,'core_mqtt.h']]], - ['mqttpubrelpending_24',['MQTTPubRelPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a695431cde1dc9dc5a2dcbd10eba49df2',1,'core_mqtt.h']]], - ['mqttpubrelsend_25',['MQTTPubRelSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a5d2ee2709c6dc7a1eb8b9c40f318909b',1,'core_mqtt.h']]], - ['mqttqos0_26',['MQTTQoS0',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aaad51b23a1ae1417f96d8f343c788d1d2',1,'core_mqtt_serializer.h']]], - ['mqttqos1_27',['MQTTQoS1',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa019d0b8a8cfadb6f98462b046bdacbb2',1,'core_mqtt_serializer.h']]], - ['mqttqos2_28',['MQTTQoS2',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa85e04ac0465cbdef6dd69ff71b2bbfbb',1,'core_mqtt_serializer.h']]], - ['mqttrecvfailed_29',['MQTTRecvFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa14bc8aa4ad218702d782366945d43ac',1,'core_mqtt_serializer.h']]], - ['mqttsendfailed_30',['MQTTSendFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735cafd06b63fe9677fa2af06b0f4c7d4ad55',1,'core_mqtt_serializer.h']]], - ['mqttserverrefused_31',['MQTTServerRefused',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca25a3d1747e308e99daa805fe576f84b9',1,'core_mqtt_serializer.h']]], - ['mqttstatecollision_32',['MQTTStateCollision',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca8d05b92240dea6df08eab5a9e3799c11',1,'core_mqtt_serializer.h']]], - ['mqttstatenull_33',['MQTTStateNull',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a8349567b7a9efb3913a64a8f4f6fe5c9',1,'core_mqtt.h']]], - ['mqttstatusconnected_34',['MQTTStatusConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa13a678a441c9ef6b88d6d8be8a64090',1,'core_mqtt_serializer.h']]], - ['mqttstatusdisconnectpending_35',['MQTTStatusDisconnectPending',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863',1,'core_mqtt_serializer.h']]], - ['mqttstatusnotconnected_36',['MQTTStatusNotConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca074273b04f70b93c1f20702096cac273',1,'core_mqtt_serializer.h']]], - ['mqttsubackfailure_37',['MQTTSubAckFailure',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611aeb83b20da8eda934cde6b92db225a808',1,'core_mqtt.h']]], - ['mqttsubacksuccessqos0_38',['MQTTSubAckSuccessQos0',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611abcc3040d7d53025baee3542c40758abb',1,'core_mqtt.h']]], - ['mqttsubacksuccessqos1_39',['MQTTSubAckSuccessQos1',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611ab180361a6da712c8144d8c499537787d',1,'core_mqtt.h']]], - ['mqttsubacksuccessqos2_40',['MQTTSubAckSuccessQos2',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611a877b2afbc6ec7d9ab57d4862caadf4f1',1,'core_mqtt.h']]], - ['mqttsuccess_41',['MQTTSuccess',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca484e062cb4f3fccc1858dd25cfeee056',1,'core_mqtt_serializer.h']]] + ['mqttpublishretrievefailed_19',['MQTTPublishRetrieveFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca274b61e8a2aea2cf551353c6d09a6eb2',1,'core_mqtt_serializer.h']]], + ['mqttpublishsend_20',['MQTTPublishSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a896b1507647b504c9208580e4cde26ad',1,'core_mqtt.h']]], + ['mqttpublishstorefailed_21',['MQTTPublishStoreFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca61a3e19715d8ee1ee330c9bbd4b2708a',1,'core_mqtt_serializer.h']]], + ['mqttpubrec_22',['MQTTPubrec',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237a8c98d5d1a68dda33d9039009ab4ef053',1,'core_mqtt.h']]], + ['mqttpubrecpending_23',['MQTTPubRecPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a1bea59454700be9b683b7eb8aaf6bb4f',1,'core_mqtt.h']]], + ['mqttpubrecsend_24',['MQTTPubRecSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a11e2319a2b25b82121471743d39761e1',1,'core_mqtt.h']]], + ['mqttpubrel_25',['MQTTPubrel',['../group__mqtt__enum__types.html#gga8c1bee959b3ed5fab2a2688dd72bf237af2d737088a231c88e7603acfdbc4fc8c',1,'core_mqtt.h']]], + ['mqttpubrelpending_26',['MQTTPubRelPending',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a695431cde1dc9dc5a2dcbd10eba49df2',1,'core_mqtt.h']]], + ['mqttpubrelsend_27',['MQTTPubRelSend',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a5d2ee2709c6dc7a1eb8b9c40f318909b',1,'core_mqtt.h']]], + ['mqttqos0_28',['MQTTQoS0',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aaad51b23a1ae1417f96d8f343c788d1d2',1,'core_mqtt_serializer.h']]], + ['mqttqos1_29',['MQTTQoS1',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa019d0b8a8cfadb6f98462b046bdacbb2',1,'core_mqtt_serializer.h']]], + ['mqttqos2_30',['MQTTQoS2',['../group__mqtt__enum__types.html#ggae308a5928d7f537379c29a894228093aa85e04ac0465cbdef6dd69ff71b2bbfbb',1,'core_mqtt_serializer.h']]], + ['mqttrecvfailed_31',['MQTTRecvFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa14bc8aa4ad218702d782366945d43ac',1,'core_mqtt_serializer.h']]], + ['mqttsendfailed_32',['MQTTSendFailed',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735cafd06b63fe9677fa2af06b0f4c7d4ad55',1,'core_mqtt_serializer.h']]], + ['mqttserverrefused_33',['MQTTServerRefused',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca25a3d1747e308e99daa805fe576f84b9',1,'core_mqtt_serializer.h']]], + ['mqttstatecollision_34',['MQTTStateCollision',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca8d05b92240dea6df08eab5a9e3799c11',1,'core_mqtt_serializer.h']]], + ['mqttstatenull_35',['MQTTStateNull',['../group__mqtt__enum__types.html#gga0480de7552eedd739a26a23fa8e6fd94a8349567b7a9efb3913a64a8f4f6fe5c9',1,'core_mqtt.h']]], + ['mqttstatusconnected_36',['MQTTStatusConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735caa13a678a441c9ef6b88d6d8be8a64090',1,'core_mqtt_serializer.h']]], + ['mqttstatusdisconnectpending_37',['MQTTStatusDisconnectPending',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca230baa3eaabf50e6b319f792a82bb863',1,'core_mqtt_serializer.h']]], + ['mqttstatusnotconnected_38',['MQTTStatusNotConnected',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca074273b04f70b93c1f20702096cac273',1,'core_mqtt_serializer.h']]], + ['mqttsubackfailure_39',['MQTTSubAckFailure',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611aeb83b20da8eda934cde6b92db225a808',1,'core_mqtt.h']]], + ['mqttsubacksuccessqos0_40',['MQTTSubAckSuccessQos0',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611abcc3040d7d53025baee3542c40758abb',1,'core_mqtt.h']]], + ['mqttsubacksuccessqos1_41',['MQTTSubAckSuccessQos1',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611ab180361a6da712c8144d8c499537787d',1,'core_mqtt.h']]], + ['mqttsubacksuccessqos2_42',['MQTTSubAckSuccessQos2',['../group__mqtt__enum__types.html#gga48dabc1579e3c0ac6058ce9068054611a877b2afbc6ec7d9ab57d4862caadf4f1',1,'core_mqtt.h']]], + ['mqttsuccess_43',['MQTTSuccess',['../group__mqtt__enum__types.html#ggaba7ec045874a1c3432f99173367f735ca484e062cb4f3fccc1858dd25cfeee056',1,'core_mqtt_serializer.h']]] ]; diff --git a/main/search/functions_6.js b/main/search/functions_6.js index 4d5d1e063..f16963ea0 100644 --- a/main/search/functions_6.js +++ b/main/search/functions_6.js @@ -1,6 +1,6 @@ var searchData= [ - ['handlecleansession_0',['handleCleanSession',['../core__mqtt_8c.html#aaba646b7d3723b69e8ce62389ba43270',1,'core_mqtt.c']]], + ['handlecleansession_0',['handleCleanSession',['../core__mqtt_8c.html#a91519103b8929035e95a218d54ce1407',1,'core_mqtt.c']]], ['handleincomingack_1',['handleIncomingAck',['../core__mqtt_8c.html#a264afa489cbfbd96086614d335969115',1,'core_mqtt.c']]], ['handleincomingpublish_2',['handleIncomingPublish',['../core__mqtt_8c.html#a4ac6e6829500c4f522eae413c9470e4d',1,'core_mqtt.c']]], ['handlekeepalive_3',['handleKeepAlive',['../core__mqtt_8c.html#ae0e50de302a1aa66e3c5b2cdcacc4f3f',1,'core_mqtt.c']]], diff --git a/main/search/functions_9.js b/main/search/functions_9.js index f808a4176..fb9900941 100644 --- a/main/search/functions_9.js +++ b/main/search/functions_9.js @@ -9,45 +9,49 @@ var searchData= ['mqtt_5fcheckconnectstatus_6',['MQTT_CheckConnectStatus',['../core__mqtt_8h.html#ad138a95422d22d61538f6ff69db9a784',1,'MQTT_CheckConnectStatus(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#ad138a95422d22d61538f6ff69db9a784',1,'MQTT_CheckConnectStatus(MQTTContext_t *pContext): core_mqtt.c']]], ['mqtt_5fconnect_7',['MQTT_Connect',['../core__mqtt_8h.html#aed1e4dc123a8ba79ac569cb17c69bfa0',1,'MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent): core_mqtt.c'],['../core__mqtt_8c.html#aed1e4dc123a8ba79ac569cb17c69bfa0',1,'MQTT_Connect(MQTTContext_t *pContext, const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, uint32_t timeoutMs, bool *pSessionPresent): core_mqtt.c']]], ['mqtt_5fdeserializeack_8',['MQTT_DeserializeAck',['../core__mqtt__serializer_8h.html#ae9971855df71edf94124116e0625bf18',1,'MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#ae9971855df71edf94124116e0625bf18',1,'MQTT_DeserializeAck(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, bool *pSessionPresent): core_mqtt_serializer.c']]], - ['mqtt_5fdeserializepublish_9',['MQTT_DeserializePublish',['../core__mqtt__serializer_8c.html#a4c2aec031f31d0fe55c1cda46544e95a',1,'MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a4c2aec031f31d0fe55c1cda46544e95a',1,'MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo): core_mqtt_serializer.c']]], + ['mqtt_5fdeserializepublish_9',['MQTT_DeserializePublish',['../core__mqtt__serializer_8h.html#a4c2aec031f31d0fe55c1cda46544e95a',1,'MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a4c2aec031f31d0fe55c1cda46544e95a',1,'MQTT_DeserializePublish(const MQTTPacketInfo_t *pIncomingPacket, uint16_t *pPacketId, MQTTPublishInfo_t *pPublishInfo): core_mqtt_serializer.c']]], ['mqtt_5fdisconnect_10',['MQTT_Disconnect',['../core__mqtt_8h.html#ac79c366acbc3dddd88072d99ccb9140c',1,'MQTT_Disconnect(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#ac79c366acbc3dddd88072d99ccb9140c',1,'MQTT_Disconnect(MQTTContext_t *pContext): core_mqtt.c']]], - ['mqtt_5fgetconnectpacketsize_11',['MQTT_GetConnectPacketSize',['../core__mqtt__serializer_8h.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], - ['mqtt_5fgetdisconnectpacketsize_12',['MQTT_GetDisconnectPacketSize',['../core__mqtt__serializer_8h.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c']]], - ['mqtt_5fgetincomingpackettypeandlength_13',['MQTT_GetIncomingPacketTypeAndLength',['../core__mqtt__serializer_8h.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c']]], - ['mqtt_5fgetpacketid_14',['MQTT_GetPacketId',['../core__mqtt_8h.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c']]], - ['mqtt_5fgetpingreqpacketsize_15',['MQTT_GetPingreqPacketSize',['../core__mqtt__serializer_8h.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c']]], - ['mqtt_5fgetpublishpacketsize_16',['MQTT_GetPublishPacketSize',['../core__mqtt__serializer_8h.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], - ['mqtt_5fgetsubackstatuscodes_17',['MQTT_GetSubAckStatusCodes',['../core__mqtt_8h.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c'],['../core__mqtt_8c.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c']]], - ['mqtt_5fgetsubscribepacketsize_18',['MQTT_GetSubscribePacketSize',['../core__mqtt__serializer_8h.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], - ['mqtt_5fgetunsubscribepacketsize_19',['MQTT_GetUnsubscribePacketSize',['../core__mqtt__serializer_8c.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], - ['mqtt_5finit_20',['MQTT_Init',['../core__mqtt_8h.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c'],['../core__mqtt_8c.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c']]], - ['mqtt_5finitstatefulqos_21',['MQTT_InitStatefulQoS',['../core__mqtt_8h.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c'],['../core__mqtt_8c.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c']]], - ['mqtt_5fmatchtopic_22',['MQTT_MatchTopic',['../core__mqtt_8h.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c'],['../core__mqtt_8c.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c']]], - ['mqtt_5fping_23',['MQTT_Ping',['../core__mqtt_8h.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c']]], - ['mqtt_5fprocessincomingpackettypeandlength_24',['MQTT_ProcessIncomingPacketTypeAndLength',['../core__mqtt__serializer_8h.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c']]], - ['mqtt_5fprocessloop_25',['MQTT_ProcessLoop',['../core__mqtt_8h.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c']]], - ['mqtt_5fpublish_26',['MQTT_Publish',['../core__mqtt_8h.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c']]], - ['mqtt_5fpublishtoresend_27',['MQTT_PublishToResend',['../core__mqtt__state_8h.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c'],['../core__mqtt__state_8c.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c']]], - ['mqtt_5fpubreltoresend_28',['MQTT_PubrelToResend',['../core__mqtt__state_8c.html#ae58ade262ec01262687554b349b2fdf5',1,'core_mqtt_state.c']]], - ['mqtt_5freceiveloop_29',['MQTT_ReceiveLoop',['../core__mqtt_8h.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c']]], - ['mqtt_5fremovestaterecord_30',['MQTT_RemoveStateRecord',['../core__mqtt__state_8c.html#aef2c13cffbbd5c71183282e69ac9d799',1,'core_mqtt_state.c']]], - ['mqtt_5freservestate_31',['MQTT_ReserveState',['../core__mqtt__state_8c.html#a43bc5d82716e1d8b6e167ec0fe50de5d',1,'core_mqtt_state.c']]], - ['mqtt_5fserializeack_32',['MQTT_SerializeAck',['../core__mqtt__serializer_8h.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c']]], - ['mqtt_5fserializeconnect_33',['MQTT_SerializeConnect',['../core__mqtt__serializer_8h.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], - ['mqtt_5fserializeconnectfixedheader_34',['MQTT_SerializeConnectFixedHeader',['../core__mqtt__serializer_8c.html#a5e6043289c05db1cdb7e33e0921247a0',1,'core_mqtt_serializer.c']]], - ['mqtt_5fserializedisconnect_35',['MQTT_SerializeDisconnect',['../core__mqtt__serializer_8h.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], - ['mqtt_5fserializepingreq_36',['MQTT_SerializePingreq',['../core__mqtt__serializer_8h.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], - ['mqtt_5fserializepublish_37',['MQTT_SerializePublish',['../core__mqtt__serializer_8h.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], - ['mqtt_5fserializepublishheader_38',['MQTT_SerializePublishHeader',['../core__mqtt__serializer_8h.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c']]], - ['mqtt_5fserializepublishheaderwithouttopic_39',['MQTT_SerializePublishHeaderWithoutTopic',['../core__mqtt__serializer_8h.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c']]], - ['mqtt_5fserializesubscribe_40',['MQTT_SerializeSubscribe',['../core__mqtt__serializer_8h.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], - ['mqtt_5fserializesubscribeheader_41',['MQTT_SerializeSubscribeHeader',['../core__mqtt__serializer_8c.html#a6fe31953d7b8dacb769adcf4c2719730',1,'core_mqtt_serializer.c']]], - ['mqtt_5fserializeunsubscribe_42',['MQTT_SerializeUnsubscribe',['../core__mqtt__serializer_8h.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], - ['mqtt_5fserializeunsubscribeheader_43',['MQTT_SerializeUnsubscribeHeader',['../core__mqtt__serializer_8c.html#a5b6f47fa319a444835ffed2d6af04709',1,'core_mqtt_serializer.c']]], - ['mqtt_5fstate_5fstrerror_44',['MQTT_State_strerror',['../core__mqtt__state_8c.html#a53d786203ca4d5d5630a9eb3dd4cddae',1,'core_mqtt_state.c']]], - ['mqtt_5fstatus_5fstrerror_45',['MQTT_Status_strerror',['../core__mqtt_8h.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c'],['../core__mqtt_8c.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c']]], - ['mqtt_5fsubscribe_46',['MQTT_Subscribe',['../core__mqtt_8h.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c']]], - ['mqtt_5funsubscribe_47',['MQTT_Unsubscribe',['../core__mqtt_8h.html#a77c911dbe24c5a51aaea88250895dba4',1,'MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a77c911dbe24c5a51aaea88250895dba4',1,'MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c']]], - ['mqtt_5fupdatestateack_48',['MQTT_UpdateStateAck',['../core__mqtt__state_8c.html#a09a013b709085ffd51faa33c067cce1f',1,'core_mqtt_state.c']]], - ['mqtt_5fupdatestatepublish_49',['MQTT_UpdateStatePublish',['../core__mqtt__state_8c.html#ad657bd67745c66bc50f0441b4cc94763',1,'core_mqtt_state.c']]] + ['mqtt_5fgetbytesinmqttvec_11',['MQTT_GetBytesInMQTTVec',['../core__mqtt_8h.html#af15463f575fbbcc76bf1f27f9b0a02b0',1,'MQTT_GetBytesInMQTTVec(MQTTVec_t *pVec): core_mqtt.c'],['../core__mqtt_8c.html#af15463f575fbbcc76bf1f27f9b0a02b0',1,'MQTT_GetBytesInMQTTVec(MQTTVec_t *pVec): core_mqtt.c']]], + ['mqtt_5fgetconnectpacketsize_12',['MQTT_GetConnectPacketSize',['../core__mqtt__serializer_8h.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a4e57ccef527a25b572dc66eeb2e217c5',1,'MQTT_GetConnectPacketSize(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], + ['mqtt_5fgetdisconnectpacketsize_13',['MQTT_GetDisconnectPacketSize',['../core__mqtt__serializer_8h.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a6fdd8cbde6b7c4ff85c20aaca0fd8741',1,'MQTT_GetDisconnectPacketSize(size_t *pPacketSize): core_mqtt_serializer.c']]], + ['mqtt_5fgetincomingpackettypeandlength_14',['MQTT_GetIncomingPacketTypeAndLength',['../core__mqtt__serializer_8h.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a98cdda86f86a0a1888745a584199e930',1,'MQTT_GetIncomingPacketTypeAndLength(TransportRecv_t readFunc, NetworkContext_t *pNetworkContext, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c']]], + ['mqtt_5fgetpacketid_15',['MQTT_GetPacketId',['../core__mqtt_8h.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#a00e1a3eba2c21899a6b4312c7d65d090',1,'MQTT_GetPacketId(MQTTContext_t *pContext): core_mqtt.c']]], + ['mqtt_5fgetpingreqpacketsize_16',['MQTT_GetPingreqPacketSize',['../core__mqtt__serializer_8h.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a015562f30e220d2534f773bfa45a5cfe',1,'MQTT_GetPingreqPacketSize(size_t *pPacketSize): core_mqtt_serializer.c']]], + ['mqtt_5fgetpublishpacketsize_17',['MQTT_GetPublishPacketSize',['../core__mqtt__serializer_8h.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a9971fb98c6af22b1bfe697d44492a819',1,'MQTT_GetPublishPacketSize(const MQTTPublishInfo_t *pPublishInfo, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], + ['mqtt_5fgetsubackstatuscodes_18',['MQTT_GetSubAckStatusCodes',['../core__mqtt_8h.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c'],['../core__mqtt_8c.html#ac43449e06856c6703cda73359c222bd2',1,'MQTT_GetSubAckStatusCodes(const MQTTPacketInfo_t *pSubackPacket, uint8_t **pPayloadStart, size_t *pPayloadSize): core_mqtt.c']]], + ['mqtt_5fgetsubscribepacketsize_19',['MQTT_GetSubscribePacketSize',['../core__mqtt__serializer_8h.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#abb9a703cb23ab39fdd6fe282a5f3ddc5',1,'MQTT_GetSubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], + ['mqtt_5fgetunsubscribepacketsize_20',['MQTT_GetUnsubscribePacketSize',['../core__mqtt__serializer_8h.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a2a18563d5f63c8975b57118a6836c932',1,'MQTT_GetUnsubscribePacketSize(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, size_t *pRemainingLength, size_t *pPacketSize): core_mqtt_serializer.c']]], + ['mqtt_5finit_21',['MQTT_Init',['../core__mqtt_8h.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c'],['../core__mqtt_8c.html#ae8444f3a85535e62cdb1ae9c192677d6',1,'MQTT_Init(MQTTContext_t *pContext, const TransportInterface_t *pTransportInterface, MQTTGetCurrentTimeFunc_t getTimeFunction, MQTTEventCallback_t userCallback, const MQTTFixedBuffer_t *pNetworkBuffer): core_mqtt.c']]], + ['mqtt_5finitretransmits_22',['MQTT_InitRetransmits',['../core__mqtt_8h.html#af2d6f94bf234a888541919195002a13f',1,'MQTT_InitRetransmits(MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction): core_mqtt.c'],['../core__mqtt_8c.html#af2d6f94bf234a888541919195002a13f',1,'MQTT_InitRetransmits(MQTTContext_t *pContext, MQTTStorePacketForRetransmit storeFunction, MQTTRetrievePacketForRetransmit retrieveFunction, MQTTClearPacketForRetransmit clearFunction): core_mqtt.c']]], + ['mqtt_5finitstatefulqos_23',['MQTT_InitStatefulQoS',['../core__mqtt_8h.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c'],['../core__mqtt_8c.html#afe4c020749e3b9ca044e0e9ad96025c5',1,'MQTT_InitStatefulQoS(MQTTContext_t *pContext, MQTTPubAckInfo_t *pOutgoingPublishRecords, size_t outgoingPublishCount, MQTTPubAckInfo_t *pIncomingPublishRecords, size_t incomingPublishCount): core_mqtt.c']]], + ['mqtt_5fmatchtopic_24',['MQTT_MatchTopic',['../core__mqtt_8h.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c'],['../core__mqtt_8c.html#a633409812b18547365ec9b853069021b',1,'MQTT_MatchTopic(const char *pTopicName, const uint16_t topicNameLength, const char *pTopicFilter, const uint16_t topicFilterLength, bool *pIsMatch): core_mqtt.c']]], + ['mqtt_5fping_25',['MQTT_Ping',['../core__mqtt_8h.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#a66eced0c62ace790354ae3de40fc0959',1,'MQTT_Ping(MQTTContext_t *pContext): core_mqtt.c']]], + ['mqtt_5fprocessincomingpackettypeandlength_26',['MQTT_ProcessIncomingPacketTypeAndLength',['../core__mqtt__serializer_8h.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a94fd3f746074b3f6e16ae6b23dad9a28',1,'MQTT_ProcessIncomingPacketTypeAndLength(const uint8_t *pBuffer, const size_t *pIndex, MQTTPacketInfo_t *pIncomingPacket): core_mqtt_serializer.c']]], + ['mqtt_5fprocessloop_27',['MQTT_ProcessLoop',['../core__mqtt_8h.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#ab95d3d6b3eed98a6184fb2018c5b55d7',1,'MQTT_ProcessLoop(MQTTContext_t *pContext): core_mqtt.c']]], + ['mqtt_5fpublish_28',['MQTT_Publish',['../core__mqtt_8h.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a1d8217e9d30fb2aed002060a8c97c63e',1,'MQTT_Publish(MQTTContext_t *pContext, const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId): core_mqtt.c']]], + ['mqtt_5fpublishtoresend_29',['MQTT_PublishToResend',['../core__mqtt__state_8h.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c'],['../core__mqtt__state_8c.html#a44b3cf50dc477a9f97413a9238a961f6',1,'MQTT_PublishToResend(const MQTTContext_t *pMqttContext, MQTTStateCursor_t *pCursor): core_mqtt_state.c']]], + ['mqtt_5fpubreltoresend_30',['MQTT_PubrelToResend',['../core__mqtt__state_8c.html#ae58ade262ec01262687554b349b2fdf5',1,'core_mqtt_state.c']]], + ['mqtt_5freceiveloop_31',['MQTT_ReceiveLoop',['../core__mqtt_8h.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c'],['../core__mqtt_8c.html#aeb7c37284fcf6f68eb577427a6763fc6',1,'MQTT_ReceiveLoop(MQTTContext_t *pContext): core_mqtt.c']]], + ['mqtt_5fremovestaterecord_32',['MQTT_RemoveStateRecord',['../core__mqtt__state_8c.html#aef2c13cffbbd5c71183282e69ac9d799',1,'core_mqtt_state.c']]], + ['mqtt_5freservestate_33',['MQTT_ReserveState',['../core__mqtt__state_8c.html#a43bc5d82716e1d8b6e167ec0fe50de5d',1,'core_mqtt_state.c']]], + ['mqtt_5fserializeack_34',['MQTT_SerializeAck',['../core__mqtt__serializer_8c.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c'],['../core__mqtt__serializer_8h.html#a11ea4ac5ea27e93121288e463ca34ee6',1,'MQTT_SerializeAck(const MQTTFixedBuffer_t *pFixedBuffer, uint8_t packetType, uint16_t packetId): core_mqtt_serializer.c']]], + ['mqtt_5fserializeconnect_35',['MQTT_SerializeConnect',['../core__mqtt__serializer_8h.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#aa2e2300d6c43e61f8f2cf83f7149835c',1,'MQTT_SerializeConnect(const MQTTConnectInfo_t *pConnectInfo, const MQTTPublishInfo_t *pWillInfo, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], + ['mqtt_5fserializeconnectfixedheader_36',['MQTT_SerializeConnectFixedHeader',['../core__mqtt__serializer_8c.html#a5e6043289c05db1cdb7e33e0921247a0',1,'core_mqtt_serializer.c']]], + ['mqtt_5fserializedisconnect_37',['MQTT_SerializeDisconnect',['../core__mqtt__serializer_8h.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a6aae40d4656eb533a74b67bf9c827d3b',1,'MQTT_SerializeDisconnect(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], + ['mqtt_5fserializemqttvec_38',['MQTT_SerializeMQTTVec',['../core__mqtt_8h.html#a1b2e56ed1c0a328d86062857e695d673',1,'MQTT_SerializeMQTTVec(uint8_t *pAllocatedMem, MQTTVec_t *pVec): core_mqtt.c'],['../core__mqtt_8c.html#a1b2e56ed1c0a328d86062857e695d673',1,'MQTT_SerializeMQTTVec(uint8_t *pAllocatedMem, MQTTVec_t *pVec): core_mqtt.c']]], + ['mqtt_5fserializepingreq_39',['MQTT_SerializePingreq',['../core__mqtt__serializer_8h.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#af3b3e40858fd984c871511e02a61e15d',1,'MQTT_SerializePingreq(const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], + ['mqtt_5fserializepublish_40',['MQTT_SerializePublish',['../core__mqtt__serializer_8h.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#ac6c453f9c4b7f48aad511bc677ec7eb9',1,'MQTT_SerializePublish(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], + ['mqtt_5fserializepublishheader_41',['MQTT_SerializePublishHeader',['../core__mqtt__serializer_8h.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a659cf2bcaf2c5131daa0acc1917401a2',1,'MQTT_SerializePublishHeader(const MQTTPublishInfo_t *pPublishInfo, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer, size_t *pHeaderSize): core_mqtt_serializer.c']]], + ['mqtt_5fserializepublishheaderwithouttopic_42',['MQTT_SerializePublishHeaderWithoutTopic',['../core__mqtt__serializer_8h.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a32de7fabeca85a4d360fa1dd06ff7cd0',1,'MQTT_SerializePublishHeaderWithoutTopic(const MQTTPublishInfo_t *pPublishInfo, size_t remainingLength, uint8_t *pBuffer, size_t *headerSize): core_mqtt_serializer.c']]], + ['mqtt_5fserializesubscribe_43',['MQTT_SerializeSubscribe',['../core__mqtt__serializer_8h.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a21273b13070e8340cc33b0f86bf79571',1,'MQTT_SerializeSubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], + ['mqtt_5fserializesubscribeheader_44',['MQTT_SerializeSubscribeHeader',['../core__mqtt__serializer_8c.html#a6fe31953d7b8dacb769adcf4c2719730',1,'core_mqtt_serializer.c']]], + ['mqtt_5fserializeunsubscribe_45',['MQTT_SerializeUnsubscribe',['../core__mqtt__serializer_8h.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#aab58219c203077c07ffd7061405e1adb',1,'MQTT_SerializeUnsubscribe(const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId, size_t remainingLength, const MQTTFixedBuffer_t *pFixedBuffer): core_mqtt_serializer.c']]], + ['mqtt_5fserializeunsubscribeheader_46',['MQTT_SerializeUnsubscribeHeader',['../core__mqtt__serializer_8c.html#a5b6f47fa319a444835ffed2d6af04709',1,'core_mqtt_serializer.c']]], + ['mqtt_5fstate_5fstrerror_47',['MQTT_State_strerror',['../core__mqtt__state_8c.html#a53d786203ca4d5d5630a9eb3dd4cddae',1,'core_mqtt_state.c']]], + ['mqtt_5fstatus_5fstrerror_48',['MQTT_Status_strerror',['../core__mqtt_8h.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c'],['../core__mqtt_8c.html#a05d9facfce89c5f9edef09ca13717f50',1,'MQTT_Status_strerror(MQTTStatus_t status): core_mqtt.c']]], + ['mqtt_5fsubscribe_49',['MQTT_Subscribe',['../core__mqtt_8h.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a567aa9c38726a7879f9cbf943e813e8f',1,'MQTT_Subscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c']]], + ['mqtt_5funsubscribe_50',['MQTT_Unsubscribe',['../core__mqtt_8h.html#a77c911dbe24c5a51aaea88250895dba4',1,'MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c'],['../core__mqtt_8c.html#a77c911dbe24c5a51aaea88250895dba4',1,'MQTT_Unsubscribe(MQTTContext_t *pContext, const MQTTSubscribeInfo_t *pSubscriptionList, size_t subscriptionCount, uint16_t packetId): core_mqtt.c']]], + ['mqtt_5fupdateduplicatepublishflag_51',['MQTT_UpdateDuplicatePublishFlag',['../core__mqtt__serializer_8h.html#a269f0b0e193a7a10a6e392b88768ae94',1,'MQTT_UpdateDuplicatePublishFlag(uint8_t *pHeader, bool set): core_mqtt_serializer.c'],['../core__mqtt__serializer_8c.html#a269f0b0e193a7a10a6e392b88768ae94',1,'MQTT_UpdateDuplicatePublishFlag(uint8_t *pHeader, bool set): core_mqtt_serializer.c']]], + ['mqtt_5fupdatestateack_52',['MQTT_UpdateStateAck',['../core__mqtt__state_8c.html#a09a013b709085ffd51faa33c067cce1f',1,'core_mqtt_state.c']]], + ['mqtt_5fupdatestatepublish_53',['MQTT_UpdateStatePublish',['../core__mqtt__state_8c.html#ad657bd67745c66bc50f0441b4cc94763',1,'core_mqtt_state.c']]] ]; diff --git a/main/search/functions_c.js b/main/search/functions_c.js index fb65351bc..8bb34bd48 100644 --- a/main/search/functions_c.js +++ b/main/search/functions_c.js @@ -4,7 +4,7 @@ var searchData= ['sendconnectwithoutcopy_1',['sendConnectWithoutCopy',['../core__mqtt_8c.html#a3c6935ecef4879b9aeee05ffb0f0a9cb',1,'core_mqtt.c']]], ['sendmessagevector_2',['sendMessageVector',['../core__mqtt_8c.html#a39f478d2bb0366a5f14bfa90316d8d26',1,'core_mqtt.c']]], ['sendpublishacks_3',['sendPublishAcks',['../core__mqtt_8c.html#ab4b719d2f726b049c279dcb37fcba840',1,'core_mqtt.c']]], - ['sendpublishwithoutcopy_4',['sendPublishWithoutCopy',['../core__mqtt_8c.html#aaaca64a926603116f5dfec4a65f28283',1,'core_mqtt.c']]], + ['sendpublishwithoutcopy_4',['sendPublishWithoutCopy',['../core__mqtt_8c.html#af775574fd302e755d793a07818b62a2a',1,'core_mqtt.c']]], ['sendsubscribewithoutcopy_5',['sendSubscribeWithoutCopy',['../core__mqtt_8c.html#a86259fe46a81f7981a7b43b677ab896d',1,'core_mqtt.c']]], ['sendunsubscribewithoutcopy_6',['sendUnsubscribeWithoutCopy',['../core__mqtt_8c.html#a5fc0209190ce8ce635050195689306e2',1,'core_mqtt.c']]], ['serializeconnectpacket_7',['serializeConnectPacket',['../core__mqtt__serializer_8c.html#a95bf697a3b1f86950e5c199d9cf3a185',1,'core_mqtt_serializer.c']]], diff --git a/main/search/searchdata.js b/main/search/searchdata.js index 35b3b3c6f..b9dcc8643 100644 --- a/main/search/searchdata.js +++ b/main/search/searchdata.js @@ -4,7 +4,7 @@ var indexSectionsWithContent = 1: "mt", 2: "ct", 3: "acdefghilmprsuv", - 4: "acdghiklnopqrstuwz", + 4: "acdghiklnopqrstuvwz", 5: "mnt", 6: "m", 7: "m", diff --git a/main/search/typedefs_0.js b/main/search/typedefs_0.js index 59589f420..2c4d5f18d 100644 --- a/main/search/typedefs_0.js +++ b/main/search/typedefs_0.js @@ -1,6 +1,9 @@ var searchData= [ - ['mqtteventcallback_5ft_0',['MQTTEventCallback_t',['../group__mqtt__callback__types.html#ga00d348277ed4fde23c95bfc749ae954a',1,'core_mqtt.h']]], - ['mqttgetcurrenttimefunc_5ft_1',['MQTTGetCurrentTimeFunc_t',['../group__mqtt__callback__types.html#gae3bea55b0e49e5208b8c5709a5ea23aa',1,'core_mqtt.h']]], - ['mqttstatecursor_5ft_2',['MQTTStateCursor_t',['../group__mqtt__basic__types.html#ga2ca7d486d83fe555953a8c7876ee0d6e',1,'core_mqtt_state.h']]] + ['mqttclearpacketforretransmit_0',['MQTTClearPacketForRetransmit',['../core__mqtt_8h.html#a864718ceee18ff04e9c92fe9825d601b',1,'core_mqtt.h']]], + ['mqtteventcallback_5ft_1',['MQTTEventCallback_t',['../group__mqtt__callback__types.html#ga00d348277ed4fde23c95bfc749ae954a',1,'core_mqtt.h']]], + ['mqttgetcurrenttimefunc_5ft_2',['MQTTGetCurrentTimeFunc_t',['../group__mqtt__callback__types.html#gae3bea55b0e49e5208b8c5709a5ea23aa',1,'core_mqtt.h']]], + ['mqttretrievepacketforretransmit_3',['MQTTRetrievePacketForRetransmit',['../core__mqtt_8h.html#a56514a9a33dbf82a5d33afedb54903b6',1,'core_mqtt.h']]], + ['mqttstatecursor_5ft_4',['MQTTStateCursor_t',['../group__mqtt__basic__types.html#ga2ca7d486d83fe555953a8c7876ee0d6e',1,'core_mqtt_state.h']]], + ['mqttstorepacketforretransmit_5',['MQTTStorePacketForRetransmit',['../core__mqtt_8h.html#ae4ae1546af467967e2c996daeb78e0ba',1,'core_mqtt.h']]] ]; diff --git a/main/search/variables_1.js b/main/search/variables_1.js index a10bd8e46..f80144df4 100644 --- a/main/search/variables_1.js +++ b/main/search/variables_1.js @@ -1,7 +1,8 @@ var searchData= [ ['cleansession_0',['cleanSession',['../struct_m_q_t_t_connect_info__t.html#a606e7765c4f2215fb2bf630f6eb9ff6b',1,'MQTTConnectInfo_t']]], - ['clientidentifierlength_1',['clientIdentifierLength',['../struct_m_q_t_t_connect_info__t.html#a8077ef36ab318f3d35bee6f098fa54d4',1,'MQTTConnectInfo_t']]], - ['connectstatus_2',['connectStatus',['../struct_m_q_t_t_context__t.html#a4e38c4dc77e7751a0ad8730a41bee47f',1,'MQTTContext_t']]], - ['controlpacketsent_3',['controlPacketSent',['../struct_m_q_t_t_context__t.html#af9724f2426132e3ce96a03892902ef89',1,'MQTTContext_t']]] + ['clearfunction_1',['clearFunction',['../struct_m_q_t_t_context__t.html#a36e3d500e6efa050d6e666aefa3ff577',1,'MQTTContext_t']]], + ['clientidentifierlength_2',['clientIdentifierLength',['../struct_m_q_t_t_connect_info__t.html#a8077ef36ab318f3d35bee6f098fa54d4',1,'MQTTConnectInfo_t']]], + ['connectstatus_3',['connectStatus',['../struct_m_q_t_t_context__t.html#a4e38c4dc77e7751a0ad8730a41bee47f',1,'MQTTContext_t']]], + ['controlpacketsent_4',['controlPacketSent',['../struct_m_q_t_t_context__t.html#af9724f2426132e3ce96a03892902ef89',1,'MQTTContext_t']]] ]; diff --git a/main/search/variables_10.js b/main/search/variables_10.js index 9b440655b..c16f59eb3 100644 --- a/main/search/variables_10.js +++ b/main/search/variables_10.js @@ -1,5 +1,4 @@ var searchData= [ - ['waitingforpingresp_0',['waitingForPingResp',['../struct_m_q_t_t_context__t.html#ac7073f43645f7b7c0c5b7763980004bb',1,'MQTTContext_t']]], - ['writev_1',['writev',['../struct_transport_interface__t.html#a8cf677fbeee53d270daa6dacfa138b79',1,'TransportInterface_t']]] + ['vectorlen_0',['vectorLen',['../struct_m_q_t_t_vec.html#a53b13c310696095b7f1a5254e75552fb',1,'MQTTVec']]] ]; diff --git a/main/search/variables_11.js b/main/search/variables_11.js index c6b43ceb0..9b440655b 100644 --- a/main/search/variables_11.js +++ b/main/search/variables_11.js @@ -1,4 +1,5 @@ var searchData= [ - ['zero_5fsize_5ft_0',['ZERO_SIZE_T',['../core__mqtt__state_8c.html#ab93bbb754488b23d5ac75abcd385e086',1,'core_mqtt_state.c']]] + ['waitingforpingresp_0',['waitingForPingResp',['../struct_m_q_t_t_context__t.html#ac7073f43645f7b7c0c5b7763980004bb',1,'MQTTContext_t']]], + ['writev_1',['writev',['../struct_transport_interface__t.html#a8cf677fbeee53d270daa6dacfa138b79',1,'TransportInterface_t']]] ]; diff --git a/main/search/variables_12.js b/main/search/variables_12.js new file mode 100644 index 000000000..c6b43ceb0 --- /dev/null +++ b/main/search/variables_12.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['zero_5fsize_5ft_0',['ZERO_SIZE_T',['../core__mqtt__state_8c.html#ab93bbb754488b23d5ac75abcd385e086',1,'core_mqtt_state.c']]] +]; diff --git a/main/search/variables_a.js b/main/search/variables_a.js index bed0c5bbd..5ea949542 100644 --- a/main/search/variables_a.js +++ b/main/search/variables_a.js @@ -15,5 +15,6 @@ var searchData= ['ptopicfilter_12',['pTopicFilter',['../struct_m_q_t_t_subscribe_info__t.html#adb0b28240fdcd82a85f11cf2f8b5bbf0',1,'MQTTSubscribeInfo_t']]], ['ptopicname_13',['pTopicName',['../struct_m_q_t_t_publish_info__t.html#aa80e8ca282d01630f878ad0afe81d7a4',1,'MQTTPublishInfo_t']]], ['publishstate_14',['publishState',['../struct_m_q_t_t_pub_ack_info__t.html#a61314203ef87a231c6489c68b579de34',1,'MQTTPubAckInfo_t']]], - ['pusername_15',['pUserName',['../struct_m_q_t_t_connect_info__t.html#a1118d7d3251a11445318557280db53b4',1,'MQTTConnectInfo_t']]] + ['pusername_15',['pUserName',['../struct_m_q_t_t_connect_info__t.html#a1118d7d3251a11445318557280db53b4',1,'MQTTConnectInfo_t']]], + ['pvector_16',['pVector',['../struct_m_q_t_t_vec.html#a35ba714afe80db56d4346949ce635a5f',1,'MQTTVec']]] ]; diff --git a/main/search/variables_c.js b/main/search/variables_c.js index 68399205f..e506b0063 100644 --- a/main/search/variables_c.js +++ b/main/search/variables_c.js @@ -2,5 +2,6 @@ var searchData= [ ['recv_0',['recv',['../struct_transport_interface__t.html#a7c34e9b865e2a509306f09c7dfa3699e',1,'TransportInterface_t']]], ['remaininglength_1',['remainingLength',['../struct_m_q_t_t_packet_info__t.html#a7c85becf08de0ec9776dd4be1fcc4bf8',1,'MQTTPacketInfo_t']]], - ['retain_2',['retain',['../struct_m_q_t_t_publish_info__t.html#a343b0af89c46a900db4aa5c775a0975a',1,'MQTTPublishInfo_t']]] + ['retain_2',['retain',['../struct_m_q_t_t_publish_info__t.html#a343b0af89c46a900db4aa5c775a0975a',1,'MQTTPublishInfo_t']]], + ['retrievefunction_3',['retrieveFunction',['../struct_m_q_t_t_context__t.html#a270e9e595ecd60948c960d059f8fe718',1,'MQTTContext_t']]] ]; diff --git a/main/search/variables_d.js b/main/search/variables_d.js index 78e9f5f7c..386abfe9b 100644 --- a/main/search/variables_d.js +++ b/main/search/variables_d.js @@ -1,5 +1,6 @@ var searchData= [ ['send_0',['send',['../struct_transport_interface__t.html#a01cd9935e9a5266ca196243a0054d489',1,'TransportInterface_t']]], - ['size_1',['size',['../struct_m_q_t_t_fixed_buffer__t.html#a0b0b6a93cc62751ebeb03095d5431636',1,'MQTTFixedBuffer_t']]] + ['size_1',['size',['../struct_m_q_t_t_fixed_buffer__t.html#a0b0b6a93cc62751ebeb03095d5431636',1,'MQTTFixedBuffer_t']]], + ['storefunction_2',['storeFunction',['../struct_m_q_t_t_context__t.html#ac205fc33078b0cfa0dfc62807bd9574f',1,'MQTTContext_t']]] ]; diff --git a/main/struct_m_q_t_t_context__t.html b/main/struct_m_q_t_t_context__t.html index 276c9947a..c56673781 100644 --- a/main/struct_m_q_t_t_context__t.html +++ b/main/struct_m_q_t_t_context__t.html @@ -178,6 +178,18 @@ bool waitingForPingResp  If the library is currently awaiting a PINGRESP.
                                                          + +MQTTStorePacketForRetransmit storeFunction + User defined API used to store outgoing publishes.
                                                        +  + +MQTTRetrievePacketForRetransmit retrieveFunction + User defined API used to retreive a copied publish for resend operation.
                                                        +  + +MQTTClearPacketForRetransmit clearFunction + User defined API used to clear a particular copied publish packet.

                                                        Detailed Description

                                                        A struct representing an MQTT connection.

                                                        diff --git a/main/struct_m_q_t_t_vec.html b/main/struct_m_q_t_t_vec.html new file mode 100644 index 000000000..c89e783f7 --- /dev/null +++ b/main/struct_m_q_t_t_vec.html @@ -0,0 +1,162 @@ + + + + + + + +coreMQTT: MQTTVec_t Struct Reference + + + + + + + + + + + + + + + +
                                                        +
                                                        + + + + + + + +
                                                        +
                                                        coreMQTT v2.3.1+ +
                                                        +
                                                        MQTT 3.1.1 Client Library
                                                        +
                                                        + +   + + + + +
                                                        +
                                                        +
                                                        + + + +
                                                        +
                                                        + +
                                                        +
                                                        +
                                                        + +
                                                        + +
                                                        +
                                                        + + +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        Loading...
                                                        +
                                                        Searching...
                                                        +
                                                        No Matches
                                                        +
                                                        +
                                                        +
                                                        +
                                                        + +
                                                        + +
                                                        MQTTVec_t Struct Reference
                                                        +
                                                        +
                                                        + +

                                                        An opaque structure provided by the library to the MQTTStorePacketForRetransmit function when using MQTTStorePacketForRetransmit. + More...

                                                        + + + + + + +

                                                        +Data Fields

                                                        TransportOutVector_tpVector
                                                         
                                                        size_t vectorLen
                                                         
                                                        +

                                                        Detailed Description

                                                        +

                                                        An opaque structure provided by the library to the MQTTStorePacketForRetransmit function when using MQTTStorePacketForRetransmit.

                                                        +

                                                        Field Documentation

                                                        + +

                                                        ◆ pVector

                                                        + +
                                                        +
                                                        + + + + +
                                                        TransportOutVector_t* MQTTVec_t::pVector
                                                        +
                                                        +

                                                        Pointer to transport vector. USER SHOULD NOT ACCESS THIS DIRECTLY - IT IS AN INTERNAL DETAIL AND CAN CHANGE.

                                                        + +
                                                        +
                                                        + +

                                                        ◆ vectorLen

                                                        + +
                                                        +
                                                        + + + + +
                                                        size_t MQTTVec_t::vectorLen
                                                        +
                                                        +

                                                        Length of the transport vector. USER SHOULD NOT ACCESS THIS DIRECTLY - IT IS AN INTERNAL DETAIL AND CAN CHANGE.

                                                        + +
                                                        +
                                                        +
                                                        The documentation for this struct was generated from the following file: +
                                                        +
                                                        + + + +