-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>topic</strong> – The topic to publish on (progmem string). </p></li>
<li><p><strong>payload</strong> – The message’s payload (progmem string). </p></li>
<li><p><strong>retained</strong> – Specifies whether the message should be retained. </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt class="sig sig-object cpp" id="_CPPv4N16HABaseDeviceType18publishOnDataTopicEPK19__Fla