#include <BTTypes1.hpp>
Definition at line 195 of file BTTypes1.hpp.
◆ AdapterInfo() [1/3]
direct_bt::AdapterInfo::AdapterInfo |
( |
const uint16_t |
dev_id_, |
|
|
BDAddressAndType |
addressAndType_, |
|
|
const uint8_t |
version_, |
|
|
const uint16_t |
manufacturer_, |
|
|
const AdapterSetting |
supported_setting_, |
|
|
const AdapterSetting |
current_setting_, |
|
|
const uint32_t |
dev_class_, |
|
|
std::string |
name_, |
|
|
std::string |
short_name_ |
|
) |
| |
|
inlinenoexcept |
◆ AdapterInfo() [2/3]
direct_bt::AdapterInfo::AdapterInfo |
( |
const AdapterInfo & |
o | ) |
|
|
inlinenoexcept |
◆ AdapterInfo() [3/3]
direct_bt::AdapterInfo::AdapterInfo |
( |
AdapterInfo && |
o | ) |
|
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setCurrentSettingMask()
Assigns the given 'new_setting & supported_setting' to the current_setting.
- Parameters
-
new_setting | assigned to current_setting after masking with supported_setting. |
- Returns
- 'new_setting & supported_setting', i.e. the new current_setting.
Definition at line 263 of file BTTypes1.hpp.
◆ setSettingMasks()
◆ setDevClass()
void direct_bt::AdapterInfo::setDevClass |
( |
const uint32_t |
v | ) |
|
|
inlinenoexcept |
◆ setName()
void direct_bt::AdapterInfo::setName |
( |
std::string |
v | ) |
|
|
inlinenoexcept |
◆ setShortName()
void direct_bt::AdapterInfo::setShortName |
( |
std::string |
v | ) |
|
|
inlinenoexcept |
◆ get_supportedSetting()
constexpr const AdapterSetting & direct_bt::AdapterInfo::get_supportedSetting |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ isSettingMaskSupported()
bool direct_bt::AdapterInfo::isSettingMaskSupported |
( |
const AdapterSetting |
setting | ) |
const |
|
inlinenoexcept |
◆ getCurrentSettingMask()
AdapterSetting direct_bt::AdapterInfo::getCurrentSettingMask |
( |
| ) |
const |
|
inlinenoexcept |
◆ isCurrentSettingBitSet()
bool direct_bt::AdapterInfo::isCurrentSettingBitSet |
( |
const AdapterSetting |
bit | ) |
const |
|
inlinenoexcept |
◆ getCurrentBTMode()
BTMode direct_bt::AdapterInfo::getCurrentBTMode |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDevClass()
uint32_t direct_bt::AdapterInfo::getDevClass |
( |
| ) |
const |
|
inlinenoexcept |
◆ getName()
std::string direct_bt::AdapterInfo::getName |
( |
| ) |
const |
|
inlinenoexcept |
◆ getShortName()
std::string direct_bt::AdapterInfo::getShortName |
( |
| ) |
const |
|
inlinenoexcept |
◆ toString()
std::string direct_bt::AdapterInfo::toString |
( |
| ) |
const |
|
inlinenoexcept |
◆ dev_id
const uint16_t direct_bt::AdapterInfo::dev_id |
◆ addressAndType
◆ version
const uint8_t direct_bt::AdapterInfo::version |
◆ manufacturer
const uint16_t direct_bt::AdapterInfo::manufacturer |
The documentation for this class was generated from the following file: