Defs.h File Reference
`#include <assert.h>`
`#include <stdio.h>`
`#include <string>`
`#include <stdint.h>`
`#include "OZWException.h"`

Go to the source code of this file.

## Classes

struct | ozwversion

## Namespaces

| OpenZWave

## Macros

#define | OPENZWAVE_EXPORT
#define | OPENZWAVE_EXPORT_WARNINGS_OFF
#define | OPENZWAVE_EXPORT_WARNINGS_ON
#define | DEPRECATED
#define | NULL 0
#define | OPENZWAVE_DISABLE_EXCEPTIONS
#define | __MYFUNCTION__ __FILE__
#define | OZW_FATAL_ERROR(exitCode, msg)
#define | OZW_ERROR(exitCode, msg) Log::Write( LogLevel_Warning,"Exception: %s:%d - %d - %s", std::string(__MYFUNCTION__).substr(std::string(__MYFUNCTION__).find_last_of("/\\") + 1).c_str(), __LINE__, exitCode, msg);
#define | MAX_TRIES 1
#define | MAX_MAX_TRIES 7
#define | ACK_TIMEOUT 1000
#define | BYTE_TIMEOUT 150
#define | RETRY_TIMEOUT 10000
#define | SOF 0x01
#define | ACK 0x06
#define | NAK 0x15
#define | CAN 0x18
#define | NUM_NODE_BITFIELD_BYTES 29
#define | REQUEST 0x00
#define | RESPONSE 0x01
#define | ZW_CLOCK_SET 0x30
#define | TRANSMIT_OPTION_ACK 0x01
#define | TRANSMIT_OPTION_LOW_POWER 0x02
#define | TRANSMIT_OPTION_AUTO_ROUTE 0x04
#define | TRANSMIT_OPTION_NO_ROUTE 0x10
#define | TRANSMIT_OPTION_EXPLORE 0x20
#define | TRANSMIT_COMPLETE_OK 0x00
#define | TRANSMIT_COMPLETE_NO_ACK 0x01
#define | TRANSMIT_COMPLETE_FAIL 0x02
#define | TRANSMIT_COMPLETE_NOT_IDLE 0x03
#define | TRANSMIT_COMPLETE_NOROUTE 0x04
#define | RECEIVE_STATUS_ROUTED_BUSY 0x01
#define | RECEIVE_STATUS_TYPE_BROAD 0x04
#define | FUNC_ID_SERIAL_API_GET_INIT_DATA 0x02
#define | FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION 0x03
#define | FUNC_ID_APPLICATION_COMMAND_HANDLER 0x04
#define | FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES 0x05
#define | FUNC_ID_SERIAL_API_SET_TIMEOUTS 0x06
#define | FUNC_ID_SERIAL_API_GET_CAPABILITIES 0x07
#define | FUNC_ID_SERIAL_API_SOFT_RESET 0x08
#define | FUNC_ID_ZW_SEND_NODE_INFORMATION 0x12
#define | FUNC_ID_ZW_SEND_DATA 0x13
#define | FUNC_ID_ZW_GET_VERSION 0x15
#define | FUNC_ID_ZW_R_F_POWER_LEVEL_SET 0x17
#define | FUNC_ID_ZW_GET_RANDOM 0x1c
#define | FUNC_ID_ZW_MEMORY_GET_ID 0x20
#define | FUNC_ID_MEMORY_GET_BYTE 0x21
#define | FUNC_ID_ZW_READ_MEMORY 0x23
#define | FUNC_ID_ZW_SET_LEARN_NODE_STATE 0x40
#define | FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO 0x41
#define | FUNC_ID_ZW_SET_DEFAULT 0x42
#define | FUNC_ID_ZW_NEW_CONTROLLER 0x43
#define | FUNC_ID_ZW_REPLICATION_COMMAND_COMPLETE 0x44
#define | FUNC_ID_ZW_REPLICATION_SEND_DATA 0x45
#define | FUNC_ID_ZW_ASSIGN_RETURN_ROUTE 0x46
#define | FUNC_ID_ZW_DELETE_RETURN_ROUTE 0x47
#define | FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE 0x48
#define | FUNC_ID_ZW_APPLICATION_UPDATE 0x49
#define | FUNC_ID_ZW_ADD_NODE_TO_NETWORK 0x4a
#define | FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK 0x4b
#define | FUNC_ID_ZW_CREATE_NEW_PRIMARY 0x4c
#define | FUNC_ID_ZW_CONTROLLER_CHANGE 0x4d
#define | FUNC_ID_ZW_SET_LEARN_MODE 0x50
#define | FUNC_ID_ZW_ASSIGN_SUC_RETURN_ROUTE 0x51
#define | FUNC_ID_ZW_ENABLE_SUC 0x52
#define | FUNC_ID_ZW_REQUEST_NETWORK_UPDATE 0x53
#define | FUNC_ID_ZW_SET_SUC_NODE_ID 0x54
#define | FUNC_ID_ZW_DELETE_SUC_RETURN_ROUTE 0x55
#define | FUNC_ID_ZW_GET_SUC_NODE_ID 0x56
#define | FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE_OPTIONS 0x5a
#define | FUNC_ID_ZW_EXPLORE_REQUEST_INCLUSION 0x5e
#define | FUNC_ID_ZW_REQUEST_NODE_INFO 0x60
#define | FUNC_ID_ZW_REMOVE_FAILED_NODE_ID 0x61
#define | FUNC_ID_ZW_IS_FAILED_NODE_ID 0x62
#define | FUNC_ID_ZW_REPLACE_FAILED_NODE 0x63
#define | FUNC_ID_ZW_GET_ROUTING_INFO 0x80
#define | FUNC_ID_SERIAL_API_SLAVE_NODE_INFO 0xA0
#define | FUNC_ID_APPLICATION_SLAVE_COMMAND_HANDLER 0xA1
#define | FUNC_ID_ZW_SEND_SLAVE_NODE_INFO 0xA2
#define | FUNC_ID_ZW_SEND_SLAVE_DATA 0xA3
#define | FUNC_ID_ZW_SET_SLAVE_LEARN_MODE 0xA4
#define | FUNC_ID_ZW_GET_VIRTUAL_NODES 0xA5
#define | FUNC_ID_ZW_IS_VIRTUAL_NODE 0xA6
#define | FUNC_ID_ZW_SET_PROMISCUOUS_MODE 0xD0
#define | FUNC_ID_PROMISCUOUS_APPLICATION_COMMAND_HANDLER 0xD1
#define | ADD_NODE_ANY 0x01
#define | ADD_NODE_CONTROLLER 0x02
#define | ADD_NODE_SLAVE 0x03
#define | ADD_NODE_EXISTING 0x04
#define | ADD_NODE_STOP 0x05
#define | ADD_NODE_STOP_FAILED 0x06
#define | ADD_NODE_STATUS_LEARN_READY 0x01
#define | ADD_NODE_STATUS_NODE_FOUND 0x02
#define | ADD_NODE_STATUS_ADDING_SLAVE 0x03
#define | ADD_NODE_STATUS_ADDING_CONTROLLER 0x04
#define | ADD_NODE_STATUS_PROTOCOL_DONE 0x05
#define | ADD_NODE_STATUS_DONE 0x06
#define | ADD_NODE_STATUS_FAILED 0x07
#define | REMOVE_NODE_ANY 0x01
#define | REMOVE_NODE_CONTROLLER 0x02
#define | REMOVE_NODE_SLAVE 0x03
#define | REMOVE_NODE_STOP 0x05
#define | REMOVE_NODE_STATUS_LEARN_READY 0x01
#define | REMOVE_NODE_STATUS_NODE_FOUND 0x02
#define | REMOVE_NODE_STATUS_REMOVING_SLAVE 0x03
#define | REMOVE_NODE_STATUS_REMOVING_CONTROLLER 0x04
#define | REMOVE_NODE_STATUS_DONE 0x06
#define | REMOVE_NODE_STATUS_FAILED 0x07
#define | CREATE_PRIMARY_START 0x02
#define | CREATE_PRIMARY_STOP 0x05
#define | CREATE_PRIMARY_STOP_FAILED 0x06
#define | CONTROLLER_CHANGE_START 0x02
#define | CONTROLLER_CHANGE_STOP 0x05
#define | CONTROLLER_CHANGE_STOP_FAILED 0x06
#define | LEARN_MODE_STARTED 0x01
#define | LEARN_MODE_DONE 0x06
#define | LEARN_MODE_FAILED 0x07
#define | LEARN_MODE_DELETED 0x80
#define | REQUEST_NEIGHBOR_UPDATE_STARTED 0x21
#define | REQUEST_NEIGHBOR_UPDATE_DONE 0x22
#define | REQUEST_NEIGHBOR_UPDATE_FAILED 0x23
#define | FAILED_NODE_OK 0x00
#define | FAILED_NODE_REMOVED 0x01
#define | FAILED_NODE_NOT_REMOVED 0x02
#define | FAILED_NODE_REPLACE_WAITING 0x03
#define | FAILED_NODE_REPLACE_DONE 0x04
#define | FAILED_NODE_REPLACE_FAILED 0x05
#define | FAILED_NODE_REMOVE_STARTED 0x00
#define | FAILED_NODE_NOT_PRIMARY_CONTROLLER 0x02
#define | FAILED_NODE_NO_CALLBACK_FUNCTION 0x04
#define | FAILED_NODE_NOT_FOUND 0x08
#define | FAILED_NODE_REMOVE_PROCESS_BUSY 0x10
#define | FAILED_NODE_REMOVE_FAIL 0x20
#define | SUC_UPDATE_DONE 0x00
#define | SUC_UPDATE_ABORT 0x01
#define | SUC_UPDATE_WAIT 0x02
#define | SUC_UPDATE_DISABLED 0x03
#define | SUC_UPDATE_OVERFLOW 0x04
#define | SUC_FUNC_BASIC_SUC 0x00
#define | SUC_FUNC_NODEID_SERVER 0x01
#define | UPDATE_STATE_NODE_INFO_RECEIVED 0x84
#define | UPDATE_STATE_NODE_INFO_REQ_DONE 0x82
#define | UPDATE_STATE_NODE_INFO_REQ_FAILED 0x81
#define | UPDATE_STATE_ROUTING_PENDING 0x80
#define | UPDATE_STATE_NEW_ID_ASSIGNED 0x40
#define | UPDATE_STATE_DELETE_DONE 0x20
#define | UPDATE_STATE_SUC_ID 0x10
#define | APPLICATION_NODEINFO_LISTENING 0x01
#define | APPLICATION_NODEINFO_OPTIONAL_FUNCTIONALITY 0x02
#define | SLAVE_ASSIGN_COMPLETE 0x00
#define | SLAVE_ASSIGN_NODEID_DONE 0x01
#define | SLAVE_ASSIGN_RANGE_INFO_UPDATE 0x02
#define | SLAVE_LEARN_MODE_DISABLE 0x00
#define | SLAVE_LEARN_MODE_ENABLE 0x01
#define | SLAVE_LEARN_MODE_ADD 0x02
#define | SLAVE_LEARN_MODE_REMOVE 0x03
#define | OPTION_HIGH_POWER 0x80
#define | OPTION_NWI 0x40
#define | BASIC_SET 0x01
#define | BASIC_REPORT 0x03
#define | COMMAND_CLASS_BASIC 0x20
#define | COMMAND_CLASS_CONTROLLER_REPLICATION 0x21
#define | COMMAND_CLASS_APPLICATION_STATUS 0x22
#define | COMMAND_CLASS_HAIL 0x82

