nRF Connect SDK API 2.8.0
|
int esb_enable_pipes | ( | uint8_t | enable_mask | ) |
#include <include/esb.h>
Enable select pipes.
The enable_mask
parameter must contain the same number of pipes as has been configured with esb_set_prefixes. This number may not be greater than the number defined by
CONFIG_ESB_PIPE_COUNT
enable_mask | Bitfield mask to enable or disable pipes. Setting a bit to 0 disables the pipe. Setting a bit to 1 enables the pipe. |
0 | If successful. Otherwise, a (negative) error code is returned. |