nRF Connect SDK API 2.8.0
|
int esb_reuse_pid | ( | uint8_t | pipe | ) |
#include <include/esb.h>
Reuse a packet ID for a specific pipe.
The ESB protocol uses a 2-bit sequence number (packet ID) to identify retransmitted packets. By default, the packet ID is incremented for every uploaded packet. Use this function to prevent this and send two different packets with the same packet ID.
[in] | pipe | Pipe. |
0 | If successful. Otherwise, a (negative) error code is returned. |