nRF5 SDK for Thread and Zigbee v4.0.0
Functions
Promiscuous mode

Functions

void nrf_802154_promiscuous_set (bool enabled)
 Enables or disables the promiscuous radio mode. More...
 
bool nrf_802154_promiscuous_get (void)
 Checks if the radio is in the promiscuous mode. More...
 

Detailed Description

Function Documentation

bool nrf_802154_promiscuous_get ( void  )

Checks if the radio is in the promiscuous mode.

Return values
TrueRadio is in the promiscuous mode.
FalseRadio is not in the promiscuous mode.
void nrf_802154_promiscuous_set ( bool  enabled)

Enables or disables the promiscuous radio mode.

Note
The promiscuous mode is disabled by default.

In the promiscuous mode, the driver notifies the higher layer that it received any frame (regardless frame type or destination address). In normal mode (not promiscuous), the higher layer is not notified about ACK frames and frames with unknown type. Also, frames with a destination address not matching the device address are ignored.

Parameters
[in]enabledIf the promiscuous mode is to be enabled.

Documentation feedback | Developer Zone | Subscribe | Updated