From b19cb699ac0613d6264ba706d6bbe116062a6233 Mon Sep 17 00:00:00 2001 From: Suhas Suresh Date: Tue, 24 Sep 2019 18:01:12 +0530 Subject: [PATCH] miatoll: nfc: Use DEFAULT_TECH_ABF_ROUTE to handle tech route separately Earlier implementation uses DEFAULT_OFFHOST_ROUTE to update Tech A,B route location and also as route location for payment apps not having route location (secureElementName attribute). Tech F is handled separately using DEFAULT_NFCF_ROUTE. New change introduces DEFAULT_TECH_ABF_ROUTE config which will be used to update Tech A,B,F and DEFAULT_NFCF_ROUTE will not be used anymore. DEFAULT_OFFHOST_ROUTE will be used only to update route location for payment apps not having route location (secureElementName attribute). Change-Id: If9ee25038d5b05a1a5bbf04f3a51c9ac1324ae74 --- nfc/libnfc-nxp.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/nfc/libnfc-nxp.conf b/nfc/libnfc-nxp.conf index 447fe92..910663d 100644 --- a/nfc/libnfc-nxp.conf +++ b/nfc/libnfc-nxp.conf @@ -172,7 +172,7 @@ DEFAULT_OFFHOST_ROUTE=0x02 # host 0x00 # eSE 0x01 # UICC 0x02 -DEFAULT_NFCF_ROUTE=0x02 +DEFAULT_TECH_ABF_ROUTE=0x01 ############################################################################### #Set the default Felica T3T System Code OffHost route Location : @@ -212,14 +212,15 @@ DEFAULT_ISODEP_PWR_STATE=0x3B DEFAULT_OFFHOST_PWR_STATE=0x3B ############################################################################### -#Set the Felica CLT Power state : +#Set Tech A,B,F Power state : #This settings will be used when application does not set this parameter # bit pos 0 = Switch On # bit pos 1 = Switch Off # bit pos 2 = Battery Off -# bit pos 3 = Screen Off -# bit pos 4 = Screen Lock -DEFAULT_NFCF_PWR_STATE=0x3B +# bit pos 3 = Switched On Sub-State 1 : Screen is off and device is unlocked +# bit pos 4 = Switched On Sub-State 2 : Screen is on and device is locked +# bit pos 5 = Switched On Sub-State 3 : Screen is off and device is locked +DEFAULT_TECH_ABF_PWR_STATE=0x3B ############################################################################### #Set the SYS_CODE Power state :