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

◆ esb_enable_pipes()

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 
Parameters
enable_maskBitfield mask to enable or disable pipes. Setting a bit to 0 disables the pipe. Setting a bit to 1 enables the pipe.
Return values
0If successful. Otherwise, a (negative) error code is returned.