mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-28 01:02:37 +08:00
Add more pacakges.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user