Used in MgmtReadDefaultSysParamCmd and MgmtSetDefaultConnParamCmd.
More...
#include <MgmtTypes.hpp>
|
enum class | Type : uint16_t {
BREDR_PAGE_SCAN_TYPE = 0x0000
, BREDR_PAGE_SCAN_INTERVAL = 0x0001
, BREDR_PAGE_SCAN_WINDOW = 0x0002
, BREDR_INQUIRY_TYPE = 0x0003
,
BREDR_INQUIRY_INTERVAL = 0x0004
, BREDR_INQUIRY_WINDOW = 0x0005
, BREDR_LINK_SUPERVISOR_TIMEOUT = 0x0006
, BREDR_PAGE_TIMEOUT = 0x0007
,
BREDR_MIN_SNIFF_INTERVAL = 0x0008
, BREDR_MAX_SNIFF_INTERVAL = 0x0009
, LE_ADV_MIN_INTERVAL = 0x000a
, LE_ADV_MAX_INTERVAL = 0x000b
,
LE_MULTI_ADV_ROT_INTERVAL = 0x000c
, LE_SCAN_INTERVAL_AUTOCONN = 0x000d
, LE_SCAN_WINDOW_AUTOCONN = 0x000e
, LE_SCAN_INTERVAL_WAKESCENARIO = 0x000f
,
LE_SCAN_WINDOW_WAKESCENARIO = 0x0010
, LE_SCAN_INTERVAL_DISCOVERY = 0x0011
, LE_SCAN_WINDOW_DISCOVERY = 0x0012
, LE_SCAN_INTERVAL_ADVMON = 0x0013
,
LE_SCAN_WINDOW_ADVMON = 0x0014
, LE_SCAN_INTERVAL_CONNECT = 0x0015
, LE_SCAN_WINDOW_CONNECT = 0x0016
, LE_MIN_CONN_INTERVAL = 0x0017
,
LE_MAX_CONN_INTERVAL = 0x0018
, LE_CONN_LATENCY = 0x0019
, LE_CONN_SUPERVISOR_TIMEOUT = 0x001a
, LE_AUTOCONN_TIMEOUT = 0x001b
,
NONE = 0xffff
} |
|
◆ Type
Enumerator |
---|
BREDR_PAGE_SCAN_TYPE | |
BREDR_PAGE_SCAN_INTERVAL | |
BREDR_PAGE_SCAN_WINDOW | |
BREDR_INQUIRY_TYPE | |
BREDR_INQUIRY_INTERVAL | |
BREDR_INQUIRY_WINDOW | |
BREDR_LINK_SUPERVISOR_TIMEOUT | |
BREDR_PAGE_TIMEOUT | |
BREDR_MIN_SNIFF_INTERVAL | |
BREDR_MAX_SNIFF_INTERVAL | |
LE_ADV_MIN_INTERVAL | |
LE_ADV_MAX_INTERVAL | |
LE_MULTI_ADV_ROT_INTERVAL | |
LE_SCAN_INTERVAL_AUTOCONN | |
LE_SCAN_WINDOW_AUTOCONN | |
LE_SCAN_INTERVAL_WAKESCENARIO | |
LE_SCAN_WINDOW_WAKESCENARIO | |
LE_SCAN_INTERVAL_DISCOVERY | |
LE_SCAN_WINDOW_DISCOVERY | |
LE_SCAN_INTERVAL_ADVMON | |
LE_SCAN_WINDOW_ADVMON | |
LE_SCAN_INTERVAL_CONNECT | |
LE_SCAN_WINDOW_CONNECT | |
LE_MIN_CONN_INTERVAL | |
LE_MAX_CONN_INTERVAL | |
LE_CONN_LATENCY | |
LE_CONN_SUPERVISOR_TIMEOUT | |
LE_AUTOCONN_TIMEOUT | |
NONE | |
Definition at line 1238 of file MgmtTypes.hpp.
◆ MgmtDefaultParam() [1/5]
direct_bt::MgmtDefaultParam::MgmtDefaultParam |
( |
| ) |
|
|
inlinenoexcept |
◆ MgmtDefaultParam() [2/5]
direct_bt::MgmtDefaultParam::MgmtDefaultParam |
( |
const Type |
type_ | ) |
|
|
inlinenoexcept |
◆ MgmtDefaultParam() [3/5]
direct_bt::MgmtDefaultParam::MgmtDefaultParam |
( |
const Type |
type_, |
|
|
const uint16_t |
value_ |
|
) |
| |
|
inlinenoexcept |
◆ MgmtDefaultParam() [4/5]
◆ MgmtDefaultParam() [5/5]
◆ number()
static constexpr uint16_t direct_bt::MgmtDefaultParam::number |
( |
const Type |
rhs | ) |
|
|
inlinestaticconstexprnoexcept |
◆ getTypeString()
std::string MgmtDefaultParam::getTypeString |
( |
const Type |
op | ) |
|
|
staticnoexcept |
◆ to_size()
static uint8_t direct_bt::MgmtDefaultParam::to_size |
( |
const Type |
type | ) |
|
|
inlinestaticnoexcept |
◆ read()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ valid()
bool direct_bt::MgmtDefaultParam::valid |
( |
| ) |
const |
|
inline |
◆ net_size()
jau::nsize_t direct_bt::MgmtDefaultParam::net_size |
( |
| ) |
const |
|
inline |
Net size, i.e.
sizeof(Type) + value-octets = 2 + value-octets
Definition at line 1314 of file MgmtTypes.hpp.
◆ mgmt_size()
jau::nsize_t direct_bt::MgmtDefaultParam::mgmt_size |
( |
| ) |
const |
|
inline |
Mgmt size, i.e.
sizeof(Type) + sizeof(value_length) + value-octets = 2 + 1 + value-octets
Definition at line 1317 of file MgmtTypes.hpp.
◆ put_nc()
Transfer bytes to dest, both in little endian format.
Definition at line 1320 of file MgmtTypes.hpp.
◆ valueToString()
std::string direct_bt::MgmtDefaultParam::valueToString |
( |
| ) |
const |
|
inlinenoexcept |
◆ toString()
std::string direct_bt::MgmtDefaultParam::toString |
( |
| ) |
const |
|
inlinenoexcept |
◆ uint16_size
constexpr const jau::nsize_t direct_bt::MgmtDefaultParam::uint16_size = 2 + 1 + 2 |
|
staticconstexpr |
◆ type
Type direct_bt::MgmtDefaultParam::type |
2 octets for type: [0x0000 - 0x001e], etc.
Definition at line 1307 of file MgmtTypes.hpp.
◆ value
The documentation for this struct was generated from the following files: