|
Z-Wave Protocol Controller Reference
|
Hold information about a transport plugin. More...
#include <zwave_controller_transport.h>
Public Attributes | |
| uint32_t | priority |
| Priority of this plugin, transports with lowest number priority is executed last when encoding. Decoding order is made based on the Command Class identifier (first frame byte). More... | |
| zwave_command_class_t | command_class |
| Which Z-Wave command class this transport is serving. More... | |
| zwave_cc_version_t | version |
| The command class version of the command class that this transport is implementing. More... | |
| sl_status_t(* | send_data )(const zwave_controller_connection_info_t *connection, uint16_t data_length, const uint8_t *data, const zwave_tx_options_t *tx_options, const on_zwave_tx_send_data_complete_t on_send_complete, void *user, zwave_tx_session_id_t parent_session) |
| Send function to use when encapsulating with this transport. More... | |
| sl_status_t(* | abort_send_data )(zwave_tx_session_id_t session_id) |
| abort function that instructs the transport to abort one or more ongoing transmission(s) More... | |
| sl_status_t(* | on_frame_received )(const zwave_controller_connection_info_t *connection_info, const zwave_rx_receive_options_t *rx_options, const uint8_t *frame_data, uint16_t frame_length) |
| Command handler to of the transport. More... | |
Hold information about a transport plugin.
| sl_status_t(* zwave_controller_transport::abort_send_data) (zwave_tx_session_id_t session_id) |
abort function that instructs the transport to abort one or more ongoing transmission(s)
Functions registered for abort send data must use the following return statuses
| zwave_command_class_t zwave_controller_transport::command_class |
Which Z-Wave command class this transport is serving.
| sl_status_t(* zwave_controller_transport::on_frame_received) (const zwave_controller_connection_info_t *connection_info, const zwave_rx_receive_options_t *rx_options, const uint8_t *frame_data, uint16_t frame_length) |
Command handler to of the transport.
Functions registered as on_frame_received transport MUST return status codes according to the following:
| uint32_t zwave_controller_transport::priority |
Priority of this plugin, transports with lowest number priority is executed last when encoding. Decoding order is made based on the Command Class identifier (first frame byte).
Recommended priorities:
| sl_status_t(* zwave_controller_transport::send_data) (const zwave_controller_connection_info_t *connection, uint16_t data_length, const uint8_t *data, const zwave_tx_options_t *tx_options, const on_zwave_tx_send_data_complete_t on_send_complete, void *user, zwave_tx_session_id_t parent_session) |
Send function to use when encapsulating with this transport.
Functions registered as send_data handlers MUST return status codes according to the following:
| zwave_cc_version_t zwave_controller_transport::version |
The command class version of the command class that this transport is implementing.