Closed brentru closed 3 years ago
MiniMQTT is able to execute a method if a new message is received on a topic. To keep in-line with the naming convention of Adafruit IO, this method should be named add_feed_callback instead of the MiniMQTT's standard add_topic_callback
add_feed_callback
add_topic_callback
Example: https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/blob/master/examples/minimqtt_pub_sub_blocking_topic_callbacks.py
also, add remove_feed_callback(feed_name)
remove_feed_callback(feed_name)
MiniMQTT is able to execute a method if a new message is received on a topic. To keep in-line with the naming convention of Adafruit IO, this method should be named
add_feed_callback
instead of the MiniMQTT's standardadd_topic_callback
Example: https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/blob/master/examples/minimqtt_pub_sub_blocking_topic_callbacks.py