add ndef.c/h

This commit is contained in:
merlokk 2019-03-05 00:11:31 +02:00
commit cbe25f4832
4 changed files with 43 additions and 2 deletions

16
client/mifare/ndef.c Normal file
View file

@ -0,0 +1,16 @@
//-----------------------------------------------------------------------------
// Copyright (C) 2019 Merlok
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// NFC Data Exchange Format (NDEF) functions
//-----------------------------------------------------------------------------
#include "ndef.h"
int NDEFDecodeAndPrint(uint8_t *ndef, size_t ndefLen, bool verbose) {
return 0;
}

19
client/mifare/ndef.h Normal file
View file

@ -0,0 +1,19 @@
//-----------------------------------------------------------------------------
// Copyright (C) 2019 Merlok
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// NFC Data Exchange Format (NDEF) functions
//-----------------------------------------------------------------------------
#ifndef _NDEF_H_
#define _NDEF_H_
#include <stdint.h>
#include <stdbool.h>
extern int NDEFDecodeAndPrint(uint8_t *ndef, size_t ndefLen, bool verbose);
#endif // _NDEF_H_