## Typedefs

typedef signed char | int8
typedef unsigned char | uint8
typedef signed short | int16
typedef unsigned short | uint16
typedef signed int | int32
typedef unsigned int | uint32
typedef float | float32
typedef double | float64
typedef struct ozwversion | ozwversion

## Macro Definition Documentation

## __MYFUNCTION__

#define __MYFUNCTION__ __FILE__

## ACK

#define ACK 0x06

## ACK_TIMEOUT

#define ACK_TIMEOUT 1000

## ADD_NODE_ANY

#define ADD_NODE_ANY 0x01

## ADD_NODE_CONTROLLER

#define ADD_NODE_CONTROLLER 0x02

## ADD_NODE_EXISTING

#define ADD_NODE_EXISTING 0x04

## ADD_NODE_SLAVE

#define ADD_NODE_SLAVE 0x03

## ADD_NODE_STATUS_ADDING_CONTROLLER

#define ADD_NODE_STATUS_ADDING_CONTROLLER 0x04

## ADD_NODE_STATUS_ADDING_SLAVE

#define ADD_NODE_STATUS_ADDING_SLAVE 0x03

## ADD_NODE_STATUS_DONE

#define ADD_NODE_STATUS_DONE 0x06

## ADD_NODE_STATUS_FAILED

#define ADD_NODE_STATUS_FAILED 0x07

## ADD_NODE_STATUS_LEARN_READY

#define ADD_NODE_STATUS_LEARN_READY 0x01

## ADD_NODE_STATUS_NODE_FOUND

#define ADD_NODE_STATUS_NODE_FOUND 0x02

## ADD_NODE_STATUS_PROTOCOL_DONE

#define ADD_NODE_STATUS_PROTOCOL_DONE 0x05

## ADD_NODE_STOP

#define ADD_NODE_STOP 0x05

## ADD_NODE_STOP_FAILED

#define ADD_NODE_STOP_FAILED 0x06

## APPLICATION_NODEINFO_LISTENING

#define APPLICATION_NODEINFO_LISTENING 0x01

## APPLICATION_NODEINFO_OPTIONAL_FUNCTIONALITY

#define APPLICATION_NODEINFO_OPTIONAL_FUNCTIONALITY 0x02

## BASIC_REPORT

#define BASIC_REPORT 0x03

## BASIC_SET

#define BASIC_SET 0x01

## BYTE_TIMEOUT

#define BYTE_TIMEOUT 150

## CAN

#define CAN 0x18

## COMMAND_CLASS_APPLICATION_STATUS

#define COMMAND_CLASS_APPLICATION_STATUS 0x22

## COMMAND_CLASS_BASIC

