#include <zwave_tx_incoming_frames.hpp>
◆ clear()
| void zwave_tx_incoming_frames::clear |
( |
| ) |
|
|
inline |
Clears the entire list of expected frames.
◆ decrement_frames()
Decrements the number of expected frames from a NodeID.
- Parameters
-
| node_id | NodeID to decrement the frames from |
- Returns
- SL_STATUS_OK on success SL_STATUS_NOT_FOUND if nothing is to be done.
◆ empty()
| bool zwave_tx_incoming_frames::empty |
( |
| ) |
const |
|
inline |
Checks if we have any expected frame at all.
- Returns
- true if there are expected frames, false otherwise
◆ get_frames()
Gets the number of expected frames from a NodeID.
- Parameters
-
| node_id | NodeID for which we expect to receive some frames |
- Returns
- 0 if no frame is expected, else the number of frames
◆ insert()
Helper function that inserts a NodeID / Frame pair in the frame list.
It is expected to verify manually that the NodeID does not exist in the frame list before invoking this function.
- Parameters
-
| node_id | NodeID to insert |
| incoming_frames | Number of frames to set for the NodeID. |
- Returns
- SL_STATUS_OK on success, SL_STATUS_FAIL otherwise.
◆ set_frames()
Sets the number of expected frames from a NodeID.
- Parameters
-
| node_id | NodeID to set the frames for |
| incoming_frames | Number of frames to set for the NodeID. |
- Returns
- SL_STATUS_OK on success, SL_STATUS_FAIL on failure, SL_STATUS_NOT_FOUND if nothing is to be done.
◆ frame_list
The documentation for this class was generated from the following file: