Skip to content

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

Notifications You must be signed in to change notification settings

Tingenek/tcl-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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