40#ifndef NRF_802154_PIB_H_
41#define NRF_802154_PIB_H_
242#if NRF_802154_CSMA_CA_ENABLED
251bool nrf_802154_pib_csmaca_min_be_set(uint8_t min_be);
258uint8_t nrf_802154_pib_csmaca_min_be_get(
void);
268bool nrf_802154_pib_csmaca_max_be_set(uint8_t max_be);
275uint8_t nrf_802154_pib_csmaca_max_be_get(
void);
283void nrf_802154_pib_csmaca_max_backoffs_set(uint8_t max_backoffs);
291uint8_t nrf_802154_pib_csmaca_max_backoffs_get(
void);
294#if NRF_802154_IFS_ENABLED
317uint16_t nrf_802154_pib_ifs_min_sifs_period_get(
void);
326void nrf_802154_pib_ifs_min_sifs_period_set(uint16_t period);
333uint16_t nrf_802154_pib_ifs_min_lifs_period_get(
void);
340void nrf_802154_pib_ifs_min_lifs_period_set(uint16_t period);
343#if NRF_802154_TEST_MODES_ENABLED
uint8_t nrf_802154_coex_tx_request_mode_t
Mode of triggering transmit request to Coex arbiter.
Definition nrf_802154_types.h:237
uint8_t nrf_802154_ifs_mode_t
Mode of handling Interframe spacing.
Definition nrf_802154_types.h:252
uint8_t nrf_802154_test_mode_csmaca_backoff_t
Type holding the CSMA/CA backoff control test mode.
Definition nrf_802154_types.h:208
uint8_t nrf_802154_coex_rx_request_mode_t
Mode of triggering receive request to Coex arbiter.
Definition nrf_802154_types.h:222
const uint8_t * nrf_802154_pib_extended_address_get(void)
Gets the extended address of this device.
const uint8_t * nrf_802154_pib_pan_id_get(void)
Gets the PAN ID used by this device.
uint8_t nrf_802154_pib_channel_get(void)
Gets the currently used channel.
nrf_802154_coex_rx_request_mode_t nrf_802154_pib_coex_rx_request_mode_get(void)
Gets Coex request mode used in receive operations.
bool nrf_802154_pib_auto_ack_get(void)
Checks if the auto ACK procedure is enabled.
void nrf_802154_pib_tx_power_set(int8_t dbm)
Sets the transmit power used for ACK frames.
bool nrf_802154_pib_pan_coord_get(void)
Checks if the radio is configured as the PAN coordinator.
void nrf_802154_pib_channel_set(uint8_t channel)
Sets the channel that will be used by the driver.
void nrf_802154_pib_extended_address_set(const uint8_t *p_extended_address)
Sets the extended address of this device.
void nrf_802154_pib_auto_ack_set(bool enabled)
Enables or disables the auto ACK procedure.
void nrf_802154_pib_cca_cfg_set(const nrf_802154_cca_cfg_t *p_cca_cfg)
Sets the radio CCA mode and threshold.
void nrf_802154_pib_pan_coord_set(bool enabled)
Configures the device as the PAN coordinator.
void nrf_802154_pib_pan_id_set(const uint8_t *p_pan_id)
Sets the PAN ID used by this device.
nrf_802154_coex_tx_request_mode_t nrf_802154_pib_coex_tx_request_mode_get(void)
Gets Coex request mode used in transmit operations.
const uint8_t * nrf_802154_pib_short_address_get(void)
Gets the short address of this device.
bool nrf_802154_pib_rx_on_when_idle_get(void)
Checks if the RxOnWhenIdle mode is enabled.
int8_t nrf_802154_pib_tx_power_get(void)
Gets the transmit power.
void nrf_802154_pib_init(void)
Module that implements the storage of PIB attributes in the nRF 802.15.4 radio driver.
void nrf_802154_pib_rx_on_when_idle_set(bool enabled)
Enables or disables the RxOnWhenIdle mode.
void nrf_802154_pib_short_address_set(const uint8_t *p_short_address)
Sets the short address of this device.
bool nrf_802154_pib_coex_tx_request_mode_set(nrf_802154_coex_tx_request_mode_t mode)
Sets Coex request mode used in transmit operations.
bool nrf_802154_pib_coex_rx_request_mode_set(nrf_802154_coex_rx_request_mode_t mode)
Sets Coex request mode used in receive operations.
void nrf_802154_pib_cca_cfg_get(nrf_802154_cca_cfg_t *p_cca_cfg)
Gets the current radio CCA configuration.
void nrf_802154_pib_promiscuous_set(bool enabled)
Enables or disables the promiscuous mode.
bool nrf_802154_pib_promiscuous_get(void)
Checks if the promiscuous mode is enabled.
Structure for configuring CCA.
Definition nrf_802154_types.h:163