Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Used for MgmtLoadLongTermKeyCmd and MgmtEvtNewLongTermKey. More...
#include <MgmtTypes.hpp>
Public Member Functions | |
std::string | toString () const noexcept |
SMPLongTermKeyInfo | toSMPLongTermKeyInfo () const noexcept |
Public Attributes | |
EUI48 | address |
BDAddressType | address_type |
0 reserved, 1 le public, 2 le static random address. More... | |
MgmtLTKType | key_type |
Describing type of key, i.e. More... | |
uint8_t | master |
uint8_t | enc_size |
Encryption Size. More... | |
uint16_t | ediv |
Encryption Diversifier. More... | |
uint64_t | rand |
Random Number. More... | |
jau::uint128_t | ltk |
Long Term Key (LTK) More... | |
Used for MgmtLoadLongTermKeyCmd and MgmtEvtNewLongTermKey.
Notable: No endian wise conversion shall occur on this data, since the encryption values are interpreted as a byte stream.
Definition at line 267 of file MgmtTypes.hpp.
|
inlinenoexcept |
Definition at line 267 of file MgmtTypes.hpp.
|
inlinenoexcept |
Definition at line 267 of file MgmtTypes.hpp.
EUI48 direct_bt::MgmtLongTermKeyInfo::address |
Definition at line 267 of file MgmtTypes.hpp.
BDAddressType direct_bt::MgmtLongTermKeyInfo::address_type |
0 reserved, 1 le public, 2 le static random address.
Compatible with BDAddressType.
Definition at line 267 of file MgmtTypes.hpp.
uint16_t direct_bt::MgmtLongTermKeyInfo::ediv |
Encryption Diversifier.
Definition at line 267 of file MgmtTypes.hpp.
uint8_t direct_bt::MgmtLongTermKeyInfo::enc_size |
Encryption Size.
Definition at line 267 of file MgmtTypes.hpp.
MgmtLTKType direct_bt::MgmtLongTermKeyInfo::key_type |
Describing type of key, i.e.
used BTSecurityLevel and whether using Secure Connections (SC) for P256.
Definition at line 267 of file MgmtTypes.hpp.
jau::uint128_t direct_bt::MgmtLongTermKeyInfo::ltk |
Long Term Key (LTK)
Definition at line 267 of file MgmtTypes.hpp.
uint8_t direct_bt::MgmtLongTermKeyInfo::master |
Definition at line 267 of file MgmtTypes.hpp.
uint64_t direct_bt::MgmtLongTermKeyInfo::rand |
Random Number.
Definition at line 267 of file MgmtTypes.hpp.