Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
8cH9azbsFifZ committed Nov 14, 2023
1 parent 8204698 commit 9a7c229
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mqtt_client_transmitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ def on_log(mqttc, obj, level, string):
mqttc.loop_start()

infot = mqttc.publish(config.TOPIC, mopp.mopp(20,'hi'), qos=2)
#infot = mqttc.publish(config.TOPIC, mopp.mopp(20,'hihio'), qos=2)
infot = mqttc.publish(config.TOPIC, mopp.mopp(20,'hi'), qos=2)
infot = mqttc.publish(config.TOPIC, mopp.mopp(20,'m'), qos=2)
#infot = mqttc.publish(config.TOPIC, mopp.mopp(20,'this is a test'), qos=2)
infot = mqttc.publish(config.TOPIC, mopp.mopp(30,'hi'), qos=2)
infot = mqttc.publish(config.TOPIC, mopp.mopp(15,'m'), qos=2)

infot.wait_for_publish()

0 comments on commit 9a7c229

Please sign in to comment.