#define COMMAND_CLASS_BASIC 0x20

## COMMAND_CLASS_CONTROLLER_REPLICATION

#define COMMAND_CLASS_CONTROLLER_REPLICATION 0x21

## COMMAND_CLASS_HAIL

#define COMMAND_CLASS_HAIL 0x82

## CONTROLLER_CHANGE_START

#define CONTROLLER_CHANGE_START 0x02

## CONTROLLER_CHANGE_STOP

#define CONTROLLER_CHANGE_STOP 0x05

## CONTROLLER_CHANGE_STOP_FAILED

#define CONTROLLER_CHANGE_STOP_FAILED 0x06

## CREATE_PRIMARY_START

#define CREATE_PRIMARY_START 0x02

## CREATE_PRIMARY_STOP

#define CREATE_PRIMARY_STOP 0x05

## CREATE_PRIMARY_STOP_FAILED

#define CREATE_PRIMARY_STOP_FAILED 0x06

## DEPRECATED

#define DEPRECATED

## FAILED_NODE_NO_CALLBACK_FUNCTION

#define FAILED_NODE_NO_CALLBACK_FUNCTION 0x04

## FAILED_NODE_NOT_FOUND

#define FAILED_NODE_NOT_FOUND 0x08

## FAILED_NODE_NOT_PRIMARY_CONTROLLER

#define FAILED_NODE_NOT_PRIMARY_CONTROLLER 0x02

## FAILED_NODE_NOT_REMOVED

#define FAILED_NODE_NOT_REMOVED 0x02

## FAILED_NODE_OK

#define FAILED_NODE_OK 0x00

## FAILED_NODE_REMOVE_FAIL

#define FAILED_NODE_REMOVE_FAIL 0x20

## FAILED_NODE_REMOVE_PROCESS_BUSY

#define FAILED_NODE_REMOVE_PROCESS_BUSY 0x10

## FAILED_NODE_REMOVE_STARTED

#define FAILED_NODE_REMOVE_STARTED 0x00

## FAILED_NODE_REMOVED

#define FAILED_NODE_REMOVED 0x01

