nRF Connect SDK API
3.3.99
Loading...
Searching...
No Matches
record_parser.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef NFC_NDEF_RECORD_PARSER_H_
8
#define NFC_NDEF_RECORD_PARSER_H_
9
10
#include <stdint.h>
11
#include <zephyr/types.h>
12
#include <
nfc/ndef/record.h
>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
43
int
nfc_ndef_record_parse
(
struct
nfc_ndef_bin_payload_desc
*bin_pay_desc,
44
struct
nfc_ndef_record_desc
*rec_desc,
45
enum
nfc_ndef_record_location
*record_location,
const
uint8_t *nfc_data,
46
uint32_t *nfc_data_len);
47
55
void
nfc_ndef_record_printout
(uint32_t num,
const
struct
nfc_ndef_record_desc
*rec_desc);
56
61
#ifdef __cplusplus
62
}
63
#endif
64
65
#endif
/* NFC_NDEF_RECORD_PARSER_H_ */
nfc_ndef_record_parse
int nfc_ndef_record_parse(struct nfc_ndef_bin_payload_desc *bin_pay_desc, struct nfc_ndef_record_desc *rec_desc, enum nfc_ndef_record_location *record_location, const uint8_t *nfc_data, uint32_t *nfc_data_len)
Parse NDEF records.
nfc_ndef_record_printout
void nfc_ndef_record_printout(uint32_t num, const struct nfc_ndef_record_desc *rec_desc)
Print the parsed contents of the NDEF record.
nfc_ndef_record_location
nfc_ndef_record_location
Record position within the NDEF message.
Definition
record.h:113
record.h
nfc_ndef_bin_payload_desc
Binary data descriptor containing the payload for the record.
Definition
record.h:126
nfc_ndef_record_desc
NDEF record descriptor.
Definition
record.h:89
include
nfc
ndef
record_parser.h
Generated on Wed Jun 10 2026 17:22:24 for nRF Connect SDK API by
1.12.0