SAM AV2 C#

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SAM AV2 C#

968 次查看
franciscod
Contributor I

First of all, hello everyone,

I tried to use a SAM AV2 using an OMNIKEY in c#, I can read just the ATR, but I can't init the SAM correctly, i want to get the information of the SAM including the UID using an APDU, but the information related of it isn't work for me.

If anyone has information on what kind of APDU I need to send with OMNIKEY to get that information, it would be helpful.

Thank you.

0 项奖励
回复
3 回复数

920 次查看
franciscod
Contributor I

Hello Fabian,

I appreciate your support and advice for the implementation that I recently started.

The OMNIKEY that I use works with the following ISO: 14443 A/B and 7816, yesterday I found an APDU to get the version of SAM AV2 and it works, so, in that case, is correct for the development of this project, or is necessary to use another reader. This APDU response has the UID that I needed for future uses.

In case of choosing some other reader could you recommend me some, this to be able to develop it in c#, that has some library to be able to communicate with the reader and the SAM module.

Best Regards,

Francisco

 

 

0 项奖励
回复

886 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

If the SAM AV2 does respond to the UID request command it seems like the interfacing is correctly implemented nevertheless, I am unable of being sure if your application is authenticating with your SAM <-> Host.

We do provide an Application Note for the SAM AV2 Host communication in our secure files (AN109xx). This document does show how to use the SAM and, shows some examples. Please keep in mind that these are secured information and, should not be discussed in this public community since an NDA is needed to gain access.

Please try to follow these examples for testing your implementation with the ONMIKEY reader.

Best Regards,
Fabian
0 项奖励
回复

925 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

Thank you for your interest in our products.

Unfortunately the support I can provide for such implementation is limited since I am not able to reprodue this scenario.

As stated in the Datasheet the structure is compliant with ISO 7816-4 but, the commands aren't.

If the OMNIKEY can only send ISO 7816-4 compliant commands is possible that the communication cannot be done this way.

It may be required to evaluate the setup using wither other reader or, a host between the reader and the SAM.

Still, I have to mention that SAM AV2 isn't recommended anymore for new designs, please explore the possibility of using SAM AV3.

Best Regards,
Fabian