Parameters required when transmitting a frame.

Public Attributes#

Channel Speed to use when transmitting a frame.

Channel id to use when transmitting a frame.

CRC Type to use. XOR is used in 2 channel at 9600 and 40k baud rate. CRC CCITT is used in 100k frames.

uint8_t

The byte value used for the preamble sequence.

uint8_t

Length of the preamble. Minimum preamble length is specified in ITU G.9959-2015.

uint8_t

The start of frame byte used to indicate the end of preamble and the start of frame.

uint8_t

Number of repetitions for the frame. This is used for wakeup beams where the beam is to be repeated for 250 or 1000 ms.

uint8_t

1 to transmit frame with LBT, 0 without LBT

The RF tx power to use for transmitting in dBm.

Timestamp (in zpal base time) that must be used as reference for the Rx-To-Tx turnaround time.

Public Attribute Documentation#

speed#

zpal_radio_speed_t zpal_radio_transmit_parameter_t::speed

Channel Speed to use when transmitting a frame.


channel_id#

zpal_radio_zwave_channel_t zpal_radio_transmit_parameter_t::channel_id

Channel id to use when transmitting a frame.


crc#

zpal_radio_crc_t zpal_radio_transmit_parameter_t::crc

CRC Type to use. XOR is used in 2 channel at 9600 and 40k baud rate. CRC CCITT is used in 100k frames.


preamble#

uint8_t zpal_radio_transmit_parameter_t::preamble

The byte value used for the preamble sequence.


preamble_length#

uint8_t zpal_radio_transmit_parameter_t::preamble_length

Length of the preamble. Minimum preamble length is specified in ITU G.9959-2015.


start_of_frame#

uint8_t zpal_radio_transmit_parameter_t::start_of_frame

The start of frame byte used to indicate the end of preamble and the start of frame.


repeats#

uint8_t zpal_radio_transmit_parameter_t::repeats

Number of repetitions for the frame. This is used for wakeup beams where the beam is to be repeated for 250 or 1000 ms.


use_lbt#

uint8_t zpal_radio_transmit_parameter_t::use_lbt

1 to transmit frame with LBT, 0 without LBT


tx_power#

zpal_radio_tx_power_t zpal_radio_transmit_parameter_t::tx_power

The RF tx power to use for transmitting in dBm.


turnaround_ref_tick#

zpal_time_t zpal_radio_transmit_parameter_t::turnaround_ref_tick

Timestamp (in zpal base time) that must be used as reference for the Rx-To-Tx turnaround time.

Mostly used for Ack. If not 0, the zpal must guarantee the minimum Rx-To-Tx turnaround time before the Tx. Not done with the TxQueue delay because:

  • TxQueue delay is 1ms base time which is not enough (Rx-to-Tx turnaround time is 1ms)

  • Ack is high priority and should "lock" the TxQueue without any delay (TxQueue delay is handled before adding the frame to the TxQueue).