MqttMonitor/Documentation/source/Plugin_Mqtt_Monitor.MqttMonitor.MqttReasonCodes.html

Sat, 06 Jan 2024 13:10:46 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 06 Jan 2024 13:10:46 +0100
branch
eric7
changeset 141
864edfb1bb63
parent 115
357257ad48d2
permissions
-rw-r--r--

Adapted code to eric 24.2 and newer.

<!DOCTYPE html>
<html><head>
<title>Plugin_Mqtt_Monitor.MqttMonitor.MqttReasonCodes</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>Plugin_Mqtt_Monitor.MqttMonitor.MqttReasonCodes</h1>
<p>
Module implementing the translated MQTT v5 reason codes.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>MqttReasonCodeNames</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Functions</h3>
<table>
<tr>
<td><a href="#mqttReasonCode">mqttReasonCode</a></td>
<td>Function to get the readable reason code string given the result code and the packet type.</td>
</tr>
</table>

<hr />
<hr />
<a NAME="mqttReasonCode" ID="mqttReasonCode"></a>
<h2>mqttReasonCode</h2>
<b>mqttReasonCode</b>(<i>rc, packetType</i>)
<p>
    Function to get the readable reason code string given the result code and
    the packet type.
</p>

<dl>

<dt><i>rc</i> (int)</dt>
<dd>
result code
</dd>
<dt><i>packetType</i> (PacketTypes (= int))</dt>
<dd>
packet type
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
message associated with the reason code and packet type
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial