Z-Wave Transport API#
Z-Wave Transport Application layer interface.
The Z Wave transport layer controls transfer of data between Z Wave nodes including retransmission, frame check and acknowledgement. The Z Wave transport interface includes functions for transfer of data to other Z Wave nodes. Application data received from other nodes is handed over to the application via the ApplicationCommandHandler function. The ZW_MAX_NODES define defines the maximum of nodes possible in a Z Wave network.
Modules#
Typedefs#
The universal TX-Option flag count.
Transmit options for ZW_SendDataEx.
Transmit options for ZW_SendDataMultiEx.
Macros#
Max number of Long Range nodes in a Z-wave system Must not be higher than 4000 according to specs.
max. number of parameters
Number of bytes in a homeID.
Predefined Node ID's.
Max hops in route.
TX_STATUS_TYPE Last Used Route array size definitions.
This flag will activate frame delivery.
This flag must be present on all single cast followup messages.
This flag must be present on the first, and only the first single cast followup message in a S2 multicast transmission.
Typedef Documentation#
TxOptions_t#
typedef uint32_t TxOptions_t
The universal TX-Option flag count.
40
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
S_ROUTE_LINK_T#
typedef struct _S_ROUTE_LINK_T_ S_ROUTE_LINK_T
136
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
TX_STATUS_TYPE#
typedef struct _TX_STATUS_TYPE_ TX_STATUS_TYPE
157
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
RECEIVE_OPTIONS_TYPE#
typedef struct _RECEIVE_OPTIONS_TYPE RECEIVE_OPTIONS_TYPE
185
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
TRANSMIT_OPTIONS_TYPE#
typedef struct _TRANSMIT_OPTIONS_TYPE TRANSMIT_OPTIONS_TYPE
Transmit options for ZW_SendDataEx.
228
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
TRANSMIT_MULTI_OPTIONS_TYPE#
typedef struct _TRANSMIT_MULTI_OPTIONS_TYPE TRANSMIT_MULTI_OPTIONS_TYPE
Transmit options for ZW_SendDataMultiEx.
242
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
Macro Definition Documentation#
ZW_MAX_NODES#
#define ZW_MAX_NODESValue:
232
27
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
ZW_MAX_NODES_LR#
#define ZW_MAX_NODES_LRValue:
1024
Max number of Long Range nodes in a Z-wave system Must not be higher than 4000 according to specs.
31
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
LOWEST_LONG_RANGE_NODE_ID#
#define LOWEST_LONG_RANGE_NODE_IDValue:
(0x0100)
33
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
HIGHEST_LONG_RANGE_NODE_ID#
#define HIGHEST_LONG_RANGE_NODE_IDValue:
(LOWEST_LONG_RANGE_NODE_ID + ZW_MAX_NODES_LR - 1)
35
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
NODEPARM_MAX#
#define NODEPARM_MAXValue:
35
max. number of parameters
37
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
HOMEID_LENGTH#
#define HOMEID_LENGTHValue:
4
Number of bytes in a homeID.
38
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
NODE_BROADCAST#
#define NODE_BROADCASTValue:
0xFF
Predefined Node ID's.
broadcast
96
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
ZW_TEST_NOT_A_NODEID#
#define ZW_TEST_NOT_A_NODEIDValue:
0x00
97
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
ZW_MAX_CACHED_RETURN_ROUTE_DESTINATIONS#
#define ZW_MAX_CACHED_RETURN_ROUTE_DESTINATIONSValue:
5
116
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
MAX_REPEATERS#
#define MAX_REPEATERSValue:
4
Max hops in route.
119
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
LAST_USED_ROUTE_CONF_SIZE#
#define LAST_USED_ROUTE_CONF_SIZEValue:
1
TX_STATUS_TYPE Last Used Route array size definitions.
122
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
LAST_USED_ROUTE_SIZE#
#define LAST_USED_ROUTE_SIZEValue:
(MAX_REPEATERS + LAST_USED_ROUTE_CONF_SIZE)
123
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
S2_TXOPTION_VERIFY_DELIVERY#
#define S2_TXOPTION_VERIFY_DELIVERYValue:
1
This flag will activate frame delivery.
In this transmission mode the S2_send_data will try to verify that the receiver understood the sent message. This is done by waiting a little to see if the node will respond nonce report to the encrypted message. If the node does respond with a nonce report then the S2_send_data call will automatically cause the system to re-sync the node, and deliver the message
199
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
S2_TXOPTION_SINGLECAST_FOLLOWUP#
#define S2_TXOPTION_SINGLECAST_FOLLOWUPValue:
2
This flag must be present on all single cast followup messages.
204
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h
S2_TXOPTION_FIRST_SINGLECAST_FOLLOWUP#
#define S2_TXOPTION_FIRST_SINGLECAST_FOLLOWUPValue:
4
This flag must be present on the first, and only the first single cast followup message in a S2 multicast transmission.
210
of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_transport_api.h