Jump to main content

# 1.1.3.4.13 DRV_RF215_GetPibSize Function

## C

    uint8_t DRV_RF215_GetPibSize(DRV_RF215_PIB_ATTRIBUTE attr);

## Summary

Gets size of PIB attribute.

## Description

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

## Precondition

None.

## Parameters

Param | Description
--- | ---
attr | A valid RF215 driver PIB attribute (see DRV_RF215_PIB_ATTRIBUTE).

## Returns

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

## Example

    uint8_t pibSize;

    pibSize = DRV_RF215_GetPibSize(RF215_PIB_PHY_BAND_OPERATING_MODE);

## Remarks

None.

Rev: G