|
Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Local SMP Link Key, used for platform agnostic persistence, mapping to platform specific MgmtLoadLinkKeyCmd and MgmtEvtNewLinkKey. More...
#include <SMPTypes.hpp>
Public Types | |
| enum class | KeyType : uint8_t { COMBI = 0x00 LOCAL_UNIT = 0x01 , REMOTE_UNIT = 0x02 , DBG_COMBI = 0x03 , UNAUTH_COMBI_P192 = 0x04 , AUTH_COMBI_P192 = 0x05 , CHANGED_COMBI = 0x06 , UNAUTH_COMBI_P256 = 0x07 , AUTH_COMBI_P256 = 0x08 , NONE = 0xff } |
Public Member Functions | |
| void | clear () noexcept |
| constexpr bool | isCombiKey () const noexcept |
| bool | isResponder () const noexcept |
| constexpr bool | isValid () const noexcept |
| std::string | toString () const noexcept |
Static Public Member Functions | |
| static std::string | getTypeString (const KeyType type) noexcept |
| static constexpr uint8_t | number (const KeyType rhs) noexcept |
Public Attributes | |
| jau::uint128dp_t | key |
| uint8_t | pin_length |
| bool | responder |
| KeyType | type |
Local SMP Link Key, used for platform agnostic persistence, mapping to platform specific MgmtLoadLinkKeyCmd and MgmtEvtNewLinkKey.
Notable: No endian wise conversion shall occur on this data, since the encryption values are interpreted as little-endian or as a byte stream.
Byte layout must be synchronized with java org.tinyb.SMPLinkKey
Definition at line 824 of file SMPTypes.hpp.
|
strong |
Definition at line 824 of file SMPTypes.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 824 of file SMPTypes.hpp.
|
staticnoexcept |
Definition at line 352 of file SMPTypes.cpp.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 824 of file SMPTypes.hpp.
|
inlinenoexcept |
Definition at line 824 of file SMPTypes.hpp.
|
inlinenoexcept |
Definition at line 824 of file SMPTypes.hpp.
|
inlinenoexcept |
| bool direct_bt::SMPLinkKey::responder |
Definition at line 824 of file SMPTypes.hpp.
| KeyType direct_bt::SMPLinkKey::type |
Definition at line 824 of file SMPTypes.hpp.
| jau::uint128dp_t direct_bt::SMPLinkKey::key |
Definition at line 824 of file SMPTypes.hpp.
| uint8_t direct_bt::SMPLinkKey::pin_length |
Definition at line 824 of file SMPTypes.hpp.