![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| int nfc_ndef_ch_ac_rec_payload_encode | ( | const struct nfc_ndef_ch_ac_rec * | nfc_rec_ac, |
| uint8_t * | buf, | ||
| uint32_t * | len ) |
#include <ch.h>
Constructor for an NFC NDEF Alternative Carrier record payload.
| [in] | nfc_rec_ac | Pointer to the Alternative Carrier record description. |
| [in] | buf | Pointer to the payload destination. If NULL, function will calculate the expected size of the Alternative Carrier record payload. |
| [in,out] | len | Size of the available memory to write as input. Size of the generated record payload as output. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |