mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-08-01 03:04:27 +02:00
Add missing const in NimBLEConnInfo.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user