nRF Connect SDK API 2.8.0
|
int esb_set_prefixes | ( | const uint8_t * | prefixes, |
uint8_t | num_pipes ) |
#include <include/esb.h>
Set the number of pipes and the pipe prefix addresses.
This function configures the number of available pipes, enables the pipes, and sets their prefix addresses.
[in] | prefixes | Prefixes for each pipe. |
[in] | num_pipes | Number of pipes. Must be less than or equal to CONFIG_ESB_PIPE_COUNT. |
0 | If successful. Otherwise, a (negative) error code is returned. |