Working with two NFC readers on Android Pie

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Working with two NFC readers on Android Pie

1,267件の閲覧回数
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,172件の閲覧回数
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