Add missing const in NimBLEConnInfo.

This commit is contained in:
h2zero 2024-06-12 09:59:01 -06:00 committed by h2zero
parent c156b0202c
commit 63a3301696

View file

@ -53,6 +53,6 @@ public:
bool isAuthenticated() const { return (m_desc.sec_state.authenticated == 1); } bool isAuthenticated() const { return (m_desc.sec_state.authenticated == 1); }
/** @brief Gets the key size used to encrypt the connection */ /** @brief Gets the key size used to encrypt the connection */
uint8_t getSecKeySize() { return m_desc.sec_state.key_size; } uint8_t getSecKeySize() const { return m_desc.sec_state.key_size; }
}; };
#endif #endif