119 typedef void (*pfnOnNotification_t)(
Notification const* _pNotification,
void* _context);
157 static void Destroy();
163 static std::string getVersionAsString();
169 static std::string getVersionLongAsString();
253 bool RemoveDriver(
string const& _controllerPath);
283 bool IsPrimaryController(
uint32 const _homeId);
292 bool IsStaticUpdateController(
uint32 const _homeId);
301 bool IsBridgeController(
uint32 const _homeId);
310 bool HasExtendedTxStatus(
uint32 const _homeId);
317 string GetLibraryVersion(
uint32 const _homeId);
338 string GetLibraryTypeName(
uint32 const _homeId);
351 void LogDriverStatistics(
uint32 const _homeId);
363 string GetControllerPath(
uint32 const _homeId);
368 void SetDriverReady(
Driver* _driver,
bool success);
369 list<Driver*> m_pendingDrivers;
370 map<uint32, Driver*> m_readyDrivers;
385 int32 GetPollInterval();
398 void SetPollInterval(
int32 _milliseconds,
bool _bIntervalBetweenPolls);
406 bool EnablePoll(
ValueID const &_valueId,
uint8 const _intensity = 1);
413 bool DisablePoll(
ValueID const &_valueId);
420 bool isPolled(
ValueID const &_valueId);
426 void SetPollIntensity(
ValueID const &_valueId,
uint8 const _intensity);
457 bool RefreshNodeInfo(
uint32 const _homeId,
uint8 const _nodeId);
467 bool RequestNodeState(
uint32 const _homeId,
uint8 const _nodeId);
477 bool RequestNodeDynamic(
uint32 const _homeId,
uint8 const _nodeId);
485 bool IsNodeListeningDevice(
uint32 const _homeId,
uint8 const _nodeId);
494 bool IsNodeFrequentListeningDevice(
uint32 const _homeId,
uint8 const _nodeId);
502 bool IsNodeBeamingDevice(
uint32 const _homeId,
uint8 const _nodeId);
510 bool IsNodeRoutingDevice(
uint32 const _homeId,
uint8 const _nodeId);
518 bool IsNodeSecurityDevice(
uint32 const _homeId,
uint8 const _nodeId);
551 bool IsNodeZWavePlus(
uint32 const _homeId,
uint8 const _nodeId);
567 string GetNodeBasicString(
uint32 const _homeId,
uint8 const _nodeId);
586 string GetNodeGenericString(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _instance = 0);
604 string GetNodeSpecificString(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _instance = 0);
614 string GetNodeType(
uint32 const _homeId,
uint8 const _nodeId);
637 void SyncronizeNodeNeighbors(
uint32 const _homeId,
uint8 const _nodeId);
652 string GetNodeManufacturerName(
uint32 const _homeId,
uint8 const _nodeId);
667 string GetNodeProductName(
uint32 const _homeId,
uint8 const _nodeId);
681 string GetNodeName(
uint32 const _homeId,
uint8 const _nodeId);
694 string GetNodeLocation(
uint32 const _homeId,
uint8 const _nodeId);
710 string GetNodeManufacturerId(
uint32 const _homeId,
uint8 const _nodeId);
726 string GetNodeProductType(
uint32 const _homeId,
uint8 const _nodeId);
742 string GetNodeProductId(
uint32 const _homeId,
uint8 const _nodeId);
757 void SetNodeManufacturerName(
uint32 const _homeId,
uint8 const _nodeId,
string const& _manufacturerName);
772 void SetNodeProductName(
uint32 const _homeId,
uint8 const _nodeId,
string const& _productName);
787 void SetNodeName(
uint32 const _homeId,
uint8 const _nodeId,
string const& _nodeName);
801 void SetNodeLocation(
uint32 const _homeId,
uint8 const _nodeId,
string const& _location);
849 bool IsNodeInfoReceived(
uint32 const _homeId,
uint8 const _nodeId);
858 bool GetNodeClassInformation(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _commandClassId,
string *_className =
NULL,
uint8 *_classVersion =
NULL);
865 string GetCommandClassName(
uint8 const _commandClassId);
873 bool IsNodeAwake(
uint32 const _homeId,
uint8 const _nodeId);
881 bool IsNodeFailed(
uint32 const _homeId,
uint8 const _nodeId);
889 string GetNodeQueryStage(
uint32 const _homeId,
uint8 const _nodeId);
905 string GetNodeDeviceTypeString(
uint32 const _homeId,
uint8 const _nodeId);
921 string GetNodeRoleString(
uint32 const _homeId,
uint8 const _nodeId);
936 string GetNodePlusTypeString(
uint32 const _homeId,
uint8 const _nodeId);
957 string GetInstanceLabel(
ValueID const &_id);
971 string GetInstanceLabel(
uint32 const _homeId,
uint8 const _node,
uint8 const _cc,
uint8 const _instance);
992 string GetValueLabel(
ValueID const& _id,
int32 _pos = -1);
1003 void SetValueLabel(
ValueID const& _id,
string const& _value,
int32 _pos = -1);
1013 string GetValueUnits(
ValueID const& _id);
1023 void SetValueUnits(
ValueID const& _id,
string const& _value);
1034 string GetValueHelp(
ValueID const& _id,
int32 _pos = -1);
1045 void SetValueHelp(
ValueID const& _id,
string const& _value,
int32 _pos = -1);
1075 bool IsValueReadOnly(
ValueID const& _id);
1085 bool IsValueWriteOnly(
ValueID const& _id);
1095 bool IsValueSet(
ValueID const& _id);
1105 bool IsValuePolled(
ValueID const& _id);
1113 bool IsValueValid(
ValueID const& _id);
1127 bool GetValueAsBitSet(
ValueID const& _id,
uint8 _pos,
bool* o_value);
1139 bool GetValueAsBool(
ValueID const& _id,
bool* o_value);
1151 bool GetValueAsByte(
ValueID const& _id,
uint8* o_value);
1163 bool GetValueAsFloat(
ValueID const& _id,
float* o_value);
1175 bool GetValueAsInt(
ValueID const& _id,
int32* o_value);
1187 bool GetValueAsShort(
ValueID const& _id,
int16* o_value);
1200 bool GetValueAsString(
ValueID const& _id,
string* o_value);
1225 bool GetValueListSelection(
ValueID const& _id,
string* o_value);
1237 bool GetValueListSelection(
ValueID const& _id,
int32* o_value);
1249 bool GetValueListItems(
ValueID const& _id, vector<string>* o_value);
1261 bool GetValueListValues(
ValueID const& _id, vector<int32>* o_value);
1273 bool GetValueFloatPrecision(
ValueID const& _id,
uint8* o_value);
1289 bool SetValue(
ValueID const& _id,
uint8 _pos,
bool const _value);
1304 bool SetValue(
ValueID const& _id,
bool const _value);
1333 bool SetValue(
ValueID const& _id,
float const _value);
1389 bool SetValue(
ValueID const& _id,
string const& _value);
1404 bool SetValueListSelection(
ValueID const& _id,
string const& _selectedItem);
1415 bool RefreshValue(
ValueID const& _id);
1427 void SetChangeVerified(
ValueID const& _id,
bool _verify);
1438 bool GetChangeVerified(
ValueID const& _id);
1449 bool PressButton(
ValueID const& _id);
1460 bool ReleaseButton(
ValueID const& _id);
1546 bool SetSwitchPoint(
ValueID const& _id,
uint8 const _hours,
uint8 const _minutes,
int8 const _setback);
1563 bool RemoveSwitchPoint(
ValueID const& _id,
uint8 const _hours,
uint8 const _minutes);
1573 void ClearSwitchPoints(
ValueID const& _id);
1668 void RequestConfigParam(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _param);
1676 void RequestAllConfigParams(
uint32 const _homeId,
uint8 const _nodeId);
1745 bool IsMultiInstance(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _groupIdx);
1755 string GetGroupLabel(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _groupIdx);
1769 void AddAssociation(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _groupIdx,
uint8 const _targetNodeId,
uint8 const _instance = 0x00);
1783 void RemoveAssociation(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _groupIdx,
uint8 const _targetNodeId,
uint8 const _instance = 0x00);
1805 bool AddWatcher(pfnOnNotification_t _watcher,
void* _context);
1814 bool RemoveWatcher(pfnOnNotification_t _watcher,
void* _context);
1822 pfnOnNotification_t m_callback;
1825 Watcher(pfnOnNotification_t _callback,
void* _context) :
1826 m_callback(_callback), m_context(_context)
1831 list<Watcher*> m_watchers;
1832 list<list<Watcher*>::iterator*> m_watcherIterators;
1833 Internal::Platform::Mutex* m_notificationMutex;
1849 void ResetController(
uint32 const _homeId);
1857 void SoftReset(
uint32 const _homeId);
1923 bool CancelControllerCommand(
uint32 const _homeId);
1942 void TestNetworkNode(
uint32 const _homeId,
uint8 const _nodeId,
uint32 const _count);
1951 void TestNetwork(
uint32 const _homeId,
uint32 const _count);
1960 void HealNetworkNode(
uint32 const _homeId,
uint8 const _nodeId,
bool _doRR);
1969 void HealNetwork(
uint32 const _homeId,
bool _doRR);
1984 bool AddNode(
uint32 const _homeId,
bool _doSecurity =
true);
1998 bool RemoveNode(
uint32 const _homeId);
2016 bool RemoveFailedNode(
uint32 const _homeId,
uint8 const _nodeId);
2032 bool HasNodeFailed(
uint32 const _homeId,
uint8 const _nodeId);
2046 bool RequestNodeNeighborUpdate(
uint32 const _homeId,
uint8 const _nodeId);
2060 bool AssignReturnRoute(
uint32 const _homeId,
uint8 const _nodeId);
2074 bool DeleteAllReturnRoutes(
uint32 const _homeId,
uint8 const _nodeId);
2085 bool SendNodeInformation(
uint32 const _homeId,
uint8 const _nodeId);
2098 bool CreateNewPrimary(
uint32 const _homeId);
2111 bool ReceiveConfiguration(
uint32 const _homeId);
2127 bool ReplaceFailedNode(
uint32 const _homeId,
uint8 const _nodeId);
2140 bool TransferPrimaryRole(
uint32 const _homeId);
2153 bool RequestNetworkUpdate(
uint32 const _homeId,
uint8 const _nodeId);
2166 bool ReplicationSend(
uint32 const _homeId,
uint8 const _nodeId);
2182 bool CreateButton(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _buttonid);
2198 bool DeleteButton(
uint32 const _homeId,
uint8 const _nodeId,
uint8 const _buttonid);
2214 void SendRawData(
uint32 const _homeId,
uint8 const _nodeId,
string const& _logText,
uint8 const _msgType,
const bool _sendSecure,
uint8 const* _content,
uint8 const _length);
2280 DEPRECATED bool AddSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
bool const _value);
2291 DEPRECATED bool AddSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
uint8 const _value);
2302 DEPRECATED bool AddSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
float const _value);
2313 DEPRECATED bool AddSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
int32 const _value);
2324 DEPRECATED bool AddSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
int16 const _value);
2335 DEPRECATED bool AddSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
string const& _value);
2346 DEPRECATED bool AddSceneValueListSelection(
uint8 const _sceneId, ValueID
const& _valueId,
string const& _value);
2357 DEPRECATED bool AddSceneValueListSelection(
uint8 const _sceneId, ValueID
const& _valueId,
int32 const _value);
2367 DEPRECATED bool RemoveSceneValue(
uint8 const _sceneId, ValueID
const& _valueId);
2377 DEPRECATED int SceneGetValues(
uint8 const _sceneId, vector<ValueID>* o_value);
2388 DEPRECATED bool SceneGetValueAsBool(
uint8 const _sceneId, ValueID
const& _valueId,
bool* o_value);
2399 DEPRECATED bool SceneGetValueAsByte(
uint8 const _sceneId, ValueID
const& _valueId,
uint8* o_value);
2410 DEPRECATED bool SceneGetValueAsFloat(
uint8 const _sceneId, ValueID
const& _valueId,
float* o_value);
2421 DEPRECATED bool SceneGetValueAsInt(
uint8 const _sceneId, ValueID
const& _valueId,
int32* o_value);
2432 DEPRECATED bool SceneGetValueAsShort(
uint8 const _sceneId, ValueID
const& _valueId,
int16* o_value);
2443 DEPRECATED bool SceneGetValueAsString(
uint8 const _sceneId, ValueID
const& _valueId,
string* o_value);
2454 DEPRECATED bool SceneGetValueListSelection(
uint8 const _sceneId, ValueID
const& _valueId,
string* o_value);
2465 DEPRECATED bool SceneGetValueListSelection(
uint8 const _sceneId, ValueID
const& _valueId,
int32* o_value);
2476 DEPRECATED bool SetSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
bool const _value);
2487 DEPRECATED bool SetSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
uint8 const _value);
2498 DEPRECATED bool SetSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
float const _value);
2509 DEPRECATED bool SetSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
int32 const _value);
2520 DEPRECATED bool SetSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
int16 const _value);
2531 DEPRECATED bool SetSceneValue(
uint8 const _sceneId, ValueID
const& _valueId,
string const& _value);
2542 DEPRECATED bool SetSceneValueListSelection(
uint8 const _sceneId, ValueID
const& _valueId,
string const& _value);
2553 DEPRECATED bool SetSceneValueListSelection(
uint8 const _sceneId, ValueID
const& _valueId,
int32 const _value);
2571 DEPRECATED void SetSceneLabel(
uint8 const _sceneId,
string const& _value);
2606 void GetDriverStatistics(
uint32 const _homeId, Driver::DriverData* _data);
2614 void GetNodeStatistics(
uint32 const _homeId,
uint8 const _nodeId, Node::NodeData* _data);
2621 static string GetNodeRouteScheme(Node::NodeData *_data);
2628 static string GetNodeRouteSpeed(Node::NodeData *_data);
2655 Node::ChangeLogEntry
const GetChangeLog(
uint32 const _homeId,
uint8 const _nodeId, uint32_t revision);
2678 bool checkLatestConfigFileRevision(
uint32 const _homeId,
uint8 const _nodeId);
2690 bool checkLatestMFSRevision(
uint32 const _homeId);
2708 bool downloadLatestConfigFileRevision(
uint32 const _homeId,
uint8 const _nodeId);
2721 bool downloadLatestMFSRevision(
uint32 const _homeId);
2729 #endif // _Manager_H Definition: Bitfield.cpp:30
#define OPENZWAVE_EXPORT
Definition: Defs.h:52
unsigned short uint16
Definition: Defs.h:88
The main public interface to OpenZWave.
Definition: Manager.h:108
MetaDataFields
Definition: Node.h:878
#define DEPRECATED
Definition: Defs.h:61
Container that holds all of the values associated with a given node.
Definition: ValueStore.h:49
The Node class describes a Z-Wave node object...typically a device on the Z-Wave network.
Definition: Node.h:81
#define NULL
Definition: Defs.h:81
Base class for all Z-Wave command classes.
Definition: CommandClass.h:60
ControllerCommand
Definition: Driver.h:553
signed short int16
Definition: Defs.h:87
ControllerInterface
Definition: Driver.h:111
signed char int8
Definition: Defs.h:84
The Driver class handles communication between OpenZWave and a device attached via a serial port (typ...
Definition: Driver.h:84
Manages library options read from XML files or the command line.
Definition: Options.h:66
signed int int32
Definition: Defs.h:90
unsigned int uint32
Definition: Defs.h:91
Manages a group of devices (various nodes associated with each other).
Definition: Group.h:71
Provides a container for data sent via the notification callback handler installed by a call to Manag...
Definition: Notification.h:62
Provides a unique ID for a value reported by a Z-Wave device.The ValueID is used to uniquely identify...
Definition: ValueID.h:76
Options * GetOptions() const
Gets a pointer to the locked Options object.
Definition: Manager.h:212
static Manager * Get()
Gets a pointer to the Manager object.
Definition: Manager.h:148
void(* pfnControllerCallback_t)(ControllerState _state, ControllerError _err, void *_context)
Definition: Driver.h:615
Message object to be passed to and from devices on the Z-Wave network.
Definition: Msg.h:50
Base class for values associated with a node.
Definition: Value.h:54
unsigned char uint8
Definition: Defs.h:85