1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2019 Merlok
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // NFC Data Exchange Format (NDEF) functions
9 //-----------------------------------------------------------------------------
18 tnfEmptyRecord
= 0x00,
19 tnfWellKnownRecord
= 0x01,
20 tnfMIMEMediaRecord
= 0x02,
21 tnfAbsoluteURIRecord
= 0x03,
22 tnfExternalRecord
= 0x04,
23 tnfUnknownRecord
= 0x05,
24 tnfUnchangedRecord
= 0x06
29 stRSASSA_PSS_SHA_1
= 0x01,
30 stRSASSA_PKCS1_v1_5_WITH_SHA_1
= 0x02,
33 stRSASSA_PSS_2048
= 0x05,
34 stRSASSA_PKCS1_v1_5_2048
= 0x06,
47 } ndefCertificateFormat_t
;
55 TypeNameFormat_t TypeNameFormat
;
66 int NDEFDecodeAndPrint(uint8_t *ndef
, size_t ndefLen
, bool verbose
);
67 int NDEFRecordsDecodeAndPrint(uint8_t *ndefRecord
, size_t ndefRecordLen
);