2.3.18 PHY_ConfigAutoAck Function

C

PHY_Retval_t PHY_ConfigAutoAck(bool enableAACK)

Summary

Configures TRX for auto acknowledging the reserved frame

Description

The function is used to configure the automatic acknowledgment from Transceiver after packet reception. By default, Automatic Acknowledgement after reception is enabled.

Precondition

PHY_Init() should have been called before calling this function.

Parameters

ParamDescription
enableAACKtrue - To Disable automatic acknowledgment after reception
false - to enable the automatic acknowledgment after reception

Returns

  • PHY_SUCCESS - If trx is configured correctly

  • PHY_FAILURE - otherwise

Example

PHY_Retval_t retVal = PHY_FAILURE;
bool isDisableAACK = false;

retVal = PHY_ConfigAutoAck(isDisableAACK);
if(PHY_SUCCESS == retVal)
{
    //Trx is configured to auto acknowledge for the received packet
}

Remarks

None