AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
Return to main page ↑ |
Declares the functions that provide access to the internal functions and variables of the MQTT library. More...
Go to the source code of this file.
Data Structures | |
struct | _topicMatchParams_t |
First parameter to _topicMatch. More... | |
struct | _packetMatchParams_t |
First parameter to _packetMatch. More... | |
Macros | |
#define | UINT16_HIGH_BYTE(x) ( ( uint8_t ) ( x >> 8 ) ) |
Get high byte. | |
#define | UINT16_LOW_BYTE(x) ( ( uint8_t ) ( x & 0x00ff ) ) |
Get low byte. | |
#define | UINT16_DECODE(ptr) |
Macro for decoding a 2-byte unsigned int from a sequence of bytes. More... | |
Functions | |
_mqttConnection_t * | IotTestMqtt_createMqttConnection (bool awsIotMqttMode, const IotMqttNetworkInfo_t *pNetworkInfo, uint16_t keepAliveSeconds) |
Test access function for _createMqttConnection. More... | |
IotMqttError_t | IotTestMqtt_scheduleKeepAlive (IotMqttConnection_t pMqttConnection) |
Test access function for _scheduleKeepAlive. More... | |
void | IotTestMqtt_sendPuback (_mqttConnection_t *pMqttConnection, uint16_t packetIdentifier) |
Test access function for _sendPuback. More... | |
bool | IotTestMqtt_topicMatch (const IotLink_t *pSubscriptionLink, void *pMatch) |
Test access function for _topicMatch. More... | |
bool | IotTestMqtt_packetMatch (const IotLink_t *pSubscriptionLink, void *pMatch) |
Test access function for _packetMatch. More... | |
Declares the functions that provide access to the internal functions and variables of the MQTT library.
#define UINT16_DECODE | ( | ptr | ) |
Macro for decoding a 2-byte unsigned int from a sequence of bytes.
[in] | ptr | A uint8_t* that points to the high byte. |
_mqttConnection_t * IotTestMqtt_createMqttConnection | ( | bool | awsIotMqttMode, |
const IotMqttNetworkInfo_t * | pNetworkInfo, | ||
uint16_t | keepAliveSeconds | ||
) |
Test access function for _createMqttConnection.
IotMqttError_t IotTestMqtt_scheduleKeepAlive | ( | IotMqttConnection_t | pMqttConnection | ) |
Test access function for _scheduleKeepAlive.
void IotTestMqtt_sendPuback | ( | _mqttConnection_t * | pMqttConnection, |
uint16_t | packetIdentifier | ||
) |
Test access function for _sendPuback.
bool IotTestMqtt_topicMatch | ( | const IotLink_t * | pSubscriptionLink, |
void * | pMatch | ||
) |
Test access function for _topicMatch.
bool IotTestMqtt_packetMatch | ( | const IotLink_t * | pSubscriptionLink, |
void * | pMatch | ||
) |
Test access function for _packetMatch.