Skip to content

Commit 22f9d30

Browse files
Updated mqtt to latest version with more logging. (aws#34)
* Updated mqtt to latest version with more logging. * Added update for timeout bug in mqtt.
1 parent 9e49216 commit 22f9d30

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

aws-common-runtime/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ set(AWS_C_HTTP_SHA "v0.2.18")
3939
include(BuildAwsCHttp)
4040

4141
set(AWS_C_MQTT_URL "https://github.com/awslabs/aws-c-mqtt.git")
42-
set(AWS_C_MQTT_SHA "v0.3.8")
42+
set(AWS_C_MQTT_SHA "v0.3.10")
4343
include(BuildAwsCMqtt)
4444

4545
set(AWS_C_CAL_URL "https://github.com/awslabs/aws-c-cal.git")
4646
set(AWS_C_CAL_SHA "v0.1.5")
4747
include(BuildAwsCCal)
4848

4949
add_dependencies(AwsCCompression AwsCCommon)
50-
add_dependencies(AwsCMqtt AwsCIO)
50+
add_dependencies(AwsCMqtt AwsCHttp)
5151
add_dependencies(AwsCHttp AwsCIO AwsCCompression)
5252
add_dependencies(AwsCCal AwsCCommon)
5353

include/aws/crt/mqtt/MqttClient.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,6 @@ namespace Aws
168168
const ByteBuf &payload,
169169
OnOperationCompleteHandler &&onOpComplete) noexcept;
170170

171-
/**
172-
* Sends a ping message.
173-
*/
174-
void Ping();
175-
176171
OnConnectionInterruptedHandler OnConnectionInterrupted;
177172
OnConnectionResumedHandler OnConnectionResumed;
178173
OnConnectionCompletedHandler OnConnectionCompleted;

source/mqtt/MqttClient.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,6 @@ namespace Aws
567567
return packetId;
568568
}
569569

570-
void MqttConnection::Ping() { aws_mqtt_client_connection_ping(m_underlyingConnection); }
571-
572570
MqttClient::MqttClient(Io::ClientBootstrap &bootstrap, Allocator *allocator) noexcept : m_client(nullptr)
573571
{
574572
m_client =

0 commit comments

Comments
 (0)