![]() |
nRF Connect SDK API 3.3.99
|
| int esb_write_payload | ( | const struct esb_payload * | payload | ) |
#include <include/esb.h>
Write a payload for transmission or acknowledgement.
This function writes a payload that is added to the queue. When the module is in PTX mode, the payload is queued for a regular transmission. When the module is in PRX mode, the payload is queued for when a packet is received that requires an acknowledgement with payload.
| [in] | payload | The payload. |
| 0 | If successful. Otherwise, a (negative) error code is returned. |