nRF Connect SDK API 2.8.99
|
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.
record | Pointer to the record descriptor. |
msg | Pointer to the message descriptor. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |