nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
launchapp_rec.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef NFC_LAUNCHAPP_REC_H__
8#define NFC_LAUNCHAPP_REC_H__
9
20#include <stdint.h>
21#include <nfc/ndef/record.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
31#define NFC_ANDROID_REC_TYPE_LENGTH 15
32
39
53#define NFC_NDEF_ANDROID_LAUNCHAPP_RECORD_DESC_DEF(name, package_name, package_name_length) \
54 NFC_NDEF_RECORD_BIN_DATA_DEF( \
55 name, TNF_EXTERNAL_TYPE, NULL, 0, ndef_android_launchapp_rec_type, \
56 sizeof(ndef_android_launchapp_rec_type), (package_name), (package_name_length))
57
62#define NFC_NDEF_ANDROID_LAUNCHAPP_RECORD_DESC(name) NFC_NDEF_RECORD_BIN_DATA(name)
63
64#ifdef __cplusplus
65}
66#endif
67
72#endif // NFC_LAUNCHAPP_REC
#define NFC_ANDROID_REC_TYPE_LENGTH
Size of the type field of the Android Application Record, defined in the file launchapp_rec....
Definition launchapp_rec.h:31
const uint8_t ndef_android_launchapp_rec_type[15]
External reference to the type field of the NFC NDEF Android Application Record, defined in the file ...