## FAILED_NODE_REPLACE_DONE

#define FAILED_NODE_REPLACE_DONE 0x04

## FAILED_NODE_REPLACE_FAILED

#define FAILED_NODE_REPLACE_FAILED 0x05

## FAILED_NODE_REPLACE_WAITING

#define FAILED_NODE_REPLACE_WAITING 0x03

## FUNC_ID_APPLICATION_COMMAND_HANDLER

#define FUNC_ID_APPLICATION_COMMAND_HANDLER 0x04

## FUNC_ID_APPLICATION_SLAVE_COMMAND_HANDLER

#define FUNC_ID_APPLICATION_SLAVE_COMMAND_HANDLER 0xA1

## FUNC_ID_MEMORY_GET_BYTE

#define FUNC_ID_MEMORY_GET_BYTE 0x21

## FUNC_ID_PROMISCUOUS_APPLICATION_COMMAND_HANDLER

#define FUNC_ID_PROMISCUOUS_APPLICATION_COMMAND_HANDLER 0xD1

## FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION

#define FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION 0x03

## FUNC_ID_SERIAL_API_GET_CAPABILITIES

#define FUNC_ID_SERIAL_API_GET_CAPABILITIES 0x07

## FUNC_ID_SERIAL_API_GET_INIT_DATA

#define FUNC_ID_SERIAL_API_GET_INIT_DATA 0x02

## FUNC_ID_SERIAL_API_SET_TIMEOUTS

#define FUNC_ID_SERIAL_API_SET_TIMEOUTS 0x06

## FUNC_ID_SERIAL_API_SLAVE_NODE_INFO

#define FUNC_ID_SERIAL_API_SLAVE_NODE_INFO 0xA0

## FUNC_ID_SERIAL_API_SOFT_RESET

#define FUNC_ID_SERIAL_API_SOFT_RESET 0x08

## FUNC_ID_ZW_ADD_NODE_TO_NETWORK

#define FUNC_ID_ZW_ADD_NODE_TO_NETWORK 0x4a

## FUNC_ID_ZW_APPLICATION_UPDATE

#define FUNC_ID_ZW_APPLICATION_UPDATE 0x49

## FUNC_ID_ZW_ASSIGN_RETURN_ROUTE

#define FUNC_ID_ZW_ASSIGN_RETURN_ROUTE 0x46

## FUNC_ID_ZW_ASSIGN_SUC_RETURN_ROUTE

#define FUNC_ID_ZW_ASSIGN_SUC_RETURN_ROUTE 0x51

## FUNC_ID_ZW_CONTROLLER_CHANGE

#define FUNC_ID_ZW_CONTROLLER_CHANGE 0x4d

## FUNC_ID_ZW_CREATE_NEW_PRIMARY

#define FUNC_ID_ZW_CREATE_NEW_PRIMARY 0x4c

## FUNC_ID_ZW_DELETE_RETURN_ROUTE

#define FUNC_ID_ZW_DELETE_RETURN_ROUTE 0x47

## FUNC_ID_ZW_DELETE_SUC_RETURN_ROUTE

#define FUNC_ID_ZW_DELETE_SUC_RETURN_ROUTE 0x55

## FUNC_ID_ZW_ENABLE_SUC

#define FUNC_ID_ZW_ENABLE_SUC 0x52

## FUNC_ID_ZW_EXPLORE_REQUEST_INCLUSION

#define FUNC_ID_ZW_EXPLORE_REQUEST_INCLUSION 0x5e

## FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES

#define FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES 0x05

## FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO

#define FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO 0x41

## FUNC_ID_ZW_GET_RANDOM

#define FUNC_ID_ZW_GET_RANDOM 0x1c

## FUNC_ID_ZW_GET_ROUTING_INFO

#define FUNC_ID_ZW_GET_ROUTING_INFO 0x80

## FUNC_ID_ZW_GET_SUC_NODE_ID

#define FUNC_ID_ZW_GET_SUC_NODE_ID 0x56

## FUNC_ID_ZW_GET_VERSION

#define FUNC_ID_ZW_GET_VERSION 0x15

## FUNC_ID_ZW_GET_VIRTUAL_NODES

