cancel
Showing results for 
Search instead for 
Did you mean: 

I have bought a M24LR-Discovery Board (with CR95HF) for evaluating the NFC communication with a tag. I would like to communicate with the tag via command line for batch processing. Is this possible? What do I need to install to run them?

huck lim
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

Hi,

ST provides a PC software executable for DEMO-CR95HF-A board (STSW-95HF001) running on Windows. This PC software has a script tool menu that allows user to drive the CR95HF.

Script example (Select Protocol ISO14443-A and performs Anticollision):

CR95HFDLL_SELECT, 0200
CR95HF_ISO14443-A_AnticolSelect123

Log displayed on console:

02-21-2019 18:26:51	>>> CR95HFDLL_SELECT, 0200
			<<< 0000
 
02-21-2019 18:26:51	>>> CR95HFDLL_ANTICOLSELECT123
 
	------ ISO14443-A STARTING ANTICOLISION ALGORITHM ------
 
02-21-2019 18:26:51	ISO14443-A REQA
			>>> CR95HFDLL_SENDRECEIVE, 2607
			<<< 8700 : Frame wait time out OR no tag
02-21-2019 18:26:51	ISO14443-A REQA
			>>> CR95HFDLL_SENDRECEIVE, 2607
			<<< 80054200280000
02-21-2019 18:26:51	ISO14443-A ANTICOL 1
			>>> CR95HFDLL_SENDRECEIVE, 932008
			<<< 80088802A30029280000
02-21-2019 18:26:51	ISO14443-A SELECT 1
			>>> CR95HFDLL_SENDRECEIVE, 93708802A3002928
			<<< 800604DA17080000
02-21-2019 18:26:51	ISO14443-A ANTICOL 2
			>>> CR95HFDLL_SENDRECEIVE, 952008
			<<< 800800C7907126280000
02-21-2019 18:26:51	ISO14443-A SELECT 2
			>>> CR95HFDLL_SENDRECEIVE, 957000C790712628
			<<< 800620FC70080000
			--> UID = 02A30000C79071
			--> TAG selected
 
	------ ISO14443-A END OF ANTICOLISION ALGORITHM ------

See UM1084: (CR95HF development software) § 2.8.4 Script tool for detailed information.

ST provides as well a communication DLL that can be used in your application.

See AN3954 (Developing your own Visual Basic or C/C++ application on a CR95HF demonstration board) and STSW-95HF002 (PC software source code example for DEMO-CR95HF-A board)

Feel free to provide us more information regarding your application such as:

  • OS environment (Linux or Windows)
  • tag type to be used
  • batch processing to be done and interface with other applications

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Brian TIDAL
ST Employee

Hi,

ST provides a PC software executable for DEMO-CR95HF-A board (STSW-95HF001) running on Windows. This PC software has a script tool menu that allows user to drive the CR95HF.

Script example (Select Protocol ISO14443-A and performs Anticollision):

CR95HFDLL_SELECT, 0200
CR95HF_ISO14443-A_AnticolSelect123

Log displayed on console:

02-21-2019 18:26:51	>>> CR95HFDLL_SELECT, 0200
			<<< 0000
 
02-21-2019 18:26:51	>>> CR95HFDLL_ANTICOLSELECT123
 
	------ ISO14443-A STARTING ANTICOLISION ALGORITHM ------
 
02-21-2019 18:26:51	ISO14443-A REQA
			>>> CR95HFDLL_SENDRECEIVE, 2607
			<<< 8700 : Frame wait time out OR no tag
02-21-2019 18:26:51	ISO14443-A REQA
			>>> CR95HFDLL_SENDRECEIVE, 2607
			<<< 80054200280000
02-21-2019 18:26:51	ISO14443-A ANTICOL 1
			>>> CR95HFDLL_SENDRECEIVE, 932008
			<<< 80088802A30029280000
02-21-2019 18:26:51	ISO14443-A SELECT 1
			>>> CR95HFDLL_SENDRECEIVE, 93708802A3002928
			<<< 800604DA17080000
02-21-2019 18:26:51	ISO14443-A ANTICOL 2
			>>> CR95HFDLL_SENDRECEIVE, 952008
			<<< 800800C7907126280000
02-21-2019 18:26:51	ISO14443-A SELECT 2
			>>> CR95HFDLL_SENDRECEIVE, 957000C790712628
			<<< 800620FC70080000
			--> UID = 02A30000C79071
			--> TAG selected
 
	------ ISO14443-A END OF ANTICOLISION ALGORITHM ------

See UM1084: (CR95HF development software) § 2.8.4 Script tool for detailed information.

ST provides as well a communication DLL that can be used in your application.

See AN3954 (Developing your own Visual Basic or C/C++ application on a CR95HF demonstration board) and STSW-95HF002 (PC software source code example for DEMO-CR95HF-A board)

Feel free to provide us more information regarding your application such as:

  • OS environment (Linux or Windows)
  • tag type to be used
  • batch processing to be done and interface with other applications

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.