Skip to content

Commit c1a57c1

Browse files
committed
First commit on GitHub moved from CodePlex with new 1.1 version
1 parent 8a420ee commit c1a57c1

File tree

92 files changed

+11162
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+11162
-0
lines changed

GnatMQ.nuspec

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>GnatMQ</id>
5+
<version>1.0.0.0</version>
6+
<title>GnatMQ - MQTT Broker for .NET and WinRT</title>
7+
<authors>Paolo Patierno</authors>
8+
<owners>Paolo Patierno</owners>
9+
<licenseUrl>https://mqttbroker.codeplex.com/license</licenseUrl>
10+
<projectUrl>https://mqttbroker.codeplex.com</projectUrl>
11+
<iconUrl>https://download-codeplex.sec.s-msft.com/Download?ProjectName=mqttbroker&amp;DownloadId=817141&amp;Build=21028</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>Broker (server) for the MQTT protocol, an M2M Internet-of-Things communication protocol based on .Net Framework. It works on WinRT platforms too (Windows 8.1 and Windows Phone 8.1).</description>
14+
<summary>Broker (server) for the MQTT protocol, an M2M Internet-of-Things communication protocol based on .Net Framework. It works on WinRT platforms too (Windows 8.1 and Windows Phone 8.1</summary>
15+
<releaseNotes>First release</releaseNotes>
16+
<copyright>Paolo Patierno Copyright 2015</copyright>
17+
<tags>m2m mqtt queue messaging internetofthings iot cloud winrt windows8 windows8.1 windowsphone windowsphone8.1 broker</tags>
18+
</metadata>
19+
<files>
20+
<file src="bin\Release\GnatMQ.Net\*.*" target="lib\net45" />
21+
<file src="bin\Release\GnatMQ.WinRT\*.*" target="lib\win81" />
22+
<file src="bin\Release\GnatMQ.WinRT\*.*" target="lib\wpa81" />
23+
<file src="bin\Release\GnatMQ.NetCf39\*.*" target="lib\netcf39" />
24+
</files>
25+
</package>

GnatMQ.sln

+134
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.31101.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GnatMQ.Net", "GnatMQ\GnatMQ.Net.csproj", "{4EBFA6E5-0636-496C-8C46-991B05DF7491}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GnatMQServer", "GnatMQServer\GnatMQServer.csproj", "{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}"
9+
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GnatMQ.WinRT", "GnatMQ\GnatMQ.WinRT.csproj", "{780CC311-C604-4784-AA0C-EFBB9DA10CFB}"
11+
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GnatMQServerWinRT", "GnatMQServerWinRT", "{5FC5CA7C-E9E5-4745-9468-C0F8C008C7EB}"
13+
EndProject
14+
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "GnatMQServerWinRT.Shared", "GnatMQServerWinRT\GnatMQServerWinRT.Shared\GnatMQServerWinRT.Shared.shproj", "{54CC644E-9557-4D11-9630-EB20406E9B1E}"
15+
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GnatMQServerWinRT.Windows", "GnatMQServerWinRT\GnatMQServerWinRT.Windows\GnatMQServerWinRT.Windows.csproj", "{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}"
17+
EndProject
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GnatMQServerWinRT.WindowsPhone", "GnatMQServerWinRT\GnatMQServerWinRT.WindowsPhone\GnatMQServerWinRT.WindowsPhone.csproj", "{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}"
19+
EndProject
20+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GnatMQ.NetCf39", "GnatMQ\GnatMQ.NetCf39.csproj", "{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}"
21+
EndProject
22+
Global
23+
GlobalSection(SharedMSBuildProjectFiles) = preSolution
24+
GnatMQServerWinRT\GnatMQServerWinRT.Shared\GnatMQServerWinRT.Shared.projitems*{bef58b3a-fed0-44ac-94ef-afa622f8bcf3}*SharedItemsImports = 4
25+
GnatMQServerWinRT\GnatMQServerWinRT.Shared\GnatMQServerWinRT.Shared.projitems*{b0ab9f41-08ad-4f25-8507-a2af603e69fe}*SharedItemsImports = 4
26+
GnatMQServerWinRT\GnatMQServerWinRT.Shared\GnatMQServerWinRT.Shared.projitems*{54cc644e-9557-4d11-9630-eb20406e9b1e}*SharedItemsImports = 13
27+
EndGlobalSection
28+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
29+
Debug|Any CPU = Debug|Any CPU
30+
Debug|ARM = Debug|ARM
31+
Debug|x64 = Debug|x64
32+
Debug|x86 = Debug|x86
33+
Release|Any CPU = Release|Any CPU
34+
Release|ARM = Release|ARM
35+
Release|x64 = Release|x64
36+
Release|x86 = Release|x86
37+
EndGlobalSection
38+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
39+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Debug|Any CPU.Build.0 = Debug|Any CPU
41+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Debug|ARM.ActiveCfg = Debug|Any CPU
42+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Debug|x64.ActiveCfg = Debug|Any CPU
43+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Debug|x86.ActiveCfg = Debug|Any CPU
44+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Release|Any CPU.ActiveCfg = Release|Any CPU
45+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Release|Any CPU.Build.0 = Release|Any CPU
46+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Release|ARM.ActiveCfg = Release|Any CPU
47+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Release|x64.ActiveCfg = Release|Any CPU
48+
{4EBFA6E5-0636-496C-8C46-991B05DF7491}.Release|x86.ActiveCfg = Release|Any CPU
49+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Debug|ARM.ActiveCfg = Debug|Any CPU
52+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Debug|x64.ActiveCfg = Debug|Any CPU
53+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Debug|x86.ActiveCfg = Debug|Any CPU
54+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Release|Any CPU.ActiveCfg = Release|Any CPU
55+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Release|Any CPU.Build.0 = Release|Any CPU
56+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Release|ARM.ActiveCfg = Release|Any CPU
57+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Release|x64.ActiveCfg = Release|Any CPU
58+
{5686C13D-3429-42AF-B4EE-34BAA6A9DB7D}.Release|x86.ActiveCfg = Release|Any CPU
59+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
60+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Debug|Any CPU.Build.0 = Debug|Any CPU
61+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Debug|ARM.ActiveCfg = Debug|Any CPU
62+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Debug|x64.ActiveCfg = Debug|Any CPU
63+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Debug|x86.ActiveCfg = Debug|Any CPU
64+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Release|Any CPU.ActiveCfg = Release|Any CPU
65+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Release|Any CPU.Build.0 = Release|Any CPU
66+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Release|ARM.ActiveCfg = Release|Any CPU
67+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Release|x64.ActiveCfg = Release|Any CPU
68+
{780CC311-C604-4784-AA0C-EFBB9DA10CFB}.Release|x86.ActiveCfg = Release|Any CPU
69+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
70+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|Any CPU.Build.0 = Debug|Any CPU
71+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
72+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|ARM.ActiveCfg = Debug|ARM
73+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|ARM.Build.0 = Debug|ARM
74+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|ARM.Deploy.0 = Debug|ARM
75+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|x64.ActiveCfg = Debug|x64
76+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|x64.Build.0 = Debug|x64
77+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|x64.Deploy.0 = Debug|x64
78+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|x86.ActiveCfg = Debug|x86
79+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|x86.Build.0 = Debug|x86
80+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Debug|x86.Deploy.0 = Debug|x86
81+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|Any CPU.ActiveCfg = Release|Any CPU
82+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|Any CPU.Build.0 = Release|Any CPU
83+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|Any CPU.Deploy.0 = Release|Any CPU
84+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|ARM.ActiveCfg = Release|ARM
85+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|ARM.Build.0 = Release|ARM
86+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|ARM.Deploy.0 = Release|ARM
87+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|x64.ActiveCfg = Release|x64
88+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|x64.Build.0 = Release|x64
89+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|x64.Deploy.0 = Release|x64
90+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|x86.ActiveCfg = Release|x86
91+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|x86.Build.0 = Release|x86
92+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3}.Release|x86.Deploy.0 = Release|x86
93+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
94+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
95+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
96+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|ARM.ActiveCfg = Debug|ARM
97+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|ARM.Build.0 = Debug|ARM
98+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|ARM.Deploy.0 = Debug|ARM
99+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|x64.ActiveCfg = Debug|Any CPU
100+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|x86.ActiveCfg = Debug|x86
101+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|x86.Build.0 = Debug|x86
102+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Debug|x86.Deploy.0 = Debug|x86
103+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
104+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|Any CPU.Build.0 = Release|Any CPU
105+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|Any CPU.Deploy.0 = Release|Any CPU
106+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|ARM.ActiveCfg = Release|ARM
107+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|ARM.Build.0 = Release|ARM
108+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|ARM.Deploy.0 = Release|ARM
109+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|x64.ActiveCfg = Release|Any CPU
110+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|x86.ActiveCfg = Release|x86
111+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|x86.Build.0 = Release|x86
112+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE}.Release|x86.Deploy.0 = Release|x86
113+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
114+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Debug|Any CPU.Build.0 = Debug|Any CPU
115+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
116+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Debug|ARM.ActiveCfg = Debug|Any CPU
117+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Debug|x64.ActiveCfg = Debug|Any CPU
118+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Debug|x86.ActiveCfg = Debug|Any CPU
119+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Release|Any CPU.ActiveCfg = Release|Any CPU
120+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Release|Any CPU.Build.0 = Release|Any CPU
121+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Release|Any CPU.Deploy.0 = Release|Any CPU
122+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Release|ARM.ActiveCfg = Release|Any CPU
123+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Release|x64.ActiveCfg = Release|Any CPU
124+
{CA48F760-2BE0-4B4C-90B8-13823BD5D22B}.Release|x86.ActiveCfg = Release|Any CPU
125+
EndGlobalSection
126+
GlobalSection(SolutionProperties) = preSolution
127+
HideSolutionNode = FALSE
128+
EndGlobalSection
129+
GlobalSection(NestedProjects) = preSolution
130+
{54CC644E-9557-4D11-9630-EB20406E9B1E} = {5FC5CA7C-E9E5-4745-9468-C0F8C008C7EB}
131+
{BEF58B3A-FED0-44AC-94EF-AFA622F8BCF3} = {5FC5CA7C-E9E5-4745-9468-C0F8C008C7EB}
132+
{B0AB9F41-08AD-4F25-8507-A2AF603E69FE} = {5FC5CA7C-E9E5-4745-9468-C0F8C008C7EB}
133+
EndGlobalSection
134+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
Copyright (c) 2013, 2014 Paolo Patierno
3+
4+
All rights reserved. This program and the accompanying materials
5+
are made available under the terms of the Eclipse Public License v1.0
6+
and Eclipse Distribution License v1.0 which accompany this distribution.
7+
8+
The Eclipse Public License is available at
9+
http://www.eclipse.org/legal/epl-v10.html
10+
and the Eclipse Distribution License is available at
11+
http://www.eclipse.org/org/documents/edl-v10.php.
12+
13+
Contributors:
14+
Paolo Patierno - initial API and implementation and/or initial documentation
15+
*/
16+
17+
namespace uPLibrary.Networking.M2Mqtt.Communication
18+
{
19+
/// <summary>
20+
/// Delegate event handler for MQTT client connected event
21+
/// </summary>
22+
/// <param name="sender">The object which raises event</param>
23+
/// <param name="e">Event args</param>
24+
public delegate void MqttClientConnectedEventHandler(object sender, MqttClientConnectedEventArgs e);
25+
26+
/// <summary>
27+
/// Interface for MQTT communication layer
28+
/// </summary>
29+
public interface IMqttCommunicationLayer
30+
{
31+
/// <summary>
32+
/// Start communication layer listening
33+
/// </summary>
34+
void Start();
35+
36+
/// <summary>
37+
/// Stop communication layer listening
38+
/// </summary>
39+
void Stop();
40+
41+
/// <summary>
42+
/// Client connected event
43+
/// </summary>
44+
event MqttClientConnectedEventHandler ClientConnected;
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
Copyright (c) 2013, 2014 Paolo Patierno
3+
4+
All rights reserved. This program and the accompanying materials
5+
are made available under the terms of the Eclipse Public License v1.0
6+
and Eclipse Distribution License v1.0 which accompany this distribution.
7+
8+
The Eclipse Public License is available at
9+
http://www.eclipse.org/legal/epl-v10.html
10+
and the Eclipse Distribution License is available at
11+
http://www.eclipse.org/org/documents/edl-v10.php.
12+
13+
Contributors:
14+
Paolo Patierno - initial API and implementation and/or initial documentation
15+
*/
16+
17+
using System;
18+
19+
namespace uPLibrary.Networking.M2Mqtt.Communication
20+
{
21+
/// <summary>
22+
/// MQTT client connected event args
23+
/// </summary>
24+
public class MqttClientConnectedEventArgs : EventArgs
25+
{
26+
/// <summary>
27+
/// Connected client
28+
/// </summary>
29+
public MqttClient Client { get; private set; }
30+
31+
/// <summary>
32+
/// Constructor
33+
/// </summary>
34+
/// <param name="client">Connected client</param>
35+
public MqttClientConnectedEventArgs(MqttClient client)
36+
{
37+
this.Client = client;
38+
}
39+
}
40+
}
+132
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
/*
2+
Copyright (c) 2013, 2014 Paolo Patierno
3+
4+
All rights reserved. This program and the accompanying materials
5+
are made available under the terms of the Eclipse Public License v1.0
6+
and Eclipse Distribution License v1.0 which accompany this distribution.
7+
8+
The Eclipse Public License is available at
9+
http://www.eclipse.org/legal/epl-v10.html
10+
and the Eclipse Distribution License is available at
11+
http://www.eclipse.org/org/documents/edl-v10.php.
12+
13+
Contributors:
14+
Paolo Patierno - initial API and implementation and/or initial documentation
15+
*/
16+
17+
using System;
18+
19+
namespace uPLibrary.Networking.M2Mqtt.Exceptions
20+
{
21+
/// <summary>
22+
/// MQTT client exception
23+
/// </summary>
24+
public class MqttClientException : Exception
25+
{
26+
/// <summary>
27+
/// Constructor
28+
/// </summary>
29+
/// <param name="code">Error code</param>
30+
public MqttClientException(MqttClientErrorCode errorCode)
31+
{
32+
this.errorCode = errorCode;
33+
}
34+
35+
// error code
36+
private MqttClientErrorCode errorCode;
37+
38+
/// <summary>
39+
/// Error code
40+
/// </summary>
41+
public MqttClientErrorCode ErrorCode
42+
{
43+
get { return this.errorCode; }
44+
set { this.errorCode = value; }
45+
}
46+
}
47+
48+
/// <summary>
49+
/// MQTT client erroro code
50+
/// </summary>
51+
public enum MqttClientErrorCode
52+
{
53+
/// <summary>
54+
/// Will error (topic, message or QoS level)
55+
/// </summary>
56+
WillWrong = 1,
57+
58+
/// <summary>
59+
/// Keep alive period too large
60+
/// </summary>
61+
KeepAliveWrong,
62+
63+
/// <summary>
64+
/// Topic contains wildcards
65+
/// </summary>
66+
TopicWildcard,
67+
68+
/// <summary>
69+
/// Topic length wrong
70+
/// </summary>
71+
TopicLength,
72+
73+
/// <summary>
74+
/// QoS level not allowed
75+
/// </summary>
76+
QosNotAllowed,
77+
78+
/// <summary>
79+
/// Topics list empty for subscribe
80+
/// </summary>
81+
TopicsEmpty,
82+
83+
/// <summary>
84+
/// Qos levels list empty for subscribe
85+
/// </summary>
86+
QosLevelsEmpty,
87+
88+
/// <summary>
89+
/// Topics / Qos Levels not match in subscribe
90+
/// </summary>
91+
TopicsQosLevelsNotMatch,
92+
93+
/// <summary>
94+
/// Wrong message from broker
95+
/// </summary>
96+
WrongBrokerMessage,
97+
98+
/// <summary>
99+
/// Wrong Message Id
100+
/// </summary>
101+
WrongMessageId,
102+
103+
/// <summary>
104+
/// Inflight queue is full
105+
/// </summary>
106+
InflightQueueFull,
107+
108+
// [v3.1.1]
109+
/// <summary>
110+
/// Invalid flag bits received
111+
/// </summary>
112+
InvalidFlagBits,
113+
114+
// [v3.1.1]
115+
/// <summary>
116+
/// Invalid connect flags received
117+
/// </summary>
118+
InvalidConnectFlags,
119+
120+
// [v3.1.1]
121+
/// <summary>
122+
/// Invalid client id
123+
/// </summary>
124+
InvalidClientId,
125+
126+
// [v3.1.1]
127+
/// <summary>
128+
/// Invalid protocol name
129+
/// </summary>
130+
InvalidProtocolName
131+
}
132+
}

0 commit comments

Comments
 (0)