some code to decoding payload

This commit is contained in:
merlokk 2019-03-05 17:25:11 +02:00
commit c7c97d35b5
2 changed files with 53 additions and 16 deletions

View file

@ -37,6 +37,9 @@ typedef struct {
size_t IDLen;
size_t len;
size_t RecLen;
uint8_t *Type;
uint8_t *Payload;
uint8_t *ID;
} NDEFHeader_t;
extern int NDEFDecodeAndPrint(uint8_t *ndef, size_t ndefLen, bool verbose);