Hello,
I'm developing a software in C++ on Windows to program the Ntag424DNA.
I'm using NxpRdLib_v14.1.0.1907, dll from folder NxpRdLib_v14.1.0.1907\NxpRdLib\Public\lib_x86\2010\debug
I'm blocked after the first initialization phbalReg_PcscWin_Init.
It returns Status 0x0120 = PH_COMP_BAL + PH_ERR_INVALID_DATA_PARAMS
It must be an error with the size of wSizeOfDataParams, but I wonder what might be wrong.
Here is my very basic code:
uint8_t myAtr[256];
phStatus_t status;
phbalReg_PcscWin_DataParams_t balPcsc;
uint16_t size = sizeof(phbalReg_PcscWin_DataParams_t);
//Initialize the Reader (BAL)
status = phbalReg_PcscWin_Init(
&balPcsc, // [In] Pointer to this layer's parameter structure.
sizeof(phbalReg_PcscWin_DataParams_t), // [In] Specifies the size of the data parameter structure.
myAtr, // [In] Pointer to buffer used for storing the ATR after card activation.
sizeof(myAtr) // [In] Size of the ATR buffer.
);
Any clue what could go wrong ?
Thanks and Regards, Stéphane
Dear Stéphane Joly,
the library you mention is a library under NDA ( Non Disclosure Agreement) this means that all the information, tools and support should be delivered using secured communication channels and only with customers with active NDA.
my recommendation would be that you base this on the public NFC reader library for the NFC readers, and try to follow the activation procedure and the API equivalents on the library you are using.
Have a great day !
BR
Jonathan
Hello,
Thanks you for your answer.
Can you tell me which library I shall, use ?
How can I get it ?
Any documentation available ?
And maybe tutorials ?
Thanks and Regards,
Stéphane Joly
Senior Engineer Embedded Solutions
Direct phone : +41 (0)32 924 04 47
Email : stephanej@nid.swiss<mailto:stephanej@nid.swiss>
NID SA - SWISS COMPETENCE IN IDENTIFICATION
LE CRET-DU-LOCLE 10, P.O. BOX 1161
2301 LA CHAUX-DE-FONDS, SWITZERLAND
PHONE: +41 (0)32 924 04 04 / FAX : +41 (0)32 924 04 00
INFO@NID.SWISS<mailto:info@nid.swiss> – WWW.NID.SWISS<http://www.nid.swiss/>;
you can continue using the same library but also use the NFC reader library as reference, the one you are using is secured under NDA so we cannot discuss its content here but the NFC Reader Library | NXP is public also it have the .h .c documents for NTAG 424 so my recommendation would be to use the latest NFC reader library as a reference so its easier to you activate the card and interact with it, the library you are using does not have the NTAG 424 implementation yet.
BR
Jonathan
Hello Jonathan,
Sorry, but I still do not understand which library I have to download.
I'm developping a C++ application for Windows 64bit.
I'm using a PC/SC reader HID Omnikey 5321 CR.
And your link is proposing this:
05.22.01 NFC Reader Library for CLRC663<https://nxp.flexnetoperations.com/control/frse/download?element=11164367> Download Log<https://nxp.flexnetoperations.com/control/frse/certdlog?item_key=11164367>
05.22.01 NFC Reader Library for FRDM F82K<https://nxp.flexnetoperations.com/control/frse/download?element=11164417> Download Log<https://nxp.flexnetoperations.com/control/frse/certdlog?item_key=11164417>
05.22.01 NFC Reader Library for PN5180<https://nxp.flexnetoperations.com/control/frse/download?element=11164457> Download Log<https://nxp.flexnetoperations.com/control/frse/certdlog?item_key=11164457>
05.22.01 NFC Reader Library for PN7462<https://nxp.flexnetoperations.com/control/frse/download?element=11164487> Download Log<https://nxp.flexnetoperations.com/control/frse/certdlog?item_key=11164487>
05.22.00 NFC Reader Library for Linux<https://nxp.flexnetoperations.com/control/frse/download?element=11164447> Download Log<https://nxp.flexnetoperations.com/control/frse/certdlog?item_key=11164447>
4.04.05 NFC Reader Library for PN512<https://nxp.flexnetoperations.com/control/frse/download?element=8359497> Download Log<https://nxp.flexnetoperations.com/control/frse/certdlog?item_key=8359497>
Which library shall I use ?
Thanks for your help.
Stéphane Joly
Senior Engineer Embedded Solutions
Direct phone : +41 (0)32 924 04 47
Email : stephanej@nid.swiss<mailto:stephanej@nid.swiss>
NID SA - SWISS COMPETENCE IN IDENTIFICATION
LE CRET-DU-LOCLE 10, P.O. BOX 1161
2301 LA CHAUX-DE-FONDS, SWITZERLAND
PHONE: +41 (0)32 924 04 04 / FAX : +41 (0)32 924 04 00
INFO@NID.SWISS<mailto:info@nid.swiss> – WWW.NID.SWISS<http://www.nid.swiss/>;