User Tools

Site Tools


uphp:functions:mqtt_subscribe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:mqtt_subscribe [2017/09/27 10:44]
admin created
uphp:functions:mqtt_subscribe [2021/09/13 05:57]
Line 1: Line 1:
-======mqtt_subscribe====== 
- 
-<badge>WMPRO, WMMINI FW >= 1.1074</badge> <badge>WMMEGA FW >= 2.1078</badge> 
- 
-Subscribe to an MQTT channel 
- 
-====Description==== 
- 
-<well size="sm"><html> 
-<span style="font-size:125%">mqtt_publish ( 
-<span style="color:green">string 
-<span style="color:blue">$channel<span style="color:black">, 
-<span style="color:green">string 
-<span style="color:blue">$callback 
-<span style="color:black">) 
-</html></well> 
- 
-====Parameters==== 
- 
-<html><b><span style="color:blue">$channel<span style="color:black"></b></html>:  Channel to subscribe to.  See [[uphp:mqtt_configuration|MQTT Configuration]] 
- 
-<html><b><span style="color:blue">$callback<span style="color:black"></b></html>:  Callback script to execute upon receipt of a message 
- 
-====Return Values==== 
- 
-1 if successful and 0 on failure 
- 
-====See Also==== 
- 
-[[mqtt_publish()]] - Publish to an MQTT channel 
  
uphp/functions/mqtt_subscribe.txt · Last modified: 2021/09/13 05:57 (external edit)