1.5.3.11 PAL_RF_GetRfPhyPibLength Function

C

uint8_t PAL_RF_GetRfPhyPibLength(PAL_RF_HANDLE handle, PAL_RF_PIB_ATTRIBUTE attribute);

Summary

Gets size of PIB attribute.

Description

This routine allows to get the size in bytes of a RF PHY Information Base (PIB) attribute of the RF PHY layer.

Precondition

PAL_RF_HandleGet must have been called to obtain a valid RF PAL handle.

Returns

Size of PIB attribute in bytes. 0 if invalid PIB attribute.

Example

PAL_RF_HANDLE palRfHandle; // returned from PAL_RF_HandleGet
uint8_t pibSize;

pibSize = PAL_RF_GetRfPhyPibLength(palRfHandle, PAL_RF_PIB_PHY_CONFIG);

Remarks

None.