MQTTPublishPublicTable()
========================
Publishes the contents of the public table when called by the CRBasic program.
.. admonition:: Syntax
MQTTPublishPublicTable(``QoS``)
- ``Qos`` {*Integer*} - Specifies the MQTT *Quality of Service *(QoS)* level
- ``0`` = At most once (fire-and-forget)
- ``1`` = At least once
- ``2`` Not supported.
:guilabel:`Topic Structure` ``/pr//public``
The output payload will be in GeoJSON format.
**CRBasic Example**
.. code-block:: basic
Scan (1, Sec, 0, 0)
PanelTemp (PTemp, 15000)
Battery (Batt_volt)
' Trigger publish public table
If trigger = True Then
MQTTPublishPublicTable (1) ' QoS 1
trigger = False
EndIf
NextScan