Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
zaf_transport_tx.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Silicon Laboratories Inc. <https://www.silabs.com/>
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
19
20#ifndef ZAF_TRANSPORT_TX_H_
21#define ZAF_TRANSPORT_TX_H_
22
23#include <stdint.h>
24#include <stdbool.h>
25#include "ZAF_types.h"
26
33
44
48typedef void(*zaf_tx_callback_t)(transmission_result_t * pTxResult);
49
60bool zaf_transport_tx(const uint8_t *frame, uint8_t frame_length, zaf_tx_callback_t callback, zaf_tx_options_t *zaf_tx_options);
61
69
75
83
89
94
95#endif /* ZAF_TRANSPORT_TX_H_ */
struct _RECEIVE_OPTIONS_TYPE_EX_ RECEIVE_OPTIONS_TYPE_EX
bool zaf_transport_tx(const uint8_t *frame, uint8_t frame_length, zaf_tx_callback_t callback, zaf_tx_options_t *zaf_tx_options)
void zaf_transport_init(void)
void(* zaf_tx_callback_t)(transmission_result_t *pTxResult)
Definition zaf_transport_tx.h:48
void zaf_transport_resume(void)
void zaf_transport_pause(void)
void zaf_transport_rx_to_tx_options(RECEIVE_OPTIONS_TYPE_EX *rx_options, zaf_tx_options_t *tx_options)
enum SECURITY_KEY security_key_t
Definition ZAF_types.h:126
Definition ZAF_types.h:166
Definition zaf_transport_tx.h:34
uint16_t dest_node_id
If provided, then the frame is only sent to this node. If zero, then it's sent to entire group.
Definition zaf_transport_tx.h:35
security_key_t security_key
Security key.
Definition zaf_transport_tx.h:40
uint8_t dest_endpoint
Endpoint that receives the frame. Zero for root device. Ignored if dest_node_id is zero.
Definition zaf_transport_tx.h:38
bool bit_addressing
Tells if bit addressing should be used.
Definition zaf_transport_tx.h:41
bool use_supervision
Tells if supervision should be used.
Definition zaf_transport_tx.h:42
uint8_t source_endpoint
Endpoint that sends the frame. Zero for root device.
Definition zaf_transport_tx.h:37
const agi_profile_t * agi_profile
AGI profile. If NULL, is lifeline.
Definition zaf_transport_tx.h:36
uint8_t tx_options
Transmit option flags.
Definition zaf_transport_tx.h:39