![]() |
nRF Connect SDK API 3.3.99
|
| int nfc_ndef_le_oob_rec_parse | ( | const struct nfc_ndef_record_desc * | rec_desc, |
| uint8_t * | result_buf, | ||
| uint32_t * | result_buf_len ) |
#include <include/nfc/ndef/le_oob_rec_parser.h>
Parse an NDEF LE OOB Record.
This function only parses NDEF Record descriptors with LE OOB Record Type. Parsing results are stored in the LE OOB Record descriptor (nfc_ndef_le_oob_rec_payload_desc).
| [in] | rec_desc | General NDEF Record descriptor. |
| [out] | result_buf | The buffer that will be used to hold the LE OOB Record descriptor. After parsing is completed successfully, the first address in the buffer is filled by the NDEF Record descriptor (nfc_ndef_le_oob_rec_payload_desc), which provides a full description of the parsed NDEF Record. |
| [in,out] | result_buf_len | As input: size of the result_buf buffer As output: size of the reserved (used) part of the result_buf buffer. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |