Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…Client

* 'master' of https://github.com/andriyadi/AzureIoTHubMQTTClient:
  Change mqtt username allowing use of twin
  • Loading branch information
andriyadi committed Feb 12, 2018
2 parents 6dee1b1 + ed64fd1 commit 198534a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AzureIoTHubMQTTClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ bool AzureIoTHubMQTTClient::doConnect() {

changeEventTo(AzureIoTHubMQTTClientEventConnecting);

String mqttUname = iotHubHostName_ + "/" + deviceId_ + "/DeviceClientType=0.1.0";
String mqttUname = iotHubHostName_ + "/" + deviceId_ + "/api-version=2016-11-14";
String mqttPassword = "SharedAccessSignature " + sasToken_;
//DEBUGLOG(mqttPassword);

Expand Down

0 comments on commit 198534a

Please sign in to comment.