mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 09:13:02 +08:00
Merge proces, enable signing of the assembly.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace MQTTnet.Protocol
|
||||
{
|
||||
public enum MqttConnectReturnCode
|
||||
{
|
||||
ConnectionAccepted = 0x00,
|
||||
ConnectionRefusedUnacceptableProtocolVersion = 0x01,
|
||||
ConnectionRefusedIdentifierRejected = 0x02,
|
||||
ConnectionRefusedServerUnavailable = 0x03,
|
||||
ConnectionRefusedBadUsernameOrPassword = 0x04,
|
||||
ConnectionRefusedNotAuthorized = 0x05
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
namespace MQTTnet.Protocol
|
||||
{
|
||||
public enum MqttControlPacketType
|
||||
{
|
||||
Connect = 1,
|
||||
ConnAck = 2,
|
||||
Publish = 3,
|
||||
PubAck = 4,
|
||||
PubRec = 5,
|
||||
PubRel = 6,
|
||||
PubComp = 7,
|
||||
Subscribe = 8,
|
||||
SubAck = 9,
|
||||
Unsubscibe = 10,
|
||||
UnsubAck = 11,
|
||||
PingReq = 12,
|
||||
PingResp = 13,
|
||||
Disconnect = 14
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace MQTTnet.Protocol
|
||||
{
|
||||
public enum MqttQualityOfServiceLevel
|
||||
{
|
||||
AtMostOnce = 0x00,
|
||||
AtLeastOnce = 0x01,
|
||||
ExactlyOnce = 0x02
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace MQTTnet.Protocol
|
||||
{
|
||||
public enum MqttSubscribeReturnCode
|
||||
{
|
||||
SuccessMaximumQoS0 = 0x00,
|
||||
SuccessMaximumQoS1 = 0x01,
|
||||
SuccessMaximumQoS2 = 0x02,
|
||||
Failure = 0x80
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user