nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Parser for NDEF messages

Parser for NFC NDEF messages and records. More...

Data Structures

struct  nfc_ndef_msg_parser_msg_1
 Memory allocated for a one-record message. More...
 
struct  nfc_ndef_msg_parser_msg_2
 Memory allocated for a two-record message. More...
 

Macros

#define NFC_NDEF_MSG_PARSER_DELTA
 Amount of memory that is required per record in addition to the memory allocated for the message descriptor.
 
#define NFC_NDEF_PARSER_REQUIRED_MEM(max_count_of_records)
 Calculate the memory size required for holding the description of a message that consists of a certain number of NDEF records.
 

Functions

int nfc_ndef_msg_parse (uint8_t *result_buf, uint32_t *result_buf_len, const uint8_t *raw_data, uint32_t *raw_data_len)
 Parse NFC NDEF messages.
 
void nfc_ndef_msg_printout (const struct nfc_ndef_msg_desc *msg_desc)
 Print the parsed contents of an NDEF message.
 

Detailed Description

Parser for NFC NDEF messages and records.