NodeMask#
Modules#
Typedefs#
Functions#
Clear the node bit in a node bitmask.
Clear the node bit in a Long Range node bitmask.
Clear all bits in a nodemask.
Check and count number of bit that is set in a nodemask.
Check if a node is in a nodemask.
Check if a node is in a Long Range nodemask.
Find the next NodeId that is set in a nodemask.
Macros#
Number of nodes per node mask byte.
Max length of a node mask.
Max length of Long Range node mask.
Max length of Long Range node mask in NVM.
Typedef Documentation#
NODE_MASK_TYPE#
typedef uint8_t NODE_MASK_TYPE[MAX_NODEMASK_LENGTH] [MAX_NODEMASK_LENGTH]
31
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
LR_NODE_MASK_TYPE#
typedef uint8_t LR_NODE_MASK_TYPE[MAX_LR_NODEMASK_LENGTH] [MAX_LR_NODEMASK_LENGTH]
32
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
NVM_LR_NODE_MASK_TYPE#
typedef uint8_t NVM_LR_NODE_MASK_TYPE[MAX_NVM_LR_NODEMASK_LENGTH] [MAX_NVM_LR_NODEMASK_LENGTH]
33
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
Function Documentation#
ZW_NodeMaskSetBit#
void ZW_NodeMaskSetBit (uint8_t * pMask, uint8_t bNodeID)
N/A | pMask | |
N/A | bNodeID |
53
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_LR_NodeMaskSetBit#
void ZW_LR_NodeMaskSetBit (uint8_t * pMask, node_id_t nodeID)
N/A | pMask | |
N/A | nodeID |
63
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NodeMaskClearBit#
void ZW_NodeMaskClearBit (uint8_t * pMask, uint8_t bNodeID)
Clear the node bit in a node bitmask.
N/A | pMask | Pointer to Nodemask list that should be set |
N/A | bNodeID | Node to set in nodemask |
73
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_LR_NodeMaskClearBit#
void ZW_LR_NodeMaskClearBit (uint8_t * pMask, node_id_t nodeID)
Clear the node bit in a Long Range node bitmask.
N/A | pMask | Pointer to Long Range Nodemask list that should be set |
N/A | nodeID | Node to clear in nodemask |
83
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NodeMaskClear#
void ZW_NodeMaskClear (uint8_t * pMask, uint8_t bLength)
Clear all bits in a nodemask.
N/A | pMask | Pointer to Nodemask list that should be cleared |
N/A | bLength | Length of nodemask to be cleared |
93
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NodeMaskBitsIn#
uint8_t ZW_NodeMaskBitsIn (uint8_t * pMask, uint8_t bLength)
Check and count number of bit that is set in a nodemask.
N/A | pMask | Pointer to nodemask that should be counted |
N/A | bLength | Length of nodemask to count |
Returns
Number of bits set in nodemask
105
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NodeMaskNodeIn#
uint8_t ZW_NodeMaskNodeIn (uint8_t * pMask, uint8_t bNode)
Check if a node is in a nodemask.
N/A | pMask | Pointer to nodemask to check for bNode |
N/A | bNode | Bit number that should be checked |
Returns
0 if not in nodemask, non-zero if found in nodemask
116
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_LR_NodeMaskNodeIn#
uint8_t ZW_LR_NodeMaskNodeIn (uint8_t * pMask, node_id_t nodeID)
Check if a node is in a Long Range nodemask.
N/A | pMask | Pointer to Long Range nodemask to check for bNode |
N/A | nodeID | Bit number that should be checked |
Returns
0 if not in nodemask, non-zero if found in nodemask
127
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NodeMaskGetNextNode#
uint8_t ZW_NodeMaskGetNextNode (uint8_t currentNodeId, uint8_t * pMask)
Find the next NodeId that is set in a nodemask.
N/A | currentNodeId | Last NodeId found (0 for first call) |
N/A | pMask | Pointer to Nodemask list that should be searched |
Returns
Next NodeId from the nodemask if found, or 0 if not found.
138
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
Macro Definition Documentation#
NODEMASK_NODES_PER_BYTE#
#define NODEMASK_NODES_PER_BYTEValue:
8
Number of nodes per node mask byte.
19
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
MAX_NODEMASK_LENGTH#
#define MAX_NODEMASK_LENGTHValue:
(ZW_MAX_NODES/NODEMASK_NODES_PER_BYTE)
Max length of a node mask.
22
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
MAX_LR_NODEMASK_LENGTH#
#define MAX_LR_NODEMASK_LENGTHValue:
(ZW_MAX_NODES_LR/NODEMASK_NODES_PER_BYTE)
Max length of Long Range node mask.
24
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
MAX_NVM_LR_NODEMASK_LENGTH#
#define MAX_NVM_LR_NODEMASK_LENGTHValue:
(ZW_MAX_NVM_NODES_LR/NODEMASK_NODES_PER_BYTE)
Max length of Long Range node mask in NVM.
26
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NODE_MASK_SET_BIT#
#define ZW_NODE_MASK_SET_BITValue:
(pMask, bNodeID)
40
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NODE_MASK_CLEAR_BIT#
#define ZW_NODE_MASK_CLEAR_BITValue:
(pMask, bNodeID)
41
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NODE_MASK_CLEAR#
#define ZW_NODE_MASK_CLEARValue:
(pMask, bLength)
42
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NODE_MASK_BITS_IN#
#define ZW_NODE_MASK_BITS_INValue:
(pMask, bLength)
43
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h
ZW_NODE_MASK_NODE_IN#
#define ZW_NODE_MASK_NODE_INValue:
(pMask, bNode)
44
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/Components/NodeMask/NodeMask.h