Z-Wave Protocol Controller Reference
zwave_tx_process.h File Reference
#include "zwave_tx.h"
#include "process.h"
Include dependency graph for zwave_tx_process.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum zwave_tx_state zwave_tx_state_t
 The Z-Wave TX Process states. More...
 

Enumerations

enum  zwave_tx_events_t { ZWAVE_TX_SEND_NEXT_MESSAGE , ZWAVE_TX_SEND_OPERATION_COMPLETE }
 Event definitions for the Z-Wave TX Process. More...
 
enum  zwave_tx_backoff_reason_t { BACKOFF_CURRENT_SESSION_ID , BACKOFF_EXPECTED_ADDITIONAL_FRAMES , BACKOFF_PROTOCOL_SENDING_FRAMES , BACKOFF_INCOMING_UNSOLICITED_ROUTED_FRAME }
 List of reasons for going into a Tx Back-off-. More...
 
enum  zwave_tx_state { ZWAVE_TX_STATE_IDLE , ZWAVE_TX_STATE_TRANSMISSION_ONGOING , ZWAVE_TX_STATE_BACKOFF }
 The Z-Wave TX Process states. More...
 

Functions

 PROCESS_NAME (zwave_tx_process)
 Name the of contiki process for the Z-Wave TX. More...
 
void zwave_tx_process_inspect_received_frame (zwave_node_id_t node_id)
 Checks after receiving a frame from a NodeID if we should resume from TX back-off. More...
 
sl_status_t zwave_tx_process_abort_transmission (zwave_tx_session_id_t session_id)
 Aborts a transmission that has been queued but not delivered yet. More...
 
bool zwave_tx_process_queue_flush_is_ongoing ()
 Verifies if we are trying to flush the queue or keep it empty. More...
 
void zwave_tx_process_check_queue ()
 Triggers the processing of the next frame in the queue if we are idle. More...
 
void zwave_tx_process_set_expected_frames (zwave_node_id_t remote_node_id, uint8_t number_of_incoming_frames)
 Tells the Z-Wave TX process that more frames are to be expected f from some NodeIDs. More...
 
void zwave_tx_process_log_state ()
 Logs the state of the Z-Wave TX Process using sl_log. More...
 
sl_status_t zwave_tx_process_flush_queue_reset_step ()
 Initiates a flush of the Tx Queue for a reset operation. More...
 
void zwave_tx_process_open_tx_queue ()
 (Re-)opens the Z-Wave Tx Queue to accept frames. More...