Z-Wave Protocol Controller Reference
zwave_transport_service_wrapper.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
22#ifndef ZWAVE_TRANSPORT_SERVICE_H
23#define ZWAVE_TRANSPORT_SERVICE_H
24
25#include "zwave_rx.h"
27#ifdef __cplusplus
28extern "C" {
29#endif
30
54 const zwave_controller_connection_info_t *connection,
55 uint16_t data_length,
56 const uint8_t *cmd_data,
57 const zwave_tx_options_t *tx_options,
58 const on_zwave_tx_send_data_complete_t on_send_complete,
59 void *user,
60 zwave_tx_session_id_t parent_session_id);
61
78 const zwave_controller_connection_info_t *connection_info,
79 const zwave_rx_receive_options_t *rx_options,
80 const uint8_t *frame_data,
81 uint16_t frame_length);
82#ifdef __cplusplus
83}
84#endif
85
86#endif //ZWAVE_TRANSPORT_SERVICE_H
sl_status_t zwave_transport_service_send_data(const zwave_controller_connection_info_t *connection, uint16_t data_length, const uint8_t *cmd_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_id)
Sending a frame with Transport service.
Definition: zwave_transport_service_wrapper.c:153
sl_status_t zwave_transport_service_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)
Entry point of Transport service frames received from the PHY/radio stack.
Definition: zwave_transport_service_wrapper.c:232
sl_status_t zwave_transport_service_transport_init()
Definition: zwave_transport_service_wrapper.c:289
uint32_t sl_status_t
Definition: sl_status.h:139
void * zwave_tx_session_id_t
Handle that can be used for aborting ongoing transmissions or identifying TX Queue elements.
Definition: zwave_tx_definitions.h:77
void(* on_zwave_tx_send_data_complete_t)(uint8_t status, const zwapi_tx_report_t *tx_info, void *user)
Function signature for callbacks invoked when send data has completed.
Definition: zwave_tx.h:168
Structure holding information about the source and destination when transmitting and receiving Z-Wave...
Definition: zwave_controller_connection_info.h:87
Describing receive parameters of a frame.
Definition: zwave_rx_definitions.h:35
Definition: zwave_tx_definitions.h:131