Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Protected Member Functions | List of all members
direct_bt::MgmtUserPasskeyReplyCmd Class Reference

mgmt_addr_info { EUI48, uint8_t type }, uint32_t passkey More...

#include <MgmtTypes.hpp>

Inheritance diagram for direct_bt::MgmtUserPasskeyReplyCmd:
Collaboration diagram for direct_bt::MgmtUserPasskeyReplyCmd:

Public Member Functions

 MgmtUserPasskeyReplyCmd (const uint16_t dev_id, const BDAddressAndType &addressAndType, const uint32_t passkey)
 
const EUI48getAddress () const noexcept
 
BDAddressType getAddressType () const noexcept
 
uint32_t getPasskey () const noexcept
 
- Public Member Functions inherited from direct_bt::MgmtCommand
 MgmtCommand (const Opcode opc, const uint16_t dev_id, const uint16_t param_size=0)
 
 MgmtCommand (const Opcode opc, const uint16_t dev_id, const uint16_t param_size, const uint8_t *param)
 
virtual ~MgmtCommand () noexcept override
 
Opcode getOpcode () const noexcept
 
const uint8_t * getParam () const noexcept
 
std::string toString () const noexcept override
 
- Public Member Functions inherited from direct_bt::MgmtMsg
 MgmtMsg (const uint16_t opc, const uint16_t dev_id, const uint16_t param_size)
 
 MgmtMsg (const uint8_t *buffer, const jau::nsize_t buffer_len)
 
virtual ~MgmtMsg ()
 
uint64_t getTimestamp () const noexcept
 
jau::nsize_t getTotalSize () const noexcept
 
TROOctetsgetPDU () noexcept
 Return the underlying octets read only. More...
 
uint16_t getIntOpcode () const noexcept
 
uint16_t getDevID () const noexcept
 
uint16_t getParamSize () const noexcept
 

Protected Member Functions

std::string valueString () const noexcept override
 
- Protected Member Functions inherited from direct_bt::MgmtCommand
virtual std::string baseString () const noexcept override
 

Additional Inherited Members

- Public Types inherited from direct_bt::MgmtCommand
enum  Opcode : uint16_t {
  Opcode::READ_VERSION = 0x0001, Opcode::READ_COMMANDS = 0x0002, Opcode::READ_INDEX_LIST = 0x0003, Opcode::READ_INFO = 0x0004,
  Opcode::SET_POWERED = 0x0005, Opcode::SET_DISCOVERABLE = 0x0006, Opcode::SET_CONNECTABLE = 0x0007, Opcode::SET_FAST_CONNECTABLE = 0x0008,
  Opcode::SET_BONDABLE = 0x0009, Opcode::SET_LINK_SECURITY = 0x000A, Opcode::SET_SSP = 0x000B, Opcode::SET_HS = 0x000C,
  Opcode::SET_LE = 0x000D, Opcode::SET_DEV_CLASS = 0x000E, Opcode::SET_LOCAL_NAME = 0x000F, Opcode::ADD_UUID = 0x0010,
  Opcode::REMOVE_UUID = 0x0011, Opcode::LOAD_LINK_KEYS = 0x0012, Opcode::LOAD_LONG_TERM_KEYS = 0x0013, Opcode::DISCONNECT = 0x0014,
  Opcode::GET_CONNECTIONS = 0x0015, Opcode::PIN_CODE_REPLY = 0x0016, Opcode::PIN_CODE_NEG_REPLY = 0x0017, Opcode::SET_IO_CAPABILITY = 0x0018,
  Opcode::PAIR_DEVICE = 0x0019, Opcode::CANCEL_PAIR_DEVICE = 0x001A, Opcode::UNPAIR_DEVICE = 0x001B, Opcode::USER_CONFIRM_REPLY = 0x001C,
  Opcode::USER_CONFIRM_NEG_REPLY = 0x001D, Opcode::USER_PASSKEY_REPLY = 0x001E, Opcode::USER_PASSKEY_NEG_REPLY = 0x001F, Opcode::READ_LOCAL_OOB_DATA = 0x0020,
  Opcode::ADD_REMOTE_OOB_DATA = 0x0021, Opcode::REMOVE_REMOTE_OOB_DATA = 0x0022, Opcode::START_DISCOVERY = 0x0023, Opcode::STOP_DISCOVERY = 0x0024,
  Opcode::CONFIRM_NAME = 0x0025, Opcode::BLOCK_DEVICE = 0x0026, Opcode::UNBLOCK_DEVICE = 0x0027, Opcode::SET_DEVICE_ID = 0x0028,
  Opcode::SET_ADVERTISING = 0x0029, Opcode::SET_BREDR = 0x002A, Opcode::SET_STATIC_ADDRESS = 0x002B, Opcode::SET_SCAN_PARAMS = 0x002C,
  Opcode::SET_SECURE_CONN = 0x002D, Opcode::SET_DEBUG_KEYS = 0x002E, Opcode::SET_PRIVACY = 0x002F, Opcode::LOAD_IRKS = 0x0030,
  Opcode::GET_CONN_INFO = 0x0031, Opcode::GET_CLOCK_INFO = 0x0032, Opcode::ADD_DEVICE_WHITELIST = 0x0033, Opcode::REMOVE_DEVICE_WHITELIST = 0x0034,
  Opcode::LOAD_CONN_PARAM = 0x0035, Opcode::READ_UNCONF_INDEX_LIST = 0x0036, Opcode::READ_CONFIG_INFO = 0x0037, Opcode::SET_EXTERNAL_CONFIG = 0x0038,
  Opcode::SET_PUBLIC_ADDRESS = 0x0039, Opcode::START_SERVICE_DISCOVERY = 0x003A, Opcode::READ_LOCAL_OOB_EXT_DATA = 0x003B, Opcode::READ_EXT_INDEX_LIST = 0x003C,
  Opcode::READ_ADV_FEATURES = 0x003D, Opcode::ADD_ADVERTISING = 0x003E, Opcode::REMOVE_ADVERTISING = 0x003F, Opcode::GET_ADV_SIZE_INFO = 0x0040,
  Opcode::START_LIMITED_DISCOVERY = 0x0041, Opcode::READ_EXT_INFO = 0x0042, Opcode::SET_APPEARANCE = 0x0043, Opcode::GET_PHY_CONFIGURATION = 0x0044,
  Opcode::SET_PHY_CONFIGURATION = 0x0045, Opcode::SET_BLOCKED_KEYS = 0x0046, Opcode::SET_WIDEBAND_SPEECH = 0x0047, Opcode::READ_SECURITY_INFO = 0x0048,
  Opcode::READ_EXP_FEATURES_INFO = 0x0049, Opcode::SET_EXP_FEATURE = 0x004a, Opcode::READ_DEF_SYSTEM_CONFIG = 0x004b, Opcode::SET_DEF_SYSTEM_CONFIG = 0x004c,
  Opcode::READ_DEF_RUNTIME_CONFIG = 0x004d, Opcode::SET_DEF_RUNTIME_CONFIG = 0x004e, Opcode::GET_DEVICE_FLAGS = 0x004f, Opcode::SET_DEVICE_FLAGS = 0x0050,
  Opcode::READ_ADV_MONITOR_FEATURES = 0x0051, Opcode::ADD_ADV_PATTERNS_MONITOR = 0x0052, Opcode::REMOVE_ADV_MONITOR = 0x0053
}
 
- Static Public Member Functions inherited from direct_bt::MgmtCommand
static constexpr uint16_t number (const Opcode rhs) noexcept
 
static std::string getOpcodeString (const Opcode op) noexcept
 
- Static Public Member Functions inherited from direct_bt::MgmtMsg
static uint16_t getIntOpcode (const uint8_t *buffer)
 
static uint16_t getDevID (const uint8_t *data)
 
template<class T >
static T * clone (const T &source) noexcept
 Clone template for convenience, based on derived class's copy-constructor. More...
 
- Static Protected Member Functions inherited from direct_bt::MgmtCommand
static void checkOpcode (const Opcode has, const Opcode min, const Opcode max)
 
static void checkOpcode (const Opcode has, const Opcode exp)
 
- Protected Attributes inherited from direct_bt::MgmtMsg
POctets pdu
 
uint64_t ts_creation
 

Detailed Description

mgmt_addr_info { EUI48, uint8_t type }, uint32_t passkey

Definition at line 920 of file MgmtTypes.hpp.

Constructor & Destructor Documentation

◆ MgmtUserPasskeyReplyCmd()

direct_bt::MgmtUserPasskeyReplyCmd::MgmtUserPasskeyReplyCmd ( const uint16_t  dev_id,
const BDAddressAndType addressAndType,
const uint32_t  passkey 
)
inline

Definition at line 930 of file MgmtTypes.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ getAddress()

const EUI48& direct_bt::MgmtUserPasskeyReplyCmd::getAddress ( ) const
inlinenoexcept

Definition at line 937 of file MgmtTypes.hpp.

Here is the call graph for this function:

◆ getAddressType()

BDAddressType direct_bt::MgmtUserPasskeyReplyCmd::getAddressType ( ) const
inlinenoexcept

Definition at line 938 of file MgmtTypes.hpp.

Here is the call graph for this function:

◆ getPasskey()

uint32_t direct_bt::MgmtUserPasskeyReplyCmd::getPasskey ( ) const
inlinenoexcept

Definition at line 939 of file MgmtTypes.hpp.

Here is the call graph for this function:

◆ valueString()

std::string direct_bt::MgmtUserPasskeyReplyCmd::valueString ( ) const
inlineoverrideprotectedvirtualnoexcept

Reimplemented from direct_bt::MgmtCommand.

Definition at line 923 of file MgmtTypes.hpp.

Here is the call graph for this function:

The documentation for this class was generated from the following file: