I was wondering if you might consider to make the topic property public on the Adafruit_MQTT_Publish class, that way it's possible to retrieve the topic for display/debugging purposes. On the subscriber class it is public actually. An alternative would be to have an accessor in one or both classes.
I was wondering if you might consider to make the topic property public on the Adafruit_MQTT_Publish class, that way it's possible to retrieve the topic for display/debugging purposes. On the subscriber class it is public actually. An alternative would be to have an accessor in one or both classes.