nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
uri_msg.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef NFC_NDEF_URI_MSG_H_
8#define NFC_NDEF_URI_MSG_H_
9
20#include <nfc/ndef/msg.h>
21#include <nfc/ndef/uri_rec.h>
22#include <zephyr/types.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
49 uint8_t const *const uri_data,
50 uint16_t uri_data_len,
51 uint8_t *buf,
52 uint32_t *len);
53
54#ifdef __cplusplus
55}
56#endif
57
62#endif /* NFC_NDEF_URI_MSG_H */
int nfc_ndef_uri_msg_encode(enum nfc_ndef_uri_rec_id uri_id_code, uint8_t const *const uri_data, uint16_t uri_data_len, uint8_t *buf, uint32_t *len)
Encode an NFC NDEF URI message.
nfc_ndef_uri_rec_id
URI identifier codes according to "URI Record Type Definition" (denotation "NFCForum-TS-RTD_URI_1....
Definition: uri_rec.h:32