RAIL_AutoAckConfig_t Struct Reference

Enables/disables the auto-ACK algorithm, based on "enable".

#include < rail_types.h >

Data Fields

bool enable
Indicates whether auto-ACKing should be enabled or disabled.
uint16_t ackTimeout
Defines the RX ACK timeout duration in us.
RAIL_StateTransitions_t rxTransitions
State transitions to do after receiving a packet.
RAIL_StateTransitions_t txTransitions
State transitions to do after transmitting a packet.

Enables/disables the auto-ACK algorithm, based on "enable".

The structure provides a default state (the "success" of tx/rxTransitions when ACKing is enabled) for the radio to return to after an ACK operation occurs (transmitting or attempting to receive an ACK), or normal state transitions to return to in the case ACKing is disabled. Regardless whether the ACK operation was successful, the radio returns to the specified success state.

ackTimeout specifies how long to stay in receive and wait for an ACK before issuing a RAIL_EVENT_RX_ACK_TIMEOUT event and return to the default state.

Definition at line 2435 of file rail_types.h .

Field Documentation

uint16_t RAIL_AutoAckConfig_t::ackTimeout

Defines the RX ACK timeout duration in us.

Limited to a maximum 65535 us. Only applied when auto-ACKing is enabled. Triggers a RAIL_EVENT_RX_ACK_TIMEOUT event if this threshold is exceeded.

Definition at line 2445 of file rail_types.h .

RAIL_StateTransitions_t RAIL_AutoAckConfig_t::rxTransitions

State transitions to do after receiving a packet.

When auto-ACKing is enabled, the "error" transition is always ignored and the radio will return to the "success" state after any ACKing sequence. See RAIL_ConfigAutoAck for more details on this.

Definition at line 2452 of file rail_types.h .

RAIL_StateTransitions_t RAIL_AutoAckConfig_t::txTransitions

State transitions to do after transmitting a packet.

When auto-ACKing is enabled, the "error" transition is always ignored and the radio will return to the "success" state after any ACKing sequence. See RAIL_ConfigAutoAck for more details on this.

Definition at line 2459 of file rail_types.h .


The documentation for this struct was generated from the following file:
  • common/ rail_types.h