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
15extern "C" {
16#endif
17
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
55void 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_ */
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.
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
Record position within the NDEF message.
Definition record.h:113
Binary data descriptor containing the payload for the record.
Definition record.h:126
NDEF record descriptor.
Definition record.h:89