Working with two NFC readers on Android Pie

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Working with two NFC readers on Android Pie

1,334 Views
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 Kudos
Reply
1 Reply

1,239 Views
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