User Tools

Site Tools


uphp:functions:mqtt_publish

This is an old revision of the document!


mqtt_publish

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

Publish a message to an MQTT channel

Description

mb_start_scan ( 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.1506507360.txt.gz · Last modified: 2021/09/13 05:56 (external edit)