Disable P2P target 106 kbit/s mode.

NFC_IP mode controls the P2P modes that the PN544 operates in. This change
turns off 106kb/s passive (P2P target mode).

The reason for this change is that enabling P2P target at 106 kb/s can
interfere with card emulation. Some 106kb/s card readers will enumerate
the pn544 as two distinct targets if we have 106kb/s card emulation and
106kb/s P2P target, and they will then refuse to talk to us. So this is
basically for legacy support of 106kb/s card emulation.

NXP advise that it is a common change to disable 106kb/s P2P target. We still
enable 212kb/s and 424kb/s P2P target.

Secondly, we need to choose a different session ID to force the pn544 to
apply this new configuration (instead of just loading the previous from
EEPROM).

Change-Id: I2847c04bb028b857223439dc1f9f6252162913c4
Signed-off-by: Nick Pelly <npelly@google.com>
1 file changed
tree: b24b3549cee09b26e45071428ec427809c762472
  1. inc/
  2. Linux_x86/
  3. src/
  4. Android.mk