2.3.22 PHY_ConfigRxSensitivity Function
C
PHY_Retval_t PHY_ConfigRxSensitivity(uint8_t pdtLevel)
Summary
Configures receiver sensitivity level. This is used to desensitize the receiver
Description
This function is used to reduce the sensitivity of the receiver. The input pdtLevel(Power Detect Level) desensitize the receiver such that frames with an RSSI level below the pdtLevel threshold level (if pdtLevel > 0) are not received. For a pdtLevel > 0 value the threshold level can be calculated according to the following formula:
PRF > RSSIBASE_VAL + 3 x (pdtLevel - 1)
Precondition
PHY_Init() should have been called before calling this function
Parameters
Param | Description |
---|---|
pdtLevel | 0 to 15 levels of rx sensitivity(RX_PDT_LEVEL) |
Returns
PHY_SUCCESS - If pdtLevel bits are configured correctly
PHY_FAILURE - otherwise
Example
uint8_t pdtLevel = 0x03; // Reduce the PDT level PHY_ConfigRxSensitivity(pdtLevel); // To get the PDT level configured PHY_GetTrxConfig(RX_SENS, &pdtLevel);
Remarks
None