nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ NFC_NDEF_ANDROID_LAUNCHAPP_RECORD_DESC_DEF

#define NFC_NDEF_ANDROID_LAUNCHAPP_RECORD_DESC_DEF (   name,
  package_name,
  package_name_length 
)

#include <include/nfc/ndef/launchapp_rec.h>

Value:
NULL, \
0, \
(package_name), \
(package_name_length))
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 ...
#define NFC_NDEF_RECORD_BIN_DATA_DEF(name, tnf_arg, id_arg, id_len, type_arg, type_len, payload_arg, payload_len)
Macro for creating and initializing an NFC NDEF record descriptor for a record with binary payload.
Definition: record.h:205
@ TNF_EXTERNAL_TYPE
Definition: record.h:77

Macro for generating a description of an NFC NDEF Android Application Record (AAR).

This macro declares and initializes an instance of an NFC NDEF record description of an Android Application Record (AAR).

Note
The record descriptor is declared as an automatic variable, which implies that the NDEF message encoding (see nfc_launchapp_msg_encode) must be done in the same variable scope.
Parameters
[in]nameName for accessing the record descriptor.
[in]package_namePointer to the Android package name string.
[in]package_name_lengthLength of the Android package name.