Working with two NFC readers on Android Pie

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

Working with two NFC readers on Android Pie

1,276 次查看
c_adharumaraj
Contributor I
We are working on a device with Qualcomm snapdragon running Android Pie. Because of the workflow needs we are using two PN553 NFC readers on the device. At any give time only one of them will be used for reading tags. Both the readers are never used simultaneously.
To switch between the  two NFC readers we are currently following these steps -
  • Shutdown NFC service
  • Modify NFC service configuration file with the second reader's device file
  • Start NFC service
Though this arrangement works, this cycle takes about 30 seconds and does not meet the user experience requirements of the customer.
Is there any other better way of supporting 2 NFC readers in a device running Android Pie?
0 项奖励
回复
1 回复

1,181 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Ashwat,

   
Unfortunately!

   For Android applications supporting multiple NFC readers, we have no ready-made solution.We can only give you some advice.
   According to your description, there is already an NFC reader that can work normally, and the second NFC reader does not work.

   According to the working principle of Android devices, to make the second NFC reader work, you need to modify the NFC Hal layer to support two NFC reader devices, which probably achieve your requirements.

Have a nice day!

BR,

Weidong