adafruit / Adafruit_MQTT_Library

Arduino library for MQTT support
MIT License
573 stars 291 forks source link

Make topic a public property on Adafruit_MQTT_Publish #81

Open eriknl opened 7 years ago

eriknl commented 7 years ago

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.