diff --git a/src/lib/ebus/message.h b/src/lib/ebus/message.h index 2e53fb79..25373f5d 100644 --- a/src/lib/ebus/message.h +++ b/src/lib/ebus/message.h @@ -118,6 +118,11 @@ public: * @return the key for storing in @a MessageSet. */ unsigned long long getKey() { return m_key; } + /** + * @brief Get the polling priority, or 0 for no polling at all. + * @return the polling priority, or 0 for no polling at all. + */ + unsigned char getPollPriority() const { return m_pollPriority; } /** * @brief Reads the value from the master or slave @a SymbolString. * @param masterData the unescaped master data @a SymbolString for reading binary data.