nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ esb_set_rf_channel()

int esb_set_rf_channel ( uint32_t channel)

#include <include/esb.h>

Set the channel to use for the radio.

The module must be in an idle state to call this function. As a PTX, the application must wait for an idle state and as a PRX, the application must stop RX before changing the channel. After changing the channel, operation can be resumed.

Parameters
[in]channelChannel to use for radio.
Return values
0If successful. Otherwise, a (negative) error code is returned.