39 StringBuilder sb =
new StringBuilder();
50 if (this.ChannelId != 0)
53 sb.Append(this.ChannelId.ToString());
Contains methods for simple hash calculations.
static string BinaryToString(byte[] Data)
Converts an array of bytes to a string with their hexadecimal representations (in lower case).
string GetTopic(string BaseTopic)
Gets the topic name of the corresponding node.
byte[] ApplicationId
Application ID
ushort ChannelId
Channel ID
Helps connect IEEE 1451.1.6 requests and responses across MQTT topics.
static bool IsZero(byte[] A)
Checks if an ID is "zero", i.e. contains only zero bytes.