Mercurial > code > home > repos > homeauto
diff espNode/desk/src/mqtt.h @ 783:e4cf795d3677
support download/set/delete, but somehow enroll has broken
author | drewp@bigasterisk.com |
---|---|
date | Wed, 26 Aug 2020 03:06:07 -0700 |
parents | 6c42c1f64f00 |
children | 7831b5de3572 |
line wrap: on
line diff
--- a/espNode/desk/src/mqtt.h Mon Aug 24 01:35:28 2020 -0700 +++ b/espNode/desk/src/mqtt.h Wed Aug 26 03:06:07 2020 -0700 @@ -17,8 +17,8 @@ void Publish(std::string subtopic, std::string msg); void StopTimer(); void ConnectToMqtt(); -bool HasPendingCommand(); -std::string PopPendingCommand(); +bool HasPendingMessage(); +std::pair<std::string /*topic*/, std::vector<byte> /*payload*/> PopPendingMessage(); } // namespace mqtt #endif \ No newline at end of file