Activating the reader to select an application (Select AID) on the android (HCE)

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

Activating the reader to select an application (Select AID) on the android (HCE)

2,673 次查看
eugenebunin
Contributor I

The scheme
     Phone -> Card emulation
     Card reader -> reader / writer mode (using the ISO/IEC 7816-4 protocol)

I plan to connect the phone with a card reader. I am a developer of the reader program. On the phone android running the application in HCE mode.

As I understood the example, "NfcrdlibEx3_NFCForum" uses SNEP (Simple NDEF Exchange Protocol) which is not suitable for me, since the android expects ISO / IEC 7816-4 protocol.

Tell me, please, steps to run the example on the reader and then select the application on the android.

I will be grateful for a (short) list of library functions, functions that output the application to the ISO / IEC 7816-4 protocol layer.

thank you

0 项奖励
回复
1 回复

1,991 次查看
eugenebunin
Contributor I

                        DEBUG_PRINTF("Sending APDU:\n");
                        status = phpalI14443p4_Exchange(&spalI14443p4,PH_EXCHANGE_DEFAULT, &bBufferReader[3], sizeof(message),(uint8_t **)&bBufferReader[0], &bRxLength);

it works, I managed to select an application on android.

0 项奖励
回复