 |
OpenZWave Library
1.6.1392
|
|
| enum | CompatOptionFlags {
COMPAT_FLAG_GETSUPPORTED,
COMPAT_FLAG_OVERRIDEPRECISION,
COMPAT_FLAG_FORCEVERSION,
COMPAT_FLAG_CREATEVARS,
COMPAT_FLAG_REFRESHONWAKEUP,
COMPAT_FLAG_BASIC_IGNOREREMAPPING,
COMPAT_FLAG_BASIC_SETASREPORT,
COMPAT_FLAG_BASIC_MAPPING,
COMPAT_FLAG_COLOR_IDXBUG,
COMPAT_FLAG_MCA_FORCEINSTANCES,
COMPAT_FLAG_MI_MAPROOTTOENDPOINT,
COMPAT_FLAG_MI_FORCEUNIQUEENDPOINTS,
COMPAT_FLAG_MI_IGNMCCAPREPORTS,
COMPAT_FLAG_MI_ENDPOINTHINT,
COMPAT_FLAG_TSSP_BASE,
COMPAT_FLAG_TSSP_ALTTYPEINTERPRETATION,
COMPAT_FLAG_UC_EXPOSERAWVALUE,
COMPAT_FLAG_VERSION_GETCLASSVERSION,
COMPAT_FLAG_WAKEUP_DELAYNMI,
COMPAT_FLAG_MI_REMOVECC,
COMPAT_FLAG_VERIFYCHANGED,
COMPAT_FLAG_NOT_ENABLECLEAR,
COMPAT_FLAG_NOT_V1ALARMTYPES_ENABLED,
COMPAT_FLAG_NO_REFRESH_AFTER_SET,
STATE_FLAG_CCVERSION,
STATE_FLAG_STATIC_REQUESTS,
STATE_FLAG_AFTERMARK,
STATE_FLAG_ENCRYPTED,
STATE_FLAG_INNIF,
STATE_FLAG_CS_SCENECOUNT,
STATE_FLAG_CS_CLEARTIMEOUT,
STATE_FLAG_CCS_CHANGECOUNTER,
STATE_FLAG_COLOR_CHANNELS,
STATE_FLAG_DOORLOCK_TIMEOUT,
STATE_FLAG_DOORLOCK_INSIDEMODE,
STATE_FLAG_DOORLOCK_OUTSIDEMODE,
STATE_FLAG_DOORLOCK_TIMEOUTMINS,
STATE_FLAG_DOORLOCK_TIMEOUTSECS,
STATE_FLAG_DOORLOCKLOG_MAXRECORDS,
STATE_FLAG_USERCODE_COUNT
} |
| |
| enum | CompatOptionFlagType {
COMPAT_FLAG_TYPE_BOOL,
COMPAT_FLAG_TYPE_BYTE,
COMPAT_FLAG_TYPE_SHORT,
COMPAT_FLAG_TYPE_INT,
COMPAT_FLAG_TYPE_BOOL_ARRAY,
COMPAT_FLAG_TYPE_BYTE_ARRAY,
COMPAT_FLAG_TYPE_SHORT_ARRAY,
COMPAT_FLAG_TYPE_INT_ARRAY
} |
| |
| enum | CompatOptionType { CompatOptionType_Compatibility,
CompatOptionType_Discovery
} |
| |
| enum | LookupType { DNS_Lookup_ConfigRevision = 1
} |
| |
| enum | SecurityStrategy { SecurityStrategy_Essential = 0,
SecurityStrategy_Supported
} |
| |
|
| std::string | ToUpper (std::string const &_str) |
| |
| std::string | ToLower (std::string const &_str) |
| |
| std::string & | removewhitespace (std::string &s) |
| |
| std::string & | ltrim (std::string &s) |
| | Left Trim. More...
|
| |
| std::string & | rtrim (std::string &s) |
| | Right Trim. More...
|
| |
| std::string & | trim (std::string &s) |
| | Trim. More...
|
| |
| void | split (std::vector< std::string > &lst, const std::string &input, const std::string &separators, bool remove_empty) |
| |
| void | PrintHex (std::string prefix, uint8_t const *data, uint32 const length) |
| |
| string | PktToString (uint8 const *data, uint32 const length) |
| |
| string | ozwdirname (string m_path) |
| |
| string | intToString (int x) |
| |
| const char * | rssi_to_string (uint8 _data) |
| |
| bool | GenerateAuthentication (uint8 const *_data, uint32 const _length, Driver *driver, uint8 const _sendingNode, uint8 const _receivingNode, uint8 *iv, uint8 *_authentication) |
| |
| bool | EncryptBuffer (uint8 *m_buffer, uint8 m_length, Driver *driver, uint8 const _sendingNode, uint8 const _receivingNode, uint8 const m_nonce[8], uint8 *e_buffer) |
| |
| bool | createIVFromPacket_inbound (uint8 const *_data, uint8 const m_nonce[8], uint8 *iv) |
| |
| bool | DecryptBuffer (uint8 *e_buffer, uint8 e_length, Driver *driver, uint8 const _sendingNode, uint8 const _receivingNode, uint8 const m_nonce[8], uint8 *m_buffer) |
| |
| SecurityStrategy | ShouldSecureCommandClass (uint8 CommandClass) |
| |
◆ CompatOptionFlags
| Enumerator |
|---|
| COMPAT_FLAG_GETSUPPORTED | |
| COMPAT_FLAG_OVERRIDEPRECISION | |
| COMPAT_FLAG_FORCEVERSION | |
| COMPAT_FLAG_CREATEVARS | |
| COMPAT_FLAG_REFRESHONWAKEUP | |
| COMPAT_FLAG_BASIC_IGNOREREMAPPING | |
| COMPAT_FLAG_BASIC_SETASREPORT | |
| COMPAT_FLAG_BASIC_MAPPING | |
| COMPAT_FLAG_COLOR_IDXBUG | |
| COMPAT_FLAG_MCA_FORCEINSTANCES | |
| COMPAT_FLAG_MI_MAPROOTTOENDPOINT | |
| COMPAT_FLAG_MI_FORCEUNIQUEENDPOINTS | |
| COMPAT_FLAG_MI_IGNMCCAPREPORTS | |
| COMPAT_FLAG_MI_ENDPOINTHINT | |
| COMPAT_FLAG_TSSP_BASE | |
| COMPAT_FLAG_TSSP_ALTTYPEINTERPRETATION | |
| COMPAT_FLAG_UC_EXPOSERAWVALUE | |
| COMPAT_FLAG_VERSION_GETCLASSVERSION | |
| COMPAT_FLAG_WAKEUP_DELAYNMI | |
| COMPAT_FLAG_MI_REMOVECC | |
| COMPAT_FLAG_VERIFYCHANGED | |
| COMPAT_FLAG_NOT_ENABLECLEAR | |
| COMPAT_FLAG_NOT_V1ALARMTYPES_ENABLED | |
| COMPAT_FLAG_NO_REFRESH_AFTER_SET | |
| STATE_FLAG_CCVERSION | |
| STATE_FLAG_STATIC_REQUESTS | |
| STATE_FLAG_AFTERMARK | |
| STATE_FLAG_ENCRYPTED | |
| STATE_FLAG_INNIF | |
| STATE_FLAG_CS_SCENECOUNT | |
| STATE_FLAG_CS_CLEARTIMEOUT | |
| STATE_FLAG_CCS_CHANGECOUNTER | |
| STATE_FLAG_COLOR_CHANNELS | |
| STATE_FLAG_DOORLOCK_TIMEOUT | |
| STATE_FLAG_DOORLOCK_INSIDEMODE | |
| STATE_FLAG_DOORLOCK_OUTSIDEMODE | |
| STATE_FLAG_DOORLOCK_TIMEOUTMINS | |
| STATE_FLAG_DOORLOCK_TIMEOUTSECS | |
| STATE_FLAG_DOORLOCKLOG_MAXRECORDS | |
| STATE_FLAG_USERCODE_COUNT | |
◆ CompatOptionFlagType
| Enumerator |
|---|
| COMPAT_FLAG_TYPE_BOOL | |
| COMPAT_FLAG_TYPE_BYTE | |
| COMPAT_FLAG_TYPE_SHORT | |
| COMPAT_FLAG_TYPE_INT | |
| COMPAT_FLAG_TYPE_BOOL_ARRAY | |
| COMPAT_FLAG_TYPE_BYTE_ARRAY | |
| COMPAT_FLAG_TYPE_SHORT_ARRAY | |
| COMPAT_FLAG_TYPE_INT_ARRAY | |
◆ CompatOptionType
| Enumerator |
|---|
| CompatOptionType_Compatibility | |
| CompatOptionType_Discovery | |
◆ LookupType
| Enumerator |
|---|
| DNS_Lookup_ConfigRevision | |
◆ SecurityStrategy
| Enumerator |
|---|
| SecurityStrategy_Essential | |
| SecurityStrategy_Supported | |
◆ createIVFromPacket_inbound()
| bool OpenZWave::Internal::createIVFromPacket_inbound |
( |
uint8 const * |
_data, |
|
|
uint8 const |
m_nonce[8], |
|
|
uint8 * |
iv |
|
) |
| |
◆ DecryptBuffer()
| bool OpenZWave::Internal::DecryptBuffer |
( |
uint8 * |
e_buffer, |
|
|
uint8 |
e_length, |
|
|
Driver * |
driver, |
|
|
uint8 const |
_sendingNode, |
|
|
uint8 const |
_receivingNode, |
|
|
uint8 const |
m_nonce[8], |
|
|
uint8 * |
m_buffer |
|
) |
| |
◆ EncryptBuffer()
| bool OpenZWave::Internal::EncryptBuffer |
( |
uint8 * |
m_buffer, |
|
|
uint8 |
m_length, |
|
|
Driver * |
driver, |
|
|
uint8 const |
_sendingNode, |
|
|
uint8 const |
_receivingNode, |
|
|
uint8 const |
m_nonce[8], |
|
|
uint8 * |
e_buffer |
|
) |
| |
◆ GenerateAuthentication()
| bool OpenZWave::Internal::GenerateAuthentication |
( |
uint8 const * |
_data, |
|
|
uint32 const |
_length, |
|
|
Driver * |
driver, |
|
|
uint8 const |
_sendingNode, |
|
|
uint8 const |
_receivingNode, |
|
|
uint8 * |
iv, |
|
|
uint8 * |
_authentication |
|
) |
| |
◆ intToString()
| string OpenZWave::Internal::intToString |
( |
int |
x | ) |
|
◆ ltrim()
| std::string & OpenZWave::Internal::ltrim |
( |
std::string & |
s | ) |
|
Left Trim.
Trims whitespace from the left end of the provided std::string
- Parameters
-
| [out] | s | The std::string to trim |
- Returns
- The modified std::string&
◆ ozwdirname()
| string OpenZWave::Internal::ozwdirname |
( |
string |
m_path | ) |
|
◆ PktToString()
| string OpenZWave::Internal::PktToString |
( |
uint8 const * |
data, |
|
|
uint32 const |
length |
|
) |
| |
◆ PrintHex()
| void OpenZWave::Internal::PrintHex |
( |
std::string |
prefix, |
|
|
uint8_t const * |
data, |
|
|
uint32 const |
length |
|
) |
| |
◆ removewhitespace()
| std::string & OpenZWave::Internal::removewhitespace |
( |
std::string & |
s | ) |
|
remove all Whitespace from of a string.
- Parameters
-
- Returns
- the trimmed string
◆ rssi_to_string()
| const char * OpenZWave::Internal::rssi_to_string |
( |
uint8 |
_data | ) |
|
◆ rtrim()
| std::string & OpenZWave::Internal::rtrim |
( |
std::string & |
s | ) |
|
Right Trim.
Trims whitespace from the right end of the provided std::string
- Parameters
-
| [out] | s | The std::string to trim |
- Returns
- The modified std::string&
◆ ShouldSecureCommandClass()
◆ split()
| void OpenZWave::Internal::split |
( |
std::vector< std::string > & |
lst, |
|
|
const std::string & |
input, |
|
|
const std::string & |
separators, |
|
|
bool |
remove_empty = true |
|
) |
| |
Split a String into a Vector, separated by separators
- Parameters
-
| lst | the vector to store the results in |
| input | the input string to split |
| separators | a string containing a list of valid separators |
| remove_empty | if after splitting a string, the any of the results are a empty string, should we preserve them or not |
◆ ToLower()
| std::string OpenZWave::Internal::ToLower |
( |
string const & |
_str | ) |
|
Convert a string to all lower-case.
- Parameters
-
| _str | the string to be converted. |
- Returns
- the lower-case string.
- See also
- ToUpper, Trim
◆ ToUpper()
| std::string OpenZWave::Internal::ToUpper |
( |
string const & |
_str | ) |
|
Convert a string to all upper-case.
- Parameters
-
| _str | the string to be converted. |
- Returns
- the upper-case string.
- See also
- ToLower, Trim
◆ trim()
| std::string & OpenZWave::Internal::trim |
( |
std::string & |
s | ) |
|
Trim.
Trims whitespace from both ends of the provided std::string
- Parameters
-
| [out] | s | The std::string to trim |
- Returns
- The modified std::string&
◆ availableCompatFlags
◆ availableCompatFlagsCount
◆ availableDiscoveryFlags
◆ availableDiscoveryFlagsCount
◆ c_sceneVersion
| uint32 const OpenZWave::Internal::c_sceneVersion = 1 |
@ COMPAT_FLAG_NO_REFRESH_AFTER_SET
Definition: CompatOptionManager.h:71
@ COMPAT_FLAG_FORCEVERSION
Definition: CompatOptionManager.h:50
@ STATE_FLAG_CCVERSION
Definition: CompatOptionManager.h:72
@ STATE_FLAG_AFTERMARK
Definition: CompatOptionManager.h:74
@ COMPAT_FLAG_BASIC_IGNOREREMAPPING
Definition: CompatOptionManager.h:53
@ COMPAT_FLAG_MI_REMOVECC
Definition: CompatOptionManager.h:67
@ COMPAT_FLAG_MCA_FORCEINSTANCES
Definition: CompatOptionManager.h:57
@ COMPAT_FLAG_VERSION_GETCLASSVERSION
Definition: CompatOptionManager.h:65
@ STATE_FLAG_ENCRYPTED
Definition: CompatOptionManager.h:75
@ COMPAT_FLAG_MI_ENDPOINTHINT
Definition: CompatOptionManager.h:61
@ STATE_FLAG_INNIF
Definition: CompatOptionManager.h:76
@ COMPAT_FLAG_MI_IGNMCCAPREPORTS
Definition: CompatOptionManager.h:60
@ COMPAT_FLAG_TYPE_INT
Definition: CompatOptionManager.h:95
@ STATE_FLAG_DOORLOCK_INSIDEMODE
Definition: CompatOptionManager.h:82
@ COMPAT_FLAG_GETSUPPORTED
Definition: CompatOptionManager.h:48
@ STATE_FLAG_DOORLOCK_TIMEOUTMINS
Definition: CompatOptionManager.h:84
@ STATE_FLAG_COLOR_CHANNELS
Definition: CompatOptionManager.h:80
@ COMPAT_FLAG_MI_MAPROOTTOENDPOINT
Definition: CompatOptionManager.h:58
@ COMPAT_FLAG_UC_EXPOSERAWVALUE
Definition: CompatOptionManager.h:64
@ COMPAT_FLAG_VERIFYCHANGED
Definition: CompatOptionManager.h:68
@ COMPAT_FLAG_COLOR_IDXBUG
Definition: CompatOptionManager.h:56
@ STATE_FLAG_CS_SCENECOUNT
Definition: CompatOptionManager.h:77
@ STATE_FLAG_CCS_CHANGECOUNTER
Definition: CompatOptionManager.h:79
@ STATE_FLAG_CS_CLEARTIMEOUT
Definition: CompatOptionManager.h:78
@ STATE_FLAG_DOORLOCK_OUTSIDEMODE
Definition: CompatOptionManager.h:83
@ COMPAT_FLAG_CREATEVARS
Definition: CompatOptionManager.h:51
@ COMPAT_FLAG_TYPE_BOOL
Definition: CompatOptionManager.h:92
@ COMPAT_FLAG_WAKEUP_DELAYNMI
Definition: CompatOptionManager.h:66
@ COMPAT_FLAG_TYPE_SHORT
Definition: CompatOptionManager.h:94
@ COMPAT_FLAG_TSSP_BASE
Definition: CompatOptionManager.h:62
@ COMPAT_FLAG_TSSP_ALTTYPEINTERPRETATION
Definition: CompatOptionManager.h:63
@ STATE_FLAG_STATIC_REQUESTS
Definition: CompatOptionManager.h:73
@ COMPAT_FLAG_TYPE_BOOL_ARRAY
Definition: CompatOptionManager.h:96
@ COMPAT_FLAG_BASIC_MAPPING
Definition: CompatOptionManager.h:55
@ STATE_FLAG_USERCODE_COUNT
Definition: CompatOptionManager.h:87
@ COMPAT_FLAG_NOT_V1ALARMTYPES_ENABLED
Definition: CompatOptionManager.h:70
@ STATE_FLAG_DOORLOCKLOG_MAXRECORDS
Definition: CompatOptionManager.h:86
@ COMPAT_FLAG_MI_FORCEUNIQUEENDPOINTS
Definition: CompatOptionManager.h:59
@ STATE_FLAG_DOORLOCK_TIMEOUT
Definition: CompatOptionManager.h:81
@ COMPAT_FLAG_REFRESHONWAKEUP
Definition: CompatOptionManager.h:52
@ STATE_FLAG_DOORLOCK_TIMEOUTSECS
Definition: CompatOptionManager.h:85
@ COMPAT_FLAG_BASIC_SETASREPORT
Definition: CompatOptionManager.h:54
@ COMPAT_FLAG_NOT_ENABLECLEAR
Definition: CompatOptionManager.h:69
@ COMPAT_FLAG_OVERRIDEPRECISION
Definition: CompatOptionManager.h:49
@ COMPAT_FLAG_TYPE_BYTE
Definition: CompatOptionManager.h:93