nRF Connect SDK API 0.1.0
|
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.
[in] | channel | Channel to use for radio. |
0 | If successful. Otherwise, a (negative) error code is returned. |