5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>Plugin_Mqtt_Monitor.MqttMonitor.MqttReasonCodes</h1> |
9 <h1>Plugin_Mqtt_Monitor.MqttMonitor.MqttReasonCodes</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the translated MQTT v5 reason codes. |
11 Module implementing the translated MQTT v5 reason codes. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>MqttReasonCodeNames</td></tr> |
16 <tr><td>MqttReasonCodeNames</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 <tr><td>None</td></tr> |
21 <tr><td>None</td></tr> |
23 </table> |
22 </table> |
|
23 |
24 <h3>Functions</h3> |
24 <h3>Functions</h3> |
25 |
|
26 <table> |
25 <table> |
27 |
|
28 <tr> |
26 <tr> |
29 <td><a href="#mqttReasonCode">mqttReasonCode</a></td> |
27 <td><a href="#mqttReasonCode">mqttReasonCode</a></td> |
30 <td>Function to get the readable reason code string given the result code and the packet type.</td> |
28 <td>Function to get the readable reason code string given the result code and the packet type.</td> |
31 </tr> |
29 </tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="mqttReasonCode" ID="mqttReasonCode"></a> |
34 <a NAME="mqttReasonCode" ID="mqttReasonCode"></a> |
36 <h2>mqttReasonCode</h2> |
35 <h2>mqttReasonCode</h2> |
37 <b>mqttReasonCode</b>(<i>rc, packetType</i>) |
36 <b>mqttReasonCode</b>(<i>rc, packetType</i>) |
38 |
|
39 <p> |
37 <p> |
40 Function to get the readable reason code string given the result code and |
38 Function to get the readable reason code string given the result code and |
41 the packet type. |
39 the packet type. |
42 </p> |
40 </p> |
|
41 |
43 <dl> |
42 <dl> |
44 |
43 |
45 <dt><i>rc</i> (int)</dt> |
44 <dt><i>rc</i> (int)</dt> |
46 <dd> |
45 <dd> |
47 result code |
46 result code |