nRF Connect SDK API
2.8.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
24
extern
"C"
{
25
#endif
26
31
#define NFC_ANDROID_REC_TYPE_LENGTH 15
32
38
extern
const
uint8_t
ndef_android_launchapp_rec_type
[
NFC_ANDROID_REC_TYPE_LENGTH
];
39
53
#define NFC_NDEF_ANDROID_LAUNCHAPP_RECORD_DESC_DEF(name, \
54
package_name, \
55
package_name_length) \
56
NFC_NDEF_RECORD_BIN_DATA_DEF(name, \
57
TNF_EXTERNAL_TYPE, \
58
NULL, \
59
0, \
60
ndef_android_launchapp_rec_type, \
61
sizeof(ndef_android_launchapp_rec_type), \
62
(package_name), \
63
(package_name_length))
64
69
#define NFC_NDEF_ANDROID_LAUNCHAPP_RECORD_DESC(name) NFC_NDEF_RECORD_BIN_DATA(name)
70
71
#ifdef __cplusplus
72
}
73
#endif
74
79
#endif
// NFC_LAUNCHAPP_REC
NFC_ANDROID_REC_TYPE_LENGTH
#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
ndef_android_launchapp_rec_type
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 ...
record.h
include
nfc
ndef
launchapp_rec.h
Generated on Tue Nov 5 2024 16:02:09 for nRF Connect SDK API by
1.12.0