Add more pacakges.

This commit is contained in:
Christian Kratky
2018-11-28 21:11:23 +01:00
parent 7baff7c080
commit 0f5fb8aa3a
27 changed files with 206 additions and 33 deletions
@@ -0,0 +1,8 @@
namespace MQTTnet.Protocol
{
public enum MqttPubCompReasonCode
{
Success = 0,
PacketIdentifierNotFound = 146
}
}
@@ -0,0 +1,15 @@
namespace MQTTnet.Protocol
{
public enum MqttPubRecReasonCode
{
Success = 0,
NoMatchingSubscribers = 16,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicNameInvalid = 144,
PacketIdentifierInUse = 145,
QuotaExceeded = 151,
PayloadFormatInvalid = 153
}
}
@@ -0,0 +1,8 @@
namespace MQTTnet.Protocol
{
public enum MqttPubRelReasonCode
{
Success = 0,
PacketIdentifierNotFound = 146
}
}
@@ -0,0 +1,9 @@
namespace MQTTnet.Protocol
{
public enum MqttRetainHandling
{
SendAtSubscribe = 0,
SendAtSubscribeIfNewSubscriptionOnly = 1,
DoNotSendOnSubscribe = 2
}
}
@@ -0,0 +1,18 @@
namespace MQTTnet.Protocol
{
public enum MqttSubscribeReasonCode
{
GrantedQoS0 = 0,
GrantedQoS1 = 1,
GrantedQoS2 = 2,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicFilterInvalid = 143,
PacketIdentifierInUse = 145,
QuotaExceeded = 151,
SharedSubscriptionsNotSupported = 158,
SubscriptionIdentifiersNotSupported = 161,
WildcardSubscriptionsNotSupported = 162
}
}