34 #ifndef EZRADIO_AUTO_ACK_PLUGIN_H_
35 #define EZRADIO_AUTO_ACK_PLUGIN_H_
63 #if defined(EZRADIO_PLUGIN_AUTO_ACK) && defined(EZRADIO_PLUGIN_TRANSMIT) && defined(EZRADIO_PLUGIN_RECEIVE)
97 #define EZRADIODRV_AUTO_ACK_PLUGIN_INIT_DEFAULT \
100 ezradiodrvAutoAckDisabled, \
101 ezradiodrvAutoAckPktDefault, \
103 ezradiodrvTransmitLenghtDefault, \
105 RADIO_CONFIG_DATA_FIELD_LENGTH, \
111 #else //#if defined( EZRADIO_PLUGIN_AUTO_ACK ) && defined( EZRADIO_PLUGIN_TRANSMIT ) && defined( EZRADIO_PLUGIN_RECEIVE )
113 #define EZRADIODRV_AUTO_ACK_PLUGIN_INIT_DEFAULT
115 #endif //#if defined( EZRADIO_PLUGIN_AUTO_ACK ) && defined( EZRADIO_PLUGIN_TRANSMIT ) && defined( EZRADIO_PLUGIN_RECEIVE )
EZRADIODRV_AutoAckPacketMode_t pktMode
Packet mode for aut ack.
struct EZRADIODRV_AutoAckHandle EZRADIODRV_AutoAckHandle_t
EzRadio auto acknowledge plug-in instance initialization and handler structure.
EZRADIODRV_Callback_t userCallback
User callback.
EZRADIODRV_AutoAckMode
EzRadio auto acknowledge mode.
Acknowledge transmission is skipped for one cycle, eg. not to transmit ACK if ACK is received...
EzRadio transmit packet length configuration structure.
EZRADIODRV_AutoAckPacketMode
EzRadio packet mode for auto acknowledge plug-in.
uint16_t pktId
Auto ack packet ID.
Auto acknowledge uses the same transmission configuration as the actual configuration.
Auto acknowledge uses custom packet configuration.
Auto acknowledge transmission disabled.
void(* EZRADIODRV_Callback_t)(EZRADIODRV_Handle_t handle, Ecode_t status)
EZRADIODRV feature callback function interface.
void ezradioEnableAutoAck(EZRADIODRV_AutoAckHandle_t *autoAckHandle)
Enables auto acknowledge sending feature.
Immediate acknowledge transmission.
EzRadio auto acknowledge plug-in instance initialization and handler structure.
enum EZRADIODRV_AutoAckPacketMode EZRADIODRV_AutoAckPacketMode_t
EzRadio packet mode for auto acknowledge plug-in.
void ezradioSkipAutoAck(EZRADIODRV_AutoAckHandle_t *autoAckHandle)
Configures auto acknowledge sending feature so that there will be no acknowledge transmitted to the n...
enum EZRADIODRV_AutoAckMode EZRADIODRV_AutoAckMode_t
EzRadio auto acknowledge mode.
EZRADIODRV_AutoAckMode_t ackMode
Auto ack mode.
void ezradioDisableAutoAck(EZRADIODRV_AutoAckHandle_t *autoAckHandle)
Disables auto acknowledge sending feature.
EZRADIODRV_PacketLengthConfig_t lenConfig
Pakcet length config for auto ack.
uint8_t * pktBuf
Pointer to the buffer that holds the auto ack packet.