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

◆ nfc_ndef_tnep_rec_svc_select_payload()

int nfc_ndef_tnep_rec_svc_select_payload ( struct nfc_ndef_tnep_rec_svc_select payload_desc,
uint8_t *  buffer,
uint32_t *  len 
)

#include <include/nfc/ndef/tnep_rec.h>

Payload constructor for the TNEP Service Select Record.

Parameters
[in]payload_descPointer to the TNEP service select record description.
[out]bufferPointer to the payload destination. If NULL, function will calculate the expected size of the Text record payload.
[in,out]lenSize of the available memory to write as input. Size of the generated record payload as output.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.