#define FUNC_ID_ZW_GET_VIRTUAL_NODES 0xA5

## FUNC_ID_ZW_IS_FAILED_NODE_ID

#define FUNC_ID_ZW_IS_FAILED_NODE_ID 0x62

## FUNC_ID_ZW_IS_VIRTUAL_NODE

#define FUNC_ID_ZW_IS_VIRTUAL_NODE 0xA6

## FUNC_ID_ZW_MEMORY_GET_ID

#define FUNC_ID_ZW_MEMORY_GET_ID 0x20

## FUNC_ID_ZW_NEW_CONTROLLER

#define FUNC_ID_ZW_NEW_CONTROLLER 0x43

## FUNC_ID_ZW_R_F_POWER_LEVEL_SET

#define FUNC_ID_ZW_R_F_POWER_LEVEL_SET 0x17

## FUNC_ID_ZW_READ_MEMORY

#define FUNC_ID_ZW_READ_MEMORY 0x23

## FUNC_ID_ZW_REMOVE_FAILED_NODE_ID

#define FUNC_ID_ZW_REMOVE_FAILED_NODE_ID 0x61

## FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK

#define FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK 0x4b

## FUNC_ID_ZW_REPLACE_FAILED_NODE

#define FUNC_ID_ZW_REPLACE_FAILED_NODE 0x63

## FUNC_ID_ZW_REPLICATION_COMMAND_COMPLETE

#define FUNC_ID_ZW_REPLICATION_COMMAND_COMPLETE 0x44

## FUNC_ID_ZW_REPLICATION_SEND_DATA

#define FUNC_ID_ZW_REPLICATION_SEND_DATA 0x45

## FUNC_ID_ZW_REQUEST_NETWORK_UPDATE

#define FUNC_ID_ZW_REQUEST_NETWORK_UPDATE 0x53

## FUNC_ID_ZW_REQUEST_NODE_INFO

#define FUNC_ID_ZW_REQUEST_NODE_INFO 0x60

## FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE

#define FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE 0x48

## FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE_OPTIONS

#define FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE_OPTIONS 0x5a

## FUNC_ID_ZW_SEND_DATA

#define FUNC_ID_ZW_SEND_DATA 0x13

## FUNC_ID_ZW_SEND_NODE_INFORMATION

#define FUNC_ID_ZW_SEND_NODE_INFORMATION 0x12

## FUNC_ID_ZW_SEND_SLAVE_DATA

#define FUNC_ID_ZW_SEND_SLAVE_DATA 0xA3

## FUNC_ID_ZW_SEND_SLAVE_NODE_INFO

#define FUNC_ID_ZW_SEND_SLAVE_NODE_INFO 0xA2

## FUNC_ID_ZW_SET_DEFAULT

#define FUNC_ID_ZW_SET_DEFAULT 0x42

## FUNC_ID_ZW_SET_LEARN_MODE

#define FUNC_ID_ZW_SET_LEARN_MODE 0x50

## FUNC_ID_ZW_SET_LEARN_NODE_STATE

#define FUNC_ID_ZW_SET_LEARN_NODE_STATE 0x40

## FUNC_ID_ZW_SET_PROMISCUOUS_MODE

#define FUNC_ID_ZW_SET_PROMISCUOUS_MODE 0xD0

## FUNC_ID_ZW_SET_SLAVE_LEARN_MODE

#define FUNC_ID_ZW_SET_SLAVE_LEARN_MODE 0xA4

## FUNC_ID_ZW_SET_SUC_NODE_ID

#define FUNC_ID_ZW_SET_SUC_NODE_ID 0x54

## LEARN_MODE_DELETED

#define LEARN_MODE_DELETED 0x80

## LEARN_MODE_DONE

#define LEARN_MODE_DONE 0x06

## LEARN_MODE_FAILED

#define LEARN_MODE_FAILED 0x07

## LEARN_MODE_STARTED

#define LEARN_MODE_STARTED 0x01

## MAX_MAX_TRIES

#define MAX_MAX_TRIES 7

## MAX_TRIES

#define MAX_TRIES 1

## NAK

#define NAK 0x15

## NULL

#define NULL 0

## NUM_NODE_BITFIELD_BYTES

#define NUM_NODE_BITFIELD_BYTES 29

## OPENZWAVE_DISABLE_EXCEPTIONS

#define OPENZWAVE_DISABLE_EXCEPTIONS

## OPENZWAVE_EXPORT

#define OPENZWAVE_EXPORT

## OPENZWAVE_EXPORT_WARNINGS_OFF

#define OPENZWAVE_EXPORT_WARNINGS_OFF

## OPENZWAVE_EXPORT_WARNINGS_ON

#define OPENZWAVE_EXPORT_WARNINGS_ON

## OPTION_HIGH_POWER

#define OPTION_HIGH_POWER 0x80

## OPTION_NWI

#define OPTION_NWI 0x40

## OZW_ERROR

#define OZW_ERROR | ( |  | exitCode,
|  |  | msg
| ) |  | Log::Write( LogLevel_Warning,"Exception: %s:%d - %d - %s", std::string(__MYFUNCTION__).substr(std::string(__MYFUNCTION__).find_last_of("/\\") + 1).c_str(), __LINE__, exitCode, msg);

## OZW_FATAL_ERROR

#define OZW_FATAL_ERROR | ( |  | exitCode,
|  |  | msg
| ) |  |

Value:
Log::Write( LogLevel_Error,"Exception: %s:%d - %d - %s", std::string(__MYFUNCTION__).substr(std::string(__MYFUNCTION__).find_last_of("/\\") + 1).c_str(), __LINE__, exitCode, msg); \
std::cerr << "Error: "<< std::string(__MYFUNCTION__).substr(std::string(__MYFUNCTION__).find_last_of("/\\") + 1) << ":" << __LINE__ << " - " << msg << std::endl; exit(exitCode)
OpenZWave::LogLevel_Error
Definition: Log.h:47
__MYFUNCTION__
#define __MYFUNCTION__
Definition: Defs.h:153

## RECEIVE_STATUS_ROUTED_BUSY

#define RECEIVE_STATUS_ROUTED_BUSY 0x01

## RECEIVE_STATUS_TYPE_BROAD

#define RECEIVE_STATUS_TYPE_BROAD 0x04

## REMOVE_NODE_ANY

#define REMOVE_NODE_ANY 0x01

## REMOVE_NODE_CONTROLLER

#define REMOVE_NODE_CONTROLLER 0x02

## REMOVE_NODE_SLAVE

#define REMOVE_NODE_SLAVE 0x03

## REMOVE_NODE_STATUS_DONE

#define REMOVE_NODE_STATUS_DONE 0x06

## REMOVE_NODE_STATUS_FAILED

#define REMOVE_NODE_STATUS_FAILED 0x07

## REMOVE_NODE_STATUS_LEARN_READY

#define REMOVE_NODE_STATUS_LEARN_READY 0x01

## REMOVE_NODE_STATUS_NODE_FOUND

#define REMOVE_NODE_STATUS_NODE_FOUND 0x02

## REMOVE_NODE_STATUS_REMOVING_CONTROLLER

#define REMOVE_NODE_STATUS_REMOVING_CONTROLLER 0x04

## REMOVE_NODE_STATUS_REMOVING_SLAVE

#define REMOVE_NODE_STATUS_REMOVING_SLAVE 0x03

## REMOVE_NODE_STOP

#define REMOVE_NODE_STOP 0x05

## REQUEST

#define REQUEST 0x00

## REQUEST_NEIGHBOR_UPDATE_DONE

#define REQUEST_NEIGHBOR_UPDATE_DONE 0x22

## REQUEST_NEIGHBOR_UPDATE_FAILED

#define REQUEST_NEIGHBOR_UPDATE_FAILED 0x23

## REQUEST_NEIGHBOR_UPDATE_STARTED

#define REQUEST_NEIGHBOR_UPDATE_STARTED 0x21

## RESPONSE

#define RESPONSE 0x01

## RETRY_TIMEOUT

#define RETRY_TIMEOUT 10000

## SLAVE_ASSIGN_COMPLETE

#define SLAVE_ASSIGN_COMPLETE 0x00

## SLAVE_ASSIGN_NODEID_DONE

#define SLAVE_ASSIGN_NODEID_DONE 0x01

## SLAVE_ASSIGN_RANGE_INFO_UPDATE

#define SLAVE_ASSIGN_RANGE_INFO_UPDATE 0x02

## SLAVE_LEARN_MODE_ADD

#define SLAVE_LEARN_MODE_ADD 0x02

## SLAVE_LEARN_MODE_DISABLE

#define SLAVE_LEARN_MODE_DISABLE 0x00

## SLAVE_LEARN_MODE_ENABLE

#define SLAVE_LEARN_MODE_ENABLE 0x01

## SLAVE_LEARN_MODE_REMOVE

#define SLAVE_LEARN_MODE_REMOVE 0x03

## SOF

#define SOF 0x01

## SUC_FUNC_BASIC_SUC

#define SUC_FUNC_BASIC_SUC 0x00

## SUC_FUNC_NODEID_SERVER

#define SUC_FUNC_NODEID_SERVER 0x01

## SUC_UPDATE_ABORT

#define SUC_UPDATE_ABORT 0x01

## SUC_UPDATE_DISABLED

#define SUC_UPDATE_DISABLED 0x03

## SUC_UPDATE_DONE

#define SUC_UPDATE_DONE 0x00

## SUC_UPDATE_OVERFLOW

#define SUC_UPDATE_OVERFLOW 0x04

## SUC_UPDATE_WAIT

#define SUC_UPDATE_WAIT 0x02

## TRANSMIT_COMPLETE_FAIL

#define TRANSMIT_COMPLETE_FAIL 0x02

## TRANSMIT_COMPLETE_NO_ACK

#define TRANSMIT_COMPLETE_NO_ACK 0x01

## TRANSMIT_COMPLETE_NOROUTE

#define TRANSMIT_COMPLETE_NOROUTE 0x04

## TRANSMIT_COMPLETE_NOT_IDLE

#define TRANSMIT_COMPLETE_NOT_IDLE 0x03

## TRANSMIT_COMPLETE_OK

#define TRANSMIT_COMPLETE_OK 0x00

## TRANSMIT_OPTION_ACK

#define TRANSMIT_OPTION_ACK 0x01

## TRANSMIT_OPTION_AUTO_ROUTE

#define TRANSMIT_OPTION_AUTO_ROUTE 0x04

## TRANSMIT_OPTION_EXPLORE

#define TRANSMIT_OPTION_EXPLORE 0x20

## TRANSMIT_OPTION_LOW_POWER

#define TRANSMIT_OPTION_LOW_POWER 0x02

## TRANSMIT_OPTION_NO_ROUTE

#define TRANSMIT_OPTION_NO_ROUTE 0x10

## UPDATE_STATE_DELETE_DONE

#define UPDATE_STATE_DELETE_DONE 0x20

## UPDATE_STATE_NEW_ID_ASSIGNED

#define UPDATE_STATE_NEW_ID_ASSIGNED 0x40

## UPDATE_STATE_NODE_INFO_RECEIVED

#define UPDATE_STATE_NODE_INFO_RECEIVED 0x84

## UPDATE_STATE_NODE_INFO_REQ_DONE

#define UPDATE_STATE_NODE_INFO_REQ_DONE 0x82

## UPDATE_STATE_NODE_INFO_REQ_FAILED

#define UPDATE_STATE_NODE_INFO_REQ_FAILED 0x81

## UPDATE_STATE_ROUTING_PENDING

#define UPDATE_STATE_ROUTING_PENDING 0x80

## UPDATE_STATE_SUC_ID

#define UPDATE_STATE_SUC_ID 0x10

## ZW_CLOCK_SET

#define ZW_CLOCK_SET 0x30

## Typedef Documentation

## float32

typedef float float32

## float64

typedef double float64

## int16

typedef signed short int16

## int32

typedef signed int int32

## int8

typedef signed char int8

## ozwversion

typedef struct ozwversion ozwversion

## uint16

typedef unsigned short uint16

## uint32

typedef unsigned int uint32

## uint8

typedef unsigned char uint8