nRF Connect SDK API 2.8.99
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
19#include <nfc/ndef/msg.h>
20#include <nfc/ndef/uri_rec.h>
21#include <zephyr/types.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
48 uint8_t const *const uri_data,
49 uint16_t uri_data_len,
50 uint8_t *buf,
51 uint32_t *len);
52
53#ifdef __cplusplus
54}
55#endif
56
61#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