Porting PN7150 cannot read ID card(二代身份证) on Android platform.
We test reading a TypeA card is OK.
Please tell us how to read the ID card. Thanks for your support.
Hi @join_ren
I'm having the same issue, have you already solved it
I am not sure if you have got the latest patch for android 9.0, but anyway, you may create a private case for it. Please kindly tell me the case number when it is available.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Dear Sir,
I have create a new case :Case Number : 00335216.
I have patch from AN11690( NXP NCI Android Porting Guidelines Rev. 2.0 — 14 December 2020 ). But it can not read ChinaID(TypeB).
Please help me check it.
thanks and waitting for your answer.
Hi @yrn ,
Thanks for the information! I have taken this case.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Sir,
Thanks for your answer. I know how to get ChinaID information. First, reading a string from ChinaID. Second, Getting the full information of ChinaID by the string from server licensed by Ministry of Public Security.
But NOW, I can not read a string from ChinaID. the particial error log like below(Please check all of log in attached file.):
01-25 09:17:40.194 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(228)] NfcTag::IsSameKovio: enter
01-25 09:17:40.194 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(279)] NfcTag::discoverTechnologies (activation): enter
01-25 09:17:40.194 11192 11232 E libnfc_nci: [ERROR:NfcTag.cpp(385)] NfcTag::discoverTechnologies (activation): unknown protocol ????
01-25 09:17:40.195 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(391)] NfcTag::discoverTechnologies (activation): index=0; tech=-1; handle=1; nfc type=0
01-25 09:17:40.195 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(395)] NfcTag::discoverTechnologies (activation): exit
01-25 09:17:40.195 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(537)] NfcTag::createNativeNfcTag: enter
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(607)] NfcTag::fillNativeNfcTagMembers1
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(659)] NfcTag::fillNativeNfcTagMembers2
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(690)] NfcTag::fillNativeNfcTagMembers3: index=0; rf tech params mode=1
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(804)] NfcTag::fillNativeNfcTagMembers4: index=0
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(904)] NfcTag::fillNativeNfcTagMembers4: tech unknown ????
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(961)] NfcTag::fillNativeNfcTagMembers5: tech B
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(579)] NfcTag::createNativeNfcTag: try notify nfc service
==========================================================================================
The patch of Android8.0 is OK. I compare the patch of Android9.0 referend by AN11690 with the patch of Android8.0. I found that the patch of Android9.0 does not involve the code processed ChinaID in Android8.0's patch. the processing ChinaID code involved the compile switch of "#if(NXP_EXTNS == TRUE)". The patch of Android9.0 does not include these code.
So, Please help me check why the patch of Android9 can not work well and whether the issue core is "#if(NXP_EXTNS == TRUE)".
Thanks
Yang
Hello @join_ren ,
Would do you mean reading ID card? As far as I know, reading the content inside the ID card needs a special App licensed by the Ministry of Public Security.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Sir,
Thanks for your answer. I know how to get ChinaID information. First, reading a string from ChinaID. Second, Getting the full information of ChinaID by the string from server licensed by Ministry of Public Security.
But NOW, I can not read a string from ChinaID. the particial error log like below(Please check all of log in attached file.):
01-25 09:17:40.194 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(228)] NfcTag::IsSameKovio: enter
01-25 09:17:40.194 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(279)] NfcTag::discoverTechnologies (activation): enter
01-25 09:17:40.194 11192 11232 E libnfc_nci: [ERROR:NfcTag.cpp(385)] NfcTag::discoverTechnologies (activation): unknown protocol ????
01-25 09:17:40.195 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(391)] NfcTag::discoverTechnologies (activation): index=0; tech=-1; handle=1; nfc type=0
01-25 09:17:40.195 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(395)] NfcTag::discoverTechnologies (activation): exit
01-25 09:17:40.195 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(537)] NfcTag::createNativeNfcTag: enter
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(607)] NfcTag::fillNativeNfcTagMembers1
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(659)] NfcTag::fillNativeNfcTagMembers2
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(690)] NfcTag::fillNativeNfcTagMembers3: index=0; rf tech params mode=1
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(804)] NfcTag::fillNativeNfcTagMembers4: index=0
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(904)] NfcTag::fillNativeNfcTagMembers4: tech unknown ????
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(961)] NfcTag::fillNativeNfcTagMembers5: tech B
01-25 09:17:40.196 11192 11232 I libnfc_nci: [INFO:NfcTag.cpp(579)] NfcTag::createNativeNfcTag: try notify nfc service
==========================================================================================
The patch of Android8.0 is OK. I compare the patch of Android9.0 referend by AN11690 with the patch of Android8.0. I found that the patch of Android9.0 does not involve the code processed ChinaID in Android8.0's patch. the processing ChinaID code involved the compile switch of "#if(NXP_EXTNS == TRUE)". The patch of Android9.0 does not include these code.
So, Please help me check why the patch of Android9 can not work well and whether the issue core is "#if(NXP_EXTNS == TRUE)".
Thanks
Yang Le