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

◆ nfc_ndef_msg_record_add()

int nfc_ndef_msg_record_add ( struct nfc_ndef_msg_desc * msg,
struct nfc_ndef_record_desc const * record )

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

Add a record to an NDEF message.

Parameters
recordPointer to the record descriptor.
msgPointer to the message descriptor.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.