2.3.14 PHY_StartContinuousTransmit Function

C

void PHY_StartContinuousTransmit(PHY_ContinuousTxMode_t txMode,
bool randomContent)

Summary

Starts continuous transmission on current channel

Description

This function is called to start the continuous transmission on current channel.

Precondition

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

Parameters

ParamDescription
txModeMode of continuous transmission
CW_MODE - Continuous Wave mode to transmit the signal at Fc +&- 0.5MHz frequency
PRBS_MODE - PRBS mode to Pseudorandom Binary Sequence frame continuously
randomContentUse random content if true

Returns

None

Example

PHY_Retval_t retVal = PHY_FAILURE;
uint8_t phyChannel = 15;
PHY_ContinuousTxMode_t txMode = CW_MODE;
bool useRandomContent = false;
PibValue_t pibValue;

// Setting Current channel
pibValue.pib_value_8bit = phyChannel;
retVal = PHY_PibSet(phyCurrentChannel, &pibValue);
if(PHY_SUCCESS == retVal)
{
    //Start continuous tx in CW mode
    PHY_StartContinuousTransmit(txMode, useRandomContent);
}

Remarks

None