Change to NFC library

Hi,

In ncs/v3.1.0/modules/hal/nordic/nrfx/drivers/include/nrfx_nfct.h, the enum 'nrfx_nfct_param_id_t' is defined as:

/** @brief NFCT driver parameter types. */
typedef enum
{
    NRFX_NFCT_PARAM_ID_FDT,     ///< NFC-A Frame Delay Time parameter.
    NRFX_NFCT_PARAM_ID_FDT_MIN, ///< NFC-A Frame Delay Time Min parameter.
    NRFX_NFCT_PARAM_ID_SEL_RES, ///< Value of the 'Protocol' field in the NFC-A SEL_RES frame.
    NRFX_NFCT_PARAM_ID_NFCID1,  ///< NFC-A NFCID1 setting (NFC tag identifier).
} nrfx_nfct_param_id_t;

In the nrfx support libraries shipped to us with a vendor Bluetooth stack, the enum is defined as:

/** @brief NFCT driver parameter types. */
typedef enum
{
    NRFX_NFCT_PARAM_ID_FDT,     ///< NFC-A Frame Delay Time parameter.
    NRFX_NFCT_PARAM_ID_SEL_RES, ///< Value of the 'Protocol' field in the NFC-A SEL_RES frame.
    NRFX_NFCT_PARAM_ID_NFCID1,  ///< NFC-A NFCID1 setting (NFC tag identifier).
} nrfx_nfct_param_id_t;

We are using the NFC libraries (libnfc_t2t.a and libnfc_t4t.a) from SDK v3.1.0 so it appears that v3.1.0 libraries are incompatible with the nrfx support libraries shipped with the Bluetooth stack.

Can you advise in which SDK version the above enum was changed? I'm thinking that I should use the libnfc_t2t.a and libnfc_t4t.a libraries from an SDK version prior to the change.

Kind regards,

Andrew Coad

Parents Reply Children
Related