User Tools

Site Tools


uphp:functions:mqtt_publish

mqtt_publish

WMPRO, WMMINI FW >= 1.1074 WMMEGA FW >= 2.1078

Publish a message to an MQTT channel

Description

mqtt_publish ( string $channel, string $content )

Parameters

$channel: Channel to publish to. See MQTT Configuration

$content: Message content to publish

Return Values

1 if successful and 0 on failure

See Also

mqtt_subscribe() - Subscribe to an MQTT channel

uphp/functions/mqtt_publish.txt · Last modified: 2021/09/13 05:57 (external edit)