Skip to content

Commit

Permalink
Updated mqtt to latest version with more logging. (#34)
Browse files Browse the repository at this point in the history
* Updated mqtt to latest version with more logging.

* Added update for timeout bug in mqtt.
  • Loading branch information
JonathanHenson authored Jun 25, 2019
1 parent 9e49216 commit 22f9d30
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions aws-common-runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ set(AWS_C_HTTP_SHA "v0.2.18")
include(BuildAwsCHttp)

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

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

add_dependencies(AwsCCompression AwsCCommon)
add_dependencies(AwsCMqtt AwsCIO)
add_dependencies(AwsCMqtt AwsCHttp)
add_dependencies(AwsCHttp AwsCIO AwsCCompression)
add_dependencies(AwsCCal AwsCCommon)

Expand Down
5 changes: 0 additions & 5 deletions include/aws/crt/mqtt/MqttClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ namespace Aws
const ByteBuf &payload,
OnOperationCompleteHandler &&onOpComplete) noexcept;

/**
* Sends a ping message.
*/
void Ping();

OnConnectionInterruptedHandler OnConnectionInterrupted;
OnConnectionResumedHandler OnConnectionResumed;
OnConnectionCompletedHandler OnConnectionCompleted;
Expand Down
2 changes: 0 additions & 2 deletions source/mqtt/MqttClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,6 @@ namespace Aws
return packetId;
}

void MqttConnection::Ping() { aws_mqtt_client_connection_ping(m_underlyingConnection); }

MqttClient::MqttClient(Io::ClientBootstrap &bootstrap, Allocator *allocator) noexcept : m_client(nullptr)
{
m_client =
Expand Down

0 comments on commit 22f9d30

Please sign in to comment.