Refactor shared library. Extend error messages

This commit is contained in:
Christian Kratky
2017-10-30 19:44:24 +01:00
parent 5427b488c3
commit 83821453a0
17 changed files with 53 additions and 37 deletions
@@ -81,6 +81,8 @@ namespace MQTTnet.TestApp.UniversalWindows
Password = Password.Text
};
options.CleanSession = CleanSession.IsChecked == true;
try
{
if (_mqttClient != null)
@@ -226,6 +228,7 @@ namespace MQTTnet.TestApp.UniversalWindows
.WithTcpServer("broker.hivemq.com")
.WithCredentials("bud", "%spencer%")
.WithTls()
.WithCleanSession()
.Build();
await client.ConnectAsync(options);