vendor_oneplus_sm8250-common/proprietary/vendor/etc/sn100u_nfcon.pnscr

118 lines
4.1 KiB
Plaintext
Raw Normal View History

reset 1
interval 50
#flushing i2c buffer
send 20000100
send 20000100
send 20000100
send 20000100
# -=(CORE_RESET_CMD)=- Keep Configuration
# 40000100
# 60000A020020040500A4011007
# <<CORE_RESET_NTF>> CORE_RESET_CMD received
# NCI RF Configuration has been kept NCI 2.0 Model ID:00 HW ID:A4 FW:01.10.07
send 2001020000
# -=(CORE_INIT_CMD)=- NCI2.0
# 400120001A3E0600010604FFFF01FF0008000001010002000301018000820083008400
send 20000100
# -=(CORE_RESET_CMD)=- Keep Configuration
# 40000100
# 60000A020020040500A4011007<<CORE_RESET_NTF>> CORE_RESET_CMD received
# NCI RF Configuration has been keptNCI 2.0Model ID:00 HW ID:A4 FW:01.10.07
send 2001020000
# -=(CORE_INIT_CMD)=- NCI2.0
# 400120001A3E0600010604FFFF01FF0008000001010002000301018000820083008400
send 2F0200
# -=(NCI_PROPRIETARY_ACT_CMD)=-
# 4F02050000010AE3
send 2F000101
# -=(CORE_SET_POWER_MODE_CMD)=- Standby Mode enabled
# 4F000100
send 20021204A0EC0101A0ED0101A0070101A047020027
# SWP_INT1_EN_CFG:01 SWP_INT2_EN_CFG:01 VEN_CFG:01 GT_NFC-AP_CFG:0027
send 220000
# -=(NFCEE_DISCOVER_CMD)=-
# 42000200033 NFCEE found
# 6200088001000103010200<<NFCEE_DISCOVER_NTF>> 80 disabled
# Host ID:02
# NFCC has no control of the NFCEE power supply
# 6200088101000103018100<<NFCEE_DISCOVER_NTF>> 81 disabled
# Host ID:81
# NFCC has no control of the NFCEE power supply
# 620008C00100010301C001<<NFCEE_DISCOVER_NTF>> C0 disabled
# Host ID:C0
# NFCC has control of the NFCEE power supply
send 0100028103 HCI admin: open
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 0100028180 HCI admin: any ok
send 01000B8101016E0A71666A0A7166 HCI admin: set session id
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 0100028180 HCI admin: any ok
send 010007810103028182C0 HCI admin: set whitelist
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 0100028180 HCI admin: any ok
send 010003810204 HCI admin: get host list
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 010003818000 HCI admin: any ok
send 220302C003 -=(NFCEE_POWER_AND_LINK_CNTRL_CMD)=- C0 NFCEE Power supply and link always On
# 42030100
send 220102C001 -=(NFCEE_MODE_SET_CMD)=- enabled C0
# 42010100
# 620202C001 <<NFCEE_STATUS_NTF>> C0 Initialization sequence started
# 610A06010003C08004 <<RF_NFCEE_DISCOVERY_REQ_NTF>> add:C0-Apl-IsoDep
# 610A06010003C08104 <<RF_NFCEE_DISCOVERY_REQ_NTF>> add:C0-Bpl-IsoDep
# 0100078112C041014116 HCI admin: pipe created 16 (eSE connectivity) from C0 (41) to 01 (41)
send 0100028180 HCI admin: any ok
# 610A06010003C08203 <<RF_NFCEE_DISCOVERY_REQ_NTF>> add:C0-Fpl-T3T
# 0100029603 HCI eSE connectivity: open
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
send 010003968000 HCI eSE connectivity: any ok
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 620202C002 <<NFCEE_STATUS_NTF>> C0 Initialization sequence completed
# 62010100 <<NFCEE_MODE_SET_NTF>>
send 010003810204 HCI admin: get host list
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 010004818000C0 HCI admin: any ok
send 20030502A023A022 -=(CORE_GET_CONFIG_CMD)=-
# 40030A0002A0230100A0220101
# ?A023?:00 ?A022?:01
send 010005811011C030 HCI admin: create pipe from (11) to C0 (30)
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 01000781800111C03019 HCI admin: any ok
send 0100029903 HCI eSE wired APDU: open
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 010003998000 HCI eSE wired APDU: any ok
send 010003990201 HCI eSE wired APDU: get param:01
# 01001699523B8F80014A434F50352E312052312E30302E3140 HCI eSE wired APDU: transaction
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 01000499808000 HCI eSE wired APDU: any ok
send 010003990202 HCI eSE wired APDU: get param:02
# 600603010101 <<CORE_CONN_CREDITS_NTF>>
# 010004998003E8 HCI eSE wired APDU: any ok
send 220302C001
# NFCEE_POWER_AND_LINK_CNTRL_CMD C0 NFCEE Power supply always On
send 21030703800181018201
# -=([1;32mRF_DISCOVER_CMD)=-
# Apl Bpl Fpl
# 41030100
# use dwp
send 220302C003
# -=(NFCEE_POWER_AND_LINK_CNTRL_CMD)=- C0 NFCEE Power supply and link always On
# 42030100
send 220102C001
# -=(NFCEE_MODE_SET_CMD)=- enabled C0
# 42010100
# 62010100<<NFCEE_MODE_SET_NTF>>
interval 100