Skip to content

Tingenek/tcl-mqtt

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

tcl-mqtt

Small library to connect to a
MQTT broker. Very, very basic. Publish only, Qos 0, retained, timeout 30s

Usage:

package require mqtt 1.0
mqtt_id="1Wire"
set mqtt_conn [mqtt connect localhost 1883 $mqtt_id]
set topic "/1wire/temperatures"
set reading "22.5"
mqtt publish $mqtt_conn $topic $reading
mqtt disconnect $mqtt_conn

About

Small library to connect to a matt broker. Very, very basic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages