![]() |
OpenZWave Library 1.6.0
|
The Driver class handles communication between OpenZWave and a device attached via a serial port (typically a controller). More...
#include <Driver.h>
Classes | |
struct | DriverData |
Public Member Functions | |
TimerThread * | GetTimer () |
uint8 | GetNodeNumber (Msg const *_msg) const |
void | SendMsg (Msg *_msg, MsgQueue const _queue) |
uint8 | GetTransmitOptions () const |
void | LogDriverStatistics () |
aes_encrypt_ctx * | GetAuthKey () |
aes_encrypt_ctx * | GetEncKey () |
bool | isNetworkKeySet () |
bool | CheckNodeConfigRevision (Node *) |
bool | CheckMFSConfigRevision () |
void | ReloadNode (uint8 const _nodeId) |
bool | setHttpClient (i_HttpClient *client) |
string const | GetMetaData (uint8 const _nodeId, Node::MetaDataFields _metadata) |
Node::ChangeLogEntry const | GetChangeLog (uint8 const _nodeId, uint32_t revision) |
ManufacturerSpecificDB * | GetManufacturerSpecificDB () |
bool | downloadConfigRevision (Node *) |
bool | downloadMFSRevision () |
Friends | |
class | Manager |
class | Node |
class | Group |
class | CommandClass |
class | ControllerReplication |
class | DNSThread |
class | i_HttpClient |
class | Value |
class | ValueStore |
class | ValueButton |
class | Association |
class | Basic |
class | ManufacturerSpecific |
class | MultiChannelAssociation |
class | NodeNaming |
class | NoOperation |
class | SceneActivation |
class | WakeUp |
class | ApplicationStatus |
class | Security |
class | Msg |
class | ManufacturerSpecificDB |
class | TimerThread |
The Driver class handles communication between OpenZWave and a device attached via a serial port (typically a controller).
typedef void(* OpenZWave::Driver::pfnControllerCallback_t) (ControllerState _state, ControllerError _err, void *_context) |
Controller Commands. Commands to be used with the BeginControllerCommand method.
Controller Errors Provide some more information about controller failures.
Controller States. States reported via the callback handler passed into the BeginControllerCommand method.
Enumerator | |
---|---|
ControllerState_Normal | No command in progress. |
ControllerState_Starting | The command is starting. |
ControllerState_Cancel | The command was canceled. |
ControllerState_Error | Command invocation had error(s) and was aborted |
ControllerState_Waiting | Controller is waiting for a user action. |
ControllerState_Sleeping | Controller command is on a sleep queue wait for device. |
ControllerState_InProgress | The controller is communicating with the other device to carry out the command. |
ControllerState_Completed | The command has completed successfully. |
ControllerState_Failed | The command has failed. |
ControllerState_NodeOK | Used only with ControllerCommand_HasNodeFailed to indicate that the controller thinks the node is OK. |
ControllerState_NodeFailed | Used only with ControllerCommand_HasNodeFailed to indicate that the controller thinks the node has failed. |
bool Driver::CheckMFSConfigRevision | ( | ) |
bool Driver::CheckNodeConfigRevision | ( | Node * | node | ) |
bool Driver::downloadConfigRevision | ( | Node * | node | ) |
bool Driver::downloadMFSRevision | ( | ) |
aes_encrypt_ctx * Driver::GetAuthKey | ( | ) |
Node::ChangeLogEntry const Driver::GetChangeLog | ( | uint8 const | _nodeId, |
uint32_t | revision ) |
aes_encrypt_ctx * Driver::GetEncKey | ( | ) |
ManufacturerSpecificDB * Driver::GetManufacturerSpecificDB | ( | ) |
string const Driver::GetMetaData | ( | uint8 const | _nodeId, |
Node::MetaDataFields | _metadata ) |
|
inline |
|
inline |
Fetch the transmit options
bool Driver::isNetworkKeySet | ( | ) |
void Driver::LogDriverStatistics | ( | ) |
void Driver::ReloadNode | ( | uint8 const | _nodeId | ) |
bool Driver::setHttpClient | ( | i_HttpClient * | client | ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |