typedef struct yk_nav_st YK_NAV; /* Navigation structure.
Other libraries provide access. */
typedef struct yk_frame_st YK_FRAME; /* Data frame for write operation */
-typedef struct yk_ndef_st YK_NDEF;
+typedef struct ndef_st YK_NDEF;
/*************************************************************************
*
#define yk_config_st config_st
#define yk_nav_st nav_st
#define yk_frame_st frame_st
-#define yk_ndef_st ndef_st
#include "ykcore.h"
#include "ykdef.h"
/* NDEF structure */
#define NDEF_DATA_SIZE 54
+/* backwards compatibility with version 1.7.0 */
+typedef struct ndef_st YKNDEF;
+
struct ndef_st {
unsigned char len; /* Payload length */
unsigned char type; /* NDEF type specifier */