立即注册
查看: 4586|回复: 3

[问题] 基于RK3128的android 6.0.1 NFC调试问题

已绑定手机
发表于 2018-7-27 16:02:29 | 显示全部楼层 |阅读模式 来自 广东省中山市
软硬件环境:RK3128 平台,Android 6.0.1版本,NFC用的是BCM2079X问题:
驱动加载成功,Framework已打了供应商提供的Patch,用供应提供的测试工具BrcmNfcHwTest测试,能读出ID等信息,说明硬件OK但在settings里面的NFC打开失败,一打开过一会就自动关闭,查看logcat如下,不知道有没有朋友遇到过
01-22 05:59:55.135: D/alsa_route(180): route_set_controls() set route 2401-22 05:59:55.135: D/AudioHardwareTiny(180): close device01-22 05:59:56.589: W/Settings(1290): Setting airplane_mode_on has MOVed from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.01-22 05:59:56.595: I/NfcService(1290): Enabling NFC01-22 05:59:56.596: D/WirelessSettings(1843): onPreferenceTreeClick: preference=NFC 允许平板电脑在接触其他设备时交换数据01-22 05:59:56.606: D/AudioHardwareTiny(180): start_output_stream01-22 05:59:56.610: D/alsa_route(180): route_info->sound_card 0, route_info->devices 0  01-22 05:59:56.611: D/alsa_route(180): route_set_controls() set route 001-22 05:59:56.620: I/NfcService(1290): enableInternal(); screenState=301-22 05:59:56.620: D/NativeNfcManager(1290): power state=401-22 05:59:56.620: D/BrcmNfcJni(1290): PowerSwitch::com_android_nfc_NativeNfcManager_doSetPowerMode: mode=0x4; screen on unlocked01-22 05:59:56.620: D/BrcmNfcJni(1290): nfcManager_doInitialize: enter; ver=NFCA-600-30_00.19 nfa=NFA11_00.10.00 NCI_VERSION=0x1101-22 05:59:56.623: D/NfcAdaptation(1290): bool CNfcConfig::readConfig(const char*, bool) Opened base config /etc/libnfc-brcm.conf01-22 05:59:56.660: I/ActivityManager(530): Start proc 3675:com.brcm.nfcutil/u0a41 for broadcast com.brcm.nfcutil/.RecvNfcBroadcast01-22 05:59:56.663: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found SCREEN_OFF_POWER_STATE=(0x3)01-22 05:59:56.663: D/BrcmNfcJni(1290): PowerSwitch::initialize: desired screen-off state=301-22 05:59:56.664: D/BrcmNfcJni(1290): MifareClassicNfa::initialize01-22 05:59:56.664: D/BrcmNfcJni(1290): RoutingManager::resetUiccBitRate01-22 05:59:56.664: D/NfcAdaptation(1290): NfcAdaptation::Initialize: enter01-22 05:59:56.664: E/NfcAdaptation(1290): NfcAdaptation::Initialize: ver=NFCA-600-30_00.19 nfa=NFA11_00.10.0001-22 05:59:56.664: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_STORAGE=/data/nfc01-22 05:59:56.665: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found PROTOCOL_TRACE_LEVEL=(0xFFFFFFFF)01-22 05:59:56.665: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_MAX_EE_SUPPORTED=(0x3)01-22 05:59:56.665: D/NfcAdaptation(1290): NfcAdaptation::Initialize: Overriding NFA_EE_MAX_EE_SUPPORTED to use 301-22 05:59:56.665: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 05:59:56.665: D/BrcmNfcJni(1290): initializeGlobalAppLogLevel: level=501-22 05:59:56.665: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRESERVE_STORAGE=(0x1)01-22 05:59:56.665: D/NfcAdaptation(1290): Initialize: preserve stack NV store01-22 05:59:56.668: D/NfcAdaptation(1290): NfcAdaptation::NFCA_TASK: enter01-22 05:59:56.669: I/BrcmNfcNfa(1290): GKI_run(): Start/Stop GKI_timer_update_registered!01-22 05:59:56.670: D/NfcAdaptation(1290): NfcAdaptation::Thread: enter01-22 05:59:56.677: I/BrcmNfcNfa(1290): NFC_TASK started.01-22 05:59:56.677: D/NfcAdaptation(1290): NfcAdaptation::Thread: exit01-22 05:59:56.677: D/NfcAdaptation(1290): NfcAdaptation::InitializeHalDeviceContext: enter01-22 05:59:56.678: E/NfcAdaptation(1290): No HAL module specified in config, falling back to BCM2079x01-22 05:59:56.680: D/NfcNciHal(1290): nfc_open: enter; name=nci01-22 05:59:56.680: D/NfcNciHal(1290): HaiInitializeLibrary: enter01-22 05:59:56.680: E/NfcNciHal(1290): HaiInitializeLibrary: ver=NFCA-600-30_00.19 nfa=NFA11_00.10.0001-22 05:59:56.681: D/NfcNciHal(1290): bool CNfcConfig::readConfig(const char*, bool) Opened base config /etc/libnfc-brcm.conf01-22 05:59:56.717: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 05:59:56.718: D/NfcNciHal(1290): InitializeGlobalAppLogLevel: level=501-22 05:59:56.718: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_HARDWARE_ID=(0x20797B00)01-22 05:59:56.718: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_FREQUENCY=(0x6590)01-22 05:59:56.718: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_FREQ_INDEX=(0x5)01-22 05:59:56.718: D/NfcNciHal(1290): configureCrystalFrequency: hwId=0x20797B00; freq=26000; index=501-22 05:59:56.718: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRESERVE_STORAGE=(0x1)01-22 05:59:56.718: D/NfcNciHal(1290): HaiInitializeLibrary: preserve HAL NV store01-22 05:59:56.719: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PROTOCOL_TRACE_LEVEL=(0xFFFFFFFF)01-22 05:59:56.719: D/NfcNciHal(1290): int HaiInitializeLibrary(const bcm2079x_dev_t*): uart config=0x0209, 701-22 05:59:56.719: I/USERIAL_LINUX(1290): USERIAL_Init01-22 05:59:56.719: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_PREFIX=(0x0)01-22 05:59:56.720: D/NfcNciHal(1290): int HaiInitializeLibrary(const bcm2079x_dev_t*): Configure to NOT use 1-byte transport prefix or BT commands01-22 05:59:56.720: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFCC_ENABLE_TIMEOUT=(0x7D0)01-22 05:59:56.720: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_MAX_EE_SUPPORTED=(0x3)01-22 05:59:56.720: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_ON_DELAY=(0x12C)01-22 05:59:56.721: I/NfcNciHal(1290): HAL_NfcInitialize (): NFC_HAL_TASK id=001-22 05:59:56.722: D/NfcNciHal(1290): HaiInitializeLibrary: exit 001-22 05:59:56.722: D/NfcNciHal(1290): nfc_open: exit 001-22 05:59:56.722: D/NfcAdaptation(1290): NfcAdaptation::InitializeHalDeviceContext: exit01-22 05:59:56.722: D/NfcAdaptation(1290): NfcAdaptation::Initialize: exit01-22 05:59:56.722: D/(1290): SecElemInfoStore::load: enter01-22 05:59:56.722: D/(1290): SecElemInfoStore::load: try open /data/nfc/secElemInfoStore.bin01-22 05:59:56.723: E/(1290): SecElemInfoStore::load: fail open, errno=201-22 05:59:56.723: D/(1290): SecElemInfoStore::load: exit01-22 05:59:56.723: I/BrcmNfcNfa(1290): NFA_Init ()01-22 05:59:56.723: I/BrcmNfcNfa(1290): nfa_dm_init ()01-22 05:59:56.723: I/BrcmNfcNfa(1290): nfa_sys_register () id=1, enable_cplt_mask=0x001-22 05:59:56.723: I/BrcmNfcNfa(1290): nfa_p2p_init ()01-22 05:59:56.723: I/BrcmNfcNfa(1290): nfa_sys_register () id=3, enable_cplt_mask=0x801-22 05:59:56.723: I/BrcmNfcNfa(1290): nfa_cho_init ()01-22 05:59:56.723: I/NfcNciHal(1290): NFC_HAL_TASK started01-22 05:59:56.723: I/BrcmNfcNfa(1290): nfa_sys_register () id=4, enable_cplt_mask=0x1801-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_snep_init (): is_dta_mode=001-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_snep_default_init ()01-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_sys_register () id=5, enable_cplt_mask=0x3801-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_rw_init ()01-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_sys_register () id=6, enable_cplt_mask=0x7801-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_ce_init ()01-22 05:59:56.730: I/com.android.nfc(3689): type=1400 audit(0.0:232): avc: denied { read write } for comm=4173796E635461736B202332 name="bcm2079x" dev="tmpfs" ino=7996 scontext=u:r:nfc:s0 tcontext=ubject_r:device:s0 tclass=chr_file permissive=101-22 05:59:56.730: I/com.android.nfc(3689): type=1400 audit(0.0:233): avc: denied { open } for comm=4173796E635461736B202332 path="/dev/bcm2079x" dev="tmpfs" ino=7996 scontext=u:r:nfc:s0 tcontext=ubject_r:device:s0 tclass=chr_file permissive=101-22 05:59:56.730: I/com.android.nfc(3689): type=1400 audit(0.0:234): avc: denied { ioctl } for comm=4173796E635461736B202332 path="/dev/bcm2079x" dev="tmpfs" ino=7996 ioctLCMd=fa05 scontext=u:r:nfc:s0 tcontext=ubject_r:device:s0 tclass=chr_file permissive=101-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_sys_register () id=7, enable_cplt_mask=0xf801-22 05:59:56.724: I/BrcmNfcNfa(1290): nfa_ee_init ()01-22 05:59:56.725: I/BrcmNfcNfa(1290): nfa_sys_register () id=2, enable_cplt_mask=0xfc01-22 05:59:56.725: I/BrcmNfcNfa(1290): nfa_hci_init ()01-22 05:59:56.725: I/BrcmNfcNfa(1290): nfa_sys_register () id=8, enable_cplt_mask=0x1fc01-22 05:59:56.725: I/BrcmNfcNfa(1290): nfa_sys_register () id=9, enable_cplt_mask=0x3fc01-22 05:59:56.725: I/BrcmNfcNfa(1290): LLCP - llcp_init ()01-22 05:59:56.725: I/BrcmNfcNfa(1290): num_rx_buff = 9, rx_congest_start = 6, rx_congest_end = 4, max_num_ll_rx_buff = 201-22 05:59:56.725: I/BrcmNfcNfa(1290): max_num_tx_buff = 21, max_num_ll_tx_buff = 601-22 05:59:56.725: I/BrcmNfcNfa(1290): LLCP_RegisterServer (): SAP:0x1, link_type:0x2, ServiceName:<urn:nfc:sn:sdp>01-22 05:59:56.729: I/BrcmNfcNfa(1290): LLCP_RegisterServer (): Registered SAP = 0x0101-22 05:59:56.729: I/BrcmNfcNfa(1290): NFC_SetNciCmdTimeout () new timeout val = 2000 ms01-22 05:59:56.730: I/BrcmNfcNfa(1290): NFA_RegVSCback() is_register=001-22 05:59:56.730: I/BrcmNfcNfa(1290): NFA got event 0x011801-22 05:59:56.730: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_REG_VSC_EVT (0x18)01-22 05:59:56.731: E/BrcmNfcNfa(1290): NFC_RegVSCback failed01-22 05:59:56.731: I/BrcmNfcNfa(1290): NFA_RegVSCback() is_register=101-22 05:59:56.732: I/BrcmNfcNfa(1290): NFA got event 0x011801-22 05:59:56.732: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_REG_VSC_EVT (0x18)01-22 05:59:56.732: I/BrcmNfcNfa(1290): NFA_Enable () - version: NFA11_00.10.0001-22 05:59:56.732: I/BrcmNfcNfa(1290): NFA got event 0x010001-22 05:59:56.732: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_ENABLE_EVT (0x00)01-22 05:59:56.733: I/BrcmNfcNfa(1290): nfa_dm_enable ()01-22 05:59:56.733: I/BrcmNfcNfa(1290): NFC_Enable ()01-22 05:59:56.733: I/BrcmNfcNfa(1290): nfc_set_state 0 (NONE)->1 (W4_HAL_OPEN)01-22 05:59:56.733: D/NfcAdaptation(1290): NfcAdaptation::HalOpen01-22 05:59:56.733: D/NfcNciHal(1290): HaiOpen: enter01-22 05:59:56.733: I/NfcNciHal(1290): HAL_NfcOpen ()01-22 05:59:56.733: I/NfcNciHal(1290): nfc_hal_dm_init () 0x001-22 05:59:56.734: I/NfcNciHal(1290): NFC_HAL_TASK got NFC_HAL_TASK_EVT_INITIALIZE signal. Opening NFC transport...01-22 05:59:56.734: I/NfcNciHal(1290): nfc_hal_main_turn_on_nfcc()01-22 05:59:56.734: D/USERIAL_LINUX(1290): UPIO_Config: upio=REG_PU; config=OUT01-22 05:59:56.734: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_CONTROL_DRIVER=/dev/bcm2079x01-22 05:59:56.735: D/USERIAL_LINUX(1290): open_kernel_driver: sock_power_control=2001-22 05:59:56.736: D/USERIAL_LINUX(1290): UPIO_Config: upio=NFC_WAKE; config=OUT01-22 05:59:56.736: D/USERIAL_LINUX(1290): UPIO_Set: upio=NFC_WAKE; state=OFF01-22 05:59:56.736: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 05:59:56.736: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 05:59:56.737: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=OFF01-22 05:59:56.737: D/USERIAL_LINUX(1290): power_off_controller: enter01-22 05:59:56.737: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 05:59:56.738: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 05:59:56.739: D/USERIAL_LINUX(1290): power_off_controller: delay 10 ms before turning off the chip01-22 05:59:56.739: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 05:59:56.740: D/BrcmNfcJni(1290): initializeGlobalAppLogLevel: level=501-22 05:59:56.740: I/BrcmNfcNfa(1290): NFC_SetTraceLevel () new_level = 501-22 05:59:56.749: D/USERIAL_LINUX(1290): control_nfc_power: state=OFF01-22 05:59:56.750: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 05:59:56.750: D/USERIAL_LINUX(1290): power_off_controller: delay 0 ms after turning off the chip01-22 05:59:56.750: D/USERIAL_LINUX(1290): power_off_controller: exit01-22 05:59:56.760: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=ON01-22 05:59:56.761: D/USERIAL_LINUX(1290): power_on_controller: enter01-22 05:59:56.761: D/USERIAL_LINUX(1290): control_nfc_power: state=ON01-22 05:59:56.761: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 05:59:56.761: D/USERIAL_LINUX(1290): power_on_controller: exit01-22 05:59:57.016: W/System(3675): ClaSSLoader referenced unknown path: /system/app/NfcUtil/lib/arm01-22 05:59:57.023: D/NfcUtil(3675): RecvNfcBroadcast.onReceive: action=android.nfc.action.ADAPTER_STATE_CHANGED01-22 05:59:57.024: D/NfcUtil(3675): NFC state=201-22 05:59:57.156: I/NfcNciHal(1290): nfc_hal_main_timeout_cback () event=0x000201-22 05:59:57.156: I/NfcNciHal(1290): nfc_hal_main_open_transport baud: 701-22 05:59:57.156: I/USERIAL_LINUX(1290): USERIAL_Open(): enter01-22 05:59:57.156: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_CONTROL_DRIVER=/dev/bcm2079x01-22 05:59:57.156: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_DRIVER=/dev/bcm2079x01-22 05:59:57.156: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFC_WAKE_DELAY=(0x14)01-22 05:59:57.156: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFC_WRITE_DELAY=(0x14)01-22 05:59:57.156: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_ON_DELAY=(0x12C)01-22 05:59:57.156: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRE_POWER_OFF_DELAY=(0xA)01-22 05:59:57.157: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_PREFIX=(0x0)01-22 05:59:57.157: I/USERIAL_LINUX(1290): USERIAL_Open() device: /dev/bcm2079x port=5, uart_port=0 WAKE_DELAY(20) WRITE_DELAY(20) POWER_ON_DELAY(300) PRE_POWER_OFF_DELAY(10) POST_POWER_OFF_DELAY(0)01-22 05:59:57.157: I/USERIAL_LINUX(1290): USERIAL_Open() nPrefixLen=001-22 05:59:57.157: D/USERIAL_LINUX(1290): USERIAL_Open Opening /dev/bcm2079x01-22 05:59:57.157: D/USERIAL_LINUX(1290): USERIAL_Open sock = 2101-22 05:59:57.157: D/USERIAL_LINUX(1290): DetectTransportVersion: bReadFullpacket=0, nPrefixLen=001-22 05:59:57.158: I/USERIAL_LINUX(1290): USERIAL_Open(): exit01-22 05:59:57.158: I/NfcNciHal(1290): HAL state: 0(CLOSED) -> 6(W4_RESET_NTF)01-22 05:59:57.158: D/USERIAL_LINUX(1290): start userial_read_thread, id=a2e3093001-22 05:59:59.487: I/NfcNciHal(1290): nfc_hal_main_timeout_cback () event=0x000101-22 05:59:59.487: I/NfcNciHal(1290): nfc_hal_dm_continue_opening ()  HAL State: 601-22 05:59:59.487: I/NfcNciHal(1290): nfc_check_set_max_nfcc_pkt_size () :  set=0 size=25501-22 05:59:59.487: I/NfcNciHal(1290): HAL state: 6(W4_RESET_NTF) -> 7(W4_BUILD_INFO)01-22 05:59:59.487: I/NfcNciHal(1290): nfc_hal_dm_send_nci_cmd (): nci_wait_rsp = 0x001-22 05:59:59.487: I/NfcNciHal(1290): nfc_hal_dm_wake_nfcc () snooze_mode=001-22 05:59:59.488: I/NfcNciHal(1290): p_buf->len: 301-22 05:59:59.488: I/BrcmNci(1290): --01-22 05:59:59.488: I/BrcmNci(1290): SENT NCI  Type:CMD   Name: BLD_INFO(0x4)   PBF:No/Last   Param Len: 0/0 f:0x001-22 05:59:59.488: D/BrcmNci(1290): Raw NCI Packet01-22 05:59:59.488: D/BrcmNci(1290): 0000: 2f 04 00                                        /..01-22 05:59:59.488: I/BrcmNci(1290): --01-22 05:59:59.489: D/USERIAL_LINUX(1290): USERIAL_Write: (3 bytes)01-22 05:59:59.491: D/USERIAL_LINUX(1290): USERIAL_Write len = 3, ret = 301-22 05:59:59.765: D/alsa_route(180): route_set_controls() set route 2401-22 05:59:59.765: D/AudioHardwareTiny(180): close device01-22 06:00:01.816: I/NfcNciHal(1290): nfc_hal_nci_cmd_timeout_cback () HAL State: 701-22 06:00:01.816: I/NfcNciHal(1290): nfc_hal_main_open_completed () status = 301-22 06:00:01.817: I/NfcNciHal(1290): HAL state: 7(W4_BUILD_INFO) -> 0(CLOSED)01-22 06:00:01.817: D/USERIAL_LINUX(1290): USERIAL_Close: enter01-22 06:00:01.817: D/USERIAL_LINUX(1290): USERIAL_Close: exit01-22 06:00:01.817: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=OFF01-22 06:00:01.817: D/USERIAL_LINUX(1290): power_off_controller: enter01-22 06:00:01.818: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 06:00:01.817: D/USERIAL_LINUX(1290): userial_close_thread: closing transport (21)01-22 06:00:01.818: D/USERIAL_LINUX(1290): send_wakeup_signal: Sending signal to 2301-22 06:00:01.818: D/USERIAL_LINUX(1290): userial_close_thread: BEGIN: pthread_cond_wait01-22 06:00:01.818: D/USERIAL_LINUX(1290): my_read: exit signal received01-22 06:00:01.818: D/USERIAL_LINUX(1290): reset_signal: Receiving signal from 2201-22 06:00:01.818: D/USERIAL_LINUX(1290): userial_read_thread(): freeing GKI_buffers01-22 06:00:01.819: D/USERIAL_LINUX(1290): USERIAL READ: EXITING TASK01-22 06:00:01.819: D/USERIAL_LINUX(1290): userial_close_thread: END: pthread_cond_wait01-22 06:00:01.820: D/USERIAL_LINUX(1290): userial_close_thread: exiting01-22 06:00:01.821: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 06:00:01.821: D/USERIAL_LINUX(1290): power_off_controller: delay 10 ms before turning off the chip01-22 06:00:01.832: D/USERIAL_LINUX(1290): control_nfc_power: state=OFF01-22 06:00:01.832: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 06:00:01.832: D/USERIAL_LINUX(1290): power_off_controller: delay 0 ms after turning off the chip01-22 06:00:01.832: D/USERIAL_LINUX(1290): power_off_controller: exit01-22 06:00:01.833: D/USERIAL_LINUX(1290): UPIO_Config: upio=REG_PU; config=NONE01-22 06:00:01.833: D/USERIAL_LINUX(1290): close_kernel_driver: enter01-22 06:00:01.833: D/USERIAL_LINUX(1290): close_kernel_driver: exit01-22 06:00:01.833: D/USERIAL_LINUX(1290): UPIO_Config: upio=NFC_WAKE; config=NONE01-22 06:00:01.833: D/NfcNciHal(1290): BroadcomHalCallback: enter; event=0x001-22 06:00:01.833: D/NfcNciHal(1290): BroadcomHalCallback: HAL_NFC_OPEN_CPLT_EVT; status=0x301-22 06:00:01.834: D/NfcAdaptation(1290): NfcAdaptation::HalDeviceContextCallback: event=001-22 06:00:01.834: I/BrcmNfcNfa(1290): nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=301-22 06:00:01.834: D/NfcNciHal(1290): BroadcomHalCallback: exit; event=0x001-22 06:00:01.835: D/NfcNciHal(1290): HaiOpen: exit 001-22 06:00:01.835: I/BrcmNfcNfa(1290): nfc_main_handle_hal_evt(): HAL event=0x001-22 06:00:01.835: I/BrcmNfcNfa(1290): nfc_set_state 1 (W4_HAL_OPEN)->0 (NONE)01-22 06:00:01.835: I/BrcmNfcNfa(1290): nfa_dm_nfc_response_cback () NFC_ENABLE_REVT(0x5000)01-22 06:00:01.835: D/BrcmNfcJni(1290): nfaDeviceManagementCallback: enter; event=0x001-22 06:00:01.835: D/BrcmNfcJni(1290): nfaDeviceManagementCallback: NFA_DM_ENABLE_EVT; status=0x100301-22 06:00:01.835: E/BrcmNfcJni(1290): nfcManager_doInitialize: fail nfa enable; error=0x001-22 06:00:01.836: D/NfcAdaptation(1290): NfcAdaptation::Finalize: enter01-22 06:00:02.737: I/BrcmNfcNfa(1290): GKI TASK_DEAD received. exit thread 3...01-22 06:00:02.837: D/NfcNciHal(1290): HaiTerminateLibrary: enter01-22 06:00:02.838: I/NfcNciHal(1290): HAL_NfcTerminate ()01-22 06:00:02.838: D/NfcAdaptation(1290): NfcAdaptation::NFCA_TASK: exit01-22 06:00:02.938: D/NfcNciHal(1290): HaiTerminateLibrary: exit 001-22 06:00:02.939: D/NfcAdaptation(1290): NfcAdaptation::Finalize: exit01-22 06:00:02.939: D/NfcAdaptation(1290): NfcAdaptation::Initialize: enter01-22 06:00:02.939: E/NfcAdaptation(1290): NfcAdaptation::Initialize: ver=NFCA-600-30_00.19 nfa=NFA11_00.10.0001-22 06:00:02.939: D/NfcAdaptation(1290): bool CNfcConfig::readConfig(const char*, bool) Opened base config /etc/libnfc-brcm.conf01-22 06:00:02.967: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_STORAGE=/data/nfc01-22 06:00:02.967: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found PROTOCOL_TRACE_LEVEL=(0xFFFFFFFF)01-22 06:00:02.967: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_MAX_EE_SUPPORTED=(0x3)01-22 06:00:02.967: D/NfcAdaptation(1290): NfcAdaptation::Initialize: Overriding NFA_EE_MAX_EE_SUPPORTED to use 301-22 06:00:02.967: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 06:00:02.967: D/BrcmNfcJni(1290): initializeGlobalAppLogLevel: level=501-22 06:00:02.967: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRESERVE_STORAGE=(0x1)01-22 06:00:02.967: D/NfcAdaptation(1290): Initialize: preserve stack NV store01-22 06:00:02.968: D/NfcAdaptation(1290): NfcAdaptation::NFCA_TASK: enter01-22 06:00:02.968: D/NfcAdaptation(1290): NfcAdaptation::Thread: enter01-22 06:00:02.969: I/BrcmNfcNfa(1290): GKI_run(): Start/Stop GKI_timer_update_registered!01-22 06:00:02.969: I/BrcmNfcNfa(1290): NFC_TASK started.01-22 06:00:02.969: D/NfcAdaptation(1290): NfcAdaptation::Thread: exit01-22 06:00:02.969: D/NfcAdaptation(1290): NfcAdaptation::InitializeHalDeviceContext: enter01-22 06:00:02.969: E/NfcAdaptation(1290): No HAL module specified in config, falling back to BCM2079x01-22 06:00:02.970: D/NfcNciHal(1290): nfc_open: enter; name=nci01-22 06:00:02.970: D/NfcNciHal(1290): HaiInitializeLibrary: enter01-22 06:00:02.970: E/NfcNciHal(1290): HaiInitializeLibrary: ver=NFCA-600-30_00.19 nfa=NFA11_00.10.0001-22 06:00:02.971: D/NfcNciHal(1290): bool CNfcConfig::readConfig(const char*, bool) Opened base config /etc/libnfc-brcm.conf01-22 06:00:02.981: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 06:00:02.981: D/NfcNciHal(1290): InitializeGlobalAppLogLevel: level=501-22 06:00:02.981: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_HARDWARE_ID=(0x20797B00)01-22 06:00:02.981: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_FREQUENCY=(0x6590)01-22 06:00:02.981: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_FREQ_INDEX=(0x5)01-22 06:00:02.981: D/NfcNciHal(1290): configureCrystalFrequency: hwId=0x20797B00; freq=26000; index=501-22 06:00:02.981: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRESERVE_STORAGE=(0x1)01-22 06:00:02.981: D/NfcNciHal(1290): HaiInitializeLibrary: preserve HAL NV store01-22 06:00:02.981: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PROTOCOL_TRACE_LEVEL=(0xFFFFFFFF)01-22 06:00:02.982: D/NfcNciHal(1290): int HaiInitializeLibrary(const bcm2079x_dev_t*): uart config=0x0209, 701-22 06:00:02.982: I/USERIAL_LINUX(1290): USERIAL_Init01-22 06:00:02.982: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_PREFIX=(0x0)01-22 06:00:02.982: D/NfcNciHal(1290): int HaiInitializeLibrary(const bcm2079x_dev_t*): Configure to NOT use 1-byte transport prefix or BT commands01-22 06:00:02.982: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFCC_ENABLE_TIMEOUT=(0x7D0)01-22 06:00:02.982: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_MAX_EE_SUPPORTED=(0x3)01-22 06:00:02.982: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_ON_DELAY=(0x12C)01-22 06:00:02.982: I/NfcNciHal(1290): HAL_NfcInitialize (): NFC_HAL_TASK id=001-22 06:00:02.983: D/NfcNciHal(1290): HaiInitializeLibrary: exit 001-22 06:00:02.983: D/NfcNciHal(1290): nfc_open: exit 001-22 06:00:02.983: D/NfcAdaptation(1290): NfcAdaptation::InitializeHalDeviceContext: exit01-22 06:00:02.983: D/NfcAdaptation(1290): NfcAdaptation::Initialize: exit01-22 06:00:02.983: D/(1290): SecElemInfoStore::load: enter01-22 06:00:02.983: D/(1290): SecElemInfoStore::load: try open /data/nfc/secElemInfoStore.bin01-22 06:00:02.983: I/NfcNciHal(1290): NFC_HAL_TASK started01-22 06:00:02.983: E/(1290): SecElemInfoStore::load: fail open, errno=201-22 06:00:02.983: D/(1290): SecElemInfoStore::load: exit01-22 06:00:02.983: I/BrcmNfcNfa(1290): NFA_Init ()01-22 06:00:02.983: I/BrcmNfcNfa(1290): nfa_dm_init ()01-22 06:00:02.983: I/BrcmNfcNfa(1290): nfa_sys_register () id=1, enable_cplt_mask=0x001-22 06:00:02.983: I/BrcmNfcNfa(1290): nfa_p2p_init ()01-22 06:00:02.983: I/BrcmNfcNfa(1290): nfa_sys_register () id=3, enable_cplt_mask=0x801-22 06:00:02.983: I/BrcmNfcNfa(1290): nfa_cho_init ()01-22 06:00:02.983: I/BrcmNfcNfa(1290): nfa_sys_register () id=4, enable_cplt_mask=0x1801-22 06:00:02.983: I/BrcmNfcNfa(1290): nfa_snep_init (): is_dta_mode=001-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_snep_default_init ()01-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_sys_register () id=5, enable_cplt_mask=0x3801-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_rw_init ()01-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_sys_register () id=6, enable_cplt_mask=0x7801-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_ce_init ()01-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_sys_register () id=7, enable_cplt_mask=0xf801-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_ee_init ()01-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_sys_register () id=2, enable_cplt_mask=0xfc01-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_hci_init ()01-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_sys_register () id=8, enable_cplt_mask=0x1fc01-22 06:00:02.984: I/BrcmNfcNfa(1290): nfa_sys_register () id=9, enable_cplt_mask=0x3fc01-22 06:00:02.984: I/BrcmNfcNfa(1290): LLCP - llcp_init ()01-22 06:00:02.984: I/BrcmNfcNfa(1290): num_rx_buff = 9, rx_congest_start = 6, rx_congest_end = 4, max_num_ll_rx_buff = 201-22 06:00:02.984: I/BrcmNfcNfa(1290): max_num_tx_buff = 21, max_num_ll_tx_buff = 601-22 06:00:02.984: I/BrcmNfcNfa(1290): LLCP_RegisterServer (): SAP:0x1, link_type:0x2, ServiceName:<urn:nfc:sn:sdp>01-22 06:00:02.985: I/BrcmNfcNfa(1290): LLCP_RegisterServer (): Registered SAP = 0x0101-22 06:00:02.985: I/BrcmNfcNfa(1290): NFC_SetNciCmdTimeout () new timeout val = 2000 ms01-22 06:00:02.985: I/BrcmNfcNfa(1290): NFA_RegVSCback() is_register=001-22 06:00:02.985: I/BrcmNfcNfa(1290): NFA got event 0x011801-22 06:00:02.985: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_REG_VSC_EVT (0x18)01-22 06:00:02.985: E/BrcmNfcNfa(1290): NFC_RegVSCback failed01-22 06:00:02.985: I/BrcmNfcNfa(1290): NFA_RegVSCback() is_register=101-22 06:00:02.985: I/BrcmNfcNfa(1290): NFA got event 0x011801-22 06:00:02.986: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_REG_VSC_EVT (0x18)01-22 06:00:02.986: I/BrcmNfcNfa(1290): NFA_Enable () - version: NFA11_00.10.0001-22 06:00:02.986: I/BrcmNfcNfa(1290): NFA got event 0x010001-22 06:00:02.986: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_ENABLE_EVT (0x00)01-22 06:00:02.986: I/BrcmNfcNfa(1290): nfa_dm_enable ()01-22 06:00:02.986: I/BrcmNfcNfa(1290): NFC_Enable ()01-22 06:00:02.986: I/BrcmNfcNfa(1290): nfc_set_state 0 (NONE)->1 (W4_HAL_OPEN)01-22 06:00:02.986: D/NfcAdaptation(1290): NfcAdaptation::HalOpen01-22 06:00:02.986: D/NfcNciHal(1290): HaiOpen: enter01-22 06:00:02.986: I/NfcNciHal(1290): HAL_NfcOpen ()01-22 06:00:02.986: I/NfcNciHal(1290): nfc_hal_dm_init () 0x001-22 06:00:02.986: I/NfcNciHal(1290): NFC_HAL_TASK got NFC_HAL_TASK_EVT_INITIALIZE signal. Opening NFC transport...01-22 06:00:02.986: I/NfcNciHal(1290): nfc_hal_main_turn_on_nfcc()01-22 06:00:02.986: D/USERIAL_LINUX(1290): UPIO_Config: upio=REG_PU; config=OUT01-22 06:00:02.987: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_CONTROL_DRIVER=/dev/bcm2079x01-22 06:00:02.987: D/USERIAL_LINUX(1290): open_kernel_driver: sock_power_control=2001-22 06:00:02.987: D/USERIAL_LINUX(1290): UPIO_Config: upio=NFC_WAKE; config=OUT01-22 06:00:02.987: D/USERIAL_LINUX(1290): UPIO_Set: upio=NFC_WAKE; state=OFF01-22 06:00:02.987: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 06:00:02.987: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 06:00:02.987: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=OFF01-22 06:00:02.987: D/USERIAL_LINUX(1290): power_off_controller: enter01-22 06:00:02.987: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 06:00:02.987: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 06:00:02.987: D/USERIAL_LINUX(1290): power_off_controller: delay 10 ms before turning off the chip01-22 06:00:02.987: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 06:00:02.987: D/BrcmNfcJni(1290): initializeGlobalAppLogLevel: level=501-22 06:00:02.987: I/BrcmNfcNfa(1290): NFC_SetTraceLevel () new_level = 501-22 06:00:02.997: D/USERIAL_LINUX(1290): control_nfc_power: state=OFF01-22 06:00:02.998: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 06:00:02.998: D/USERIAL_LINUX(1290): power_off_controller: delay 0 ms after turning off the chip01-22 06:00:02.998: D/USERIAL_LINUX(1290): power_off_controller: exit01-22 06:00:03.008: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=ON01-22 06:00:03.008: D/USERIAL_LINUX(1290): power_on_controller: enter01-22 06:00:03.008: D/USERIAL_LINUX(1290): control_nfc_power: state=ON01-22 06:00:03.008: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 06:00:03.008: D/USERIAL_LINUX(1290): power_on_controller: exit01-22 06:00:03.351: I/NfcNciHal(1290): nfc_hal_main_timeout_cback () event=0x000201-22 06:00:03.351: I/NfcNciHal(1290): nfc_hal_main_open_transport baud: 701-22 06:00:03.351: I/USERIAL_LINUX(1290): USERIAL_Open(): enter01-22 06:00:03.351: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_CONTROL_DRIVER=/dev/bcm2079x01-22 06:00:03.351: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_DRIVER=/dev/bcm2079x01-22 06:00:03.351: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFC_WAKE_DELAY=(0x14)01-22 06:00:03.352: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFC_WRITE_DELAY=(0x14)01-22 06:00:03.352: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_ON_DELAY=(0x12C)01-22 06:00:03.352: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRE_POWER_OFF_DELAY=(0xA)01-22 06:00:03.352: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_PREFIX=(0x0)01-22 06:00:03.352: I/USERIAL_LINUX(1290): USERIAL_Open() device: /dev/bcm2079x port=5, uart_port=0 WAKE_DELAY(20) WRITE_DELAY(20) POWER_ON_DELAY(300) PRE_POWER_OFF_DELAY(10) POST_POWER_OFF_DELAY(0)01-22 06:00:03.352: I/USERIAL_LINUX(1290): USERIAL_Open() nPrefixLen=001-22 06:00:03.352: D/USERIAL_LINUX(1290): USERIAL_Open Opening /dev/bcm2079x01-22 06:00:03.353: D/USERIAL_LINUX(1290): USERIAL_Open sock = 2101-22 06:00:03.353: D/USERIAL_LINUX(1290): DetectTransportVersion: bReadFullpacket=0, nPrefixLen=001-22 06:00:03.353: I/USERIAL_LINUX(1290): USERIAL_Open(): exit01-22 06:00:03.354: I/NfcNciHal(1290): HAL state: 0(CLOSED) -> 6(W4_RESET_NTF)01-22 06:00:03.355: D/USERIAL_LINUX(1290): start userial_read_thread, id=a2d3193001-22 06:00:05.689: I/NfcNciHal(1290): nfc_hal_main_timeout_cback () event=0x000101-22 06:00:05.689: I/NfcNciHal(1290): nfc_hal_dm_continue_opening ()  HAL State: 601-22 06:00:05.689: I/NfcNciHal(1290): nfc_check_set_max_nfcc_pkt_size () :  set=0 size=25501-22 06:00:05.689: I/NfcNciHal(1290): HAL state: 6(W4_RESET_NTF) -> 7(W4_BUILD_INFO)01-22 06:00:05.689: I/NfcNciHal(1290): nfc_hal_dm_send_nci_cmd (): nci_wait_rsp = 0x001-22 06:00:05.689: I/NfcNciHal(1290): nfc_hal_dm_wake_nfcc () snooze_mode=001-22 06:00:05.690: I/NfcNciHal(1290): p_buf->len: 301-22 06:00:05.690: I/BrcmNci(1290): --01-22 06:00:05.690: I/BrcmNci(1290): SENT NCI  Type:CMD   Name: BLD_INFO(0x4)   PBF:No/Last   Param Len: 0/0 f:0x001-22 06:00:05.690: D/BrcmNci(1290): Raw NCI Packet01-22 06:00:05.690: D/BrcmNci(1290): 0000: 2f 04 00                                        /..01-22 06:00:05.690: I/BrcmNci(1290): --01-22 06:00:05.690: D/USERIAL_LINUX(1290): USERIAL_Write: (3 bytes)01-22 06:00:05.692: D/USERIAL_LINUX(1290): USERIAL_Write len = 3, ret = 301-22 06:00:08.021: I/NfcNciHal(1290): nfc_hal_nci_cmd_timeout_cback () HAL State: 701-22 06:00:08.021: I/NfcNciHal(1290): nfc_hal_main_open_completed () status = 301-22 06:00:08.021: I/NfcNciHal(1290): HAL state: 7(W4_BUILD_INFO) -> 0(CLOSED)01-22 06:00:08.022: D/USERIAL_LINUX(1290): USERIAL_Close: enter01-22 06:00:08.022: D/USERIAL_LINUX(1290): USERIAL_Close: exit01-22 06:00:08.022: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=OFF01-22 06:00:08.022: D/USERIAL_LINUX(1290): power_off_controller: enter01-22 06:00:08.022: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 06:00:08.022: D/USERIAL_LINUX(1290): userial_close_thread: closing transport (21)01-22 06:00:08.022: D/USERIAL_LINUX(1290): send_wakeup_signal: Sending signal to 2301-22 06:00:08.023: D/USERIAL_LINUX(1290): userial_close_thread: BEGIN: pthread_cond_wait01-22 06:00:08.023: D/USERIAL_LINUX(1290): my_read: exit signal received01-22 06:00:08.023: D/USERIAL_LINUX(1290): reset_signal: Receiving signal from 2201-22 06:00:08.023: D/USERIAL_LINUX(1290): userial_read_thread(): freeing GKI_buffers01-22 06:00:08.023: D/USERIAL_LINUX(1290): USERIAL READ: EXITING TASK01-22 06:00:08.024: D/USERIAL_LINUX(1290): userial_close_thread: END: pthread_cond_wait01-22 06:00:08.024: D/USERIAL_LINUX(1290): userial_close_thread: exiting01-22 06:00:08.029: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 06:00:08.029: D/USERIAL_LINUX(1290): power_off_controller: delay 10 ms before turning off the chip01-22 06:00:08.040: D/USERIAL_LINUX(1290): control_nfc_power: state=OFF01-22 06:00:08.040: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 06:00:08.040: D/USERIAL_LINUX(1290): power_off_controller: delay 0 ms after turning off the chip01-22 06:00:08.041: D/USERIAL_LINUX(1290): power_off_controller: exit01-22 06:00:08.041: D/USERIAL_LINUX(1290): UPIO_Config: upio=REG_PU; config=NONE01-22 06:00:08.041: D/USERIAL_LINUX(1290): close_kernel_driver: enter01-22 06:00:08.041: D/USERIAL_LINUX(1290): close_kernel_driver: exit01-22 06:00:08.041: D/USERIAL_LINUX(1290): UPIO_Config: upio=NFC_WAKE; config=NONE01-22 06:00:08.041: D/NfcNciHal(1290): BroadcomHalCallback: enter; event=0x001-22 06:00:08.041: D/NfcNciHal(1290): BroadcomHalCallback: HAL_NFC_OPEN_CPLT_EVT; status=0x301-22 06:00:08.041: D/NfcAdaptation(1290): NfcAdaptation::HalDeviceContextCallback: event=001-22 06:00:08.041: D/NfcNciHal(1290): HaiOpen: exit 001-22 06:00:08.042: I/BrcmNfcNfa(1290): nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=301-22 06:00:08.042: D/NfcNciHal(1290): BroadcomHalCallback: exit; event=0x001-22 06:00:08.042: I/BrcmNfcNfa(1290): nfc_main_handle_hal_evt(): HAL event=0x001-22 06:00:08.042: I/BrcmNfcNfa(1290): nfc_set_state 1 (W4_HAL_OPEN)->0 (NONE)01-22 06:00:08.042: I/BrcmNfcNfa(1290): nfa_dm_nfc_response_cback () NFC_ENABLE_REVT(0x5000)01-22 06:00:08.042: D/BrcmNfcJni(1290): nfaDeviceManagementCallback: enter; event=0x001-22 06:00:08.042: D/BrcmNfcJni(1290): nfaDeviceManagementCallback: NFA_DM_ENABLE_EVT; status=0x100301-22 06:00:08.043: E/BrcmNfcJni(1290): nfcManager_doInitialize: fail nfa enable; error=0x001-22 06:00:08.043: D/NfcAdaptation(1290): NfcAdaptation::Finalize: enter01-22 06:00:08.944: I/BrcmNfcNfa(1290): GKI TASK_DEAD received. exit thread 3...01-22 06:00:09.045: D/NfcNciHal(1290): HaiTerminateLibrary: enter01-22 06:00:09.045: I/NfcNciHal(1290): HAL_NfcTerminate ()01-22 06:00:09.051: D/NfcAdaptation(1290): NfcAdaptation::NFCA_TASK: exit01-22 06:00:09.146: D/NfcNciHal(1290): HaiTerminateLibrary: exit 001-22 06:00:09.146: D/NfcAdaptation(1290): NfcAdaptation::Finalize: exit01-22 06:00:09.146: D/NfcAdaptation(1290): NfcAdaptation::Initialize: enter01-22 06:00:09.146: E/NfcAdaptation(1290): NfcAdaptation::Initialize: ver=NFCA-600-30_00.19 nfa=NFA11_00.10.0001-22 06:00:09.146: D/NfcAdaptation(1290): bool CNfcConfig::readConfig(const char*, bool) Opened base config /etc/libnfc-brcm.conf01-22 06:00:09.175: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_STORAGE=/data/nfc01-22 06:00:09.175: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found PROTOCOL_TRACE_LEVEL=(0xFFFFFFFF)01-22 06:00:09.176: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_MAX_EE_SUPPORTED=(0x3)01-22 06:00:09.176: D/NfcAdaptation(1290): NfcAdaptation::Initialize: Overriding NFA_EE_MAX_EE_SUPPORTED to use 301-22 06:00:09.177: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 06:00:09.177: D/BrcmNfcJni(1290): initializeGlobalAppLogLevel: level=501-22 06:00:09.177: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRESERVE_STORAGE=(0x1)01-22 06:00:09.177: D/NfcAdaptation(1290): Initialize: preserve stack NV store01-22 06:00:09.178: D/NfcAdaptation(1290): NfcAdaptation::NFCA_TASK: enter01-22 06:00:09.178: I/BrcmNfcNfa(1290): GKI_run(): Start/Stop GKI_timer_update_registered!01-22 06:00:09.179: D/NfcAdaptation(1290): NfcAdaptation::Thread: enter01-22 06:00:09.180: I/BrcmNfcNfa(1290): NFC_TASK started.01-22 06:00:09.180: D/NfcAdaptation(1290): NfcAdaptation::InitializeHalDeviceContext: enter01-22 06:00:09.180: D/NfcAdaptation(1290): NfcAdaptation::Thread: exit01-22 06:00:09.180: E/NfcAdaptation(1290): No HAL module specified in config, falling back to BCM2079x01-22 06:00:09.181: D/NfcNciHal(1290): nfc_open: enter; name=nci01-22 06:00:09.181: D/NfcNciHal(1290): HaiInitializeLibrary: enter01-22 06:00:09.181: E/NfcNciHal(1290): HaiInitializeLibrary: ver=NFCA-600-30_00.19 nfa=NFA11_00.10.0001-22 06:00:09.181: D/NfcNciHal(1290): bool CNfcConfig::readConfig(const char*, bool) Opened base config /etc/libnfc-brcm.conf01-22 06:00:09.191: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 06:00:09.191: D/NfcNciHal(1290): InitializeGlobalAppLogLevel: level=501-22 06:00:09.191: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_HARDWARE_ID=(0x20797B00)01-22 06:00:09.191: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_FREQUENCY=(0x6590)01-22 06:00:09.191: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found XTAL_FREQ_INDEX=(0x5)01-22 06:00:09.191: D/NfcNciHal(1290): configureCrystalFrequency: hwId=0x20797B00; freq=26000; index=501-22 06:00:09.191: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRESERVE_STORAGE=(0x1)01-22 06:00:09.191: D/NfcNciHal(1290): HaiInitializeLibrary: preserve HAL NV store01-22 06:00:09.191: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PROTOCOL_TRACE_LEVEL=(0xFFFFFFFF)01-22 06:00:09.191: D/NfcNciHal(1290): int HaiInitializeLibrary(const bcm2079x_dev_t*): uart config=0x0209, 701-22 06:00:09.191: I/USERIAL_LINUX(1290): USERIAL_Init01-22 06:00:09.191: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_PREFIX=(0x0)01-22 06:00:09.192: D/NfcNciHal(1290): int HaiInitializeLibrary(const bcm2079x_dev_t*): Configure to NOT use 1-byte transport prefix or BT commands01-22 06:00:09.192: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFCC_ENABLE_TIMEOUT=(0x7D0)01-22 06:00:09.192: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFA_MAX_EE_SUPPORTED=(0x3)01-22 06:00:09.192: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_ON_DELAY=(0x12C)01-22 06:00:09.192: I/NfcNciHal(1290): HAL_NfcInitialize (): NFC_HAL_TASK id=001-22 06:00:09.192: D/NfcNciHal(1290): HaiInitializeLibrary: exit 001-22 06:00:09.192: I/NfcNciHal(1290): NFC_HAL_TASK started01-22 06:00:09.192: D/NfcNciHal(1290): nfc_open: exit 001-22 06:00:09.192: D/NfcAdaptation(1290): NfcAdaptation::InitializeHalDeviceContext: exit01-22 06:00:09.192: D/NfcAdaptation(1290): NfcAdaptation::Initialize: exit01-22 06:00:09.192: D/(1290): SecElemInfoStore::load: enter01-22 06:00:09.193: E/(1290): SecElemInfoStore::load: fail open, errno=201-22 06:00:09.193: D/(1290): SecElemInfoStore::load: exit01-22 06:00:09.193: I/BrcmNfcNfa(1290): NFA_Init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_dm_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=1, enable_cplt_mask=0x001-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_p2p_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=3, enable_cplt_mask=0x801-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_cho_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=4, enable_cplt_mask=0x1801-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_snep_init (): is_dta_mode=001-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_snep_default_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=5, enable_cplt_mask=0x3801-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_rw_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=6, enable_cplt_mask=0x7801-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_ce_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=7, enable_cplt_mask=0xf801-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_ee_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=2, enable_cplt_mask=0xfc01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_hci_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=8, enable_cplt_mask=0x1fc01-22 06:00:09.193: I/BrcmNfcNfa(1290): nfa_sys_register () id=9, enable_cplt_mask=0x3fc01-22 06:00:09.193: I/BrcmNfcNfa(1290): LLCP - llcp_init ()01-22 06:00:09.193: I/BrcmNfcNfa(1290): num_rx_buff = 9, rx_congest_start = 6, rx_congest_end = 4, max_num_ll_rx_buff = 201-22 06:00:09.194: I/BrcmNfcNfa(1290): max_num_tx_buff = 21, max_num_ll_tx_buff = 601-22 06:00:09.194: I/BrcmNfcNfa(1290): LLCP_RegisterServer (): SAP:0x1, link_type:0x2, ServiceName:<urn:nfc:sn:sdp>01-22 06:00:09.194: I/BrcmNfcNfa(1290): LLCP_RegisterServer (): Registered SAP = 0x0101-22 06:00:09.194: I/BrcmNfcNfa(1290): NFC_SetNciCmdTimeout () new timeout val = 2000 ms01-22 06:00:09.194: I/BrcmNfcNfa(1290): NFA_RegVSCback() is_register=001-22 06:00:09.194: I/BrcmNfcNfa(1290): NFA_RegVSCback() is_register=101-22 06:00:09.194: I/BrcmNfcNfa(1290): NFA got event 0x011801-22 06:00:09.194: I/BrcmNfcNfa(1290): NFA_Enable () - version: NFA11_00.10.0001-22 06:00:09.194: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_REG_VSC_EVT (0x18)01-22 06:00:09.194: E/BrcmNfcNfa(1290): NFC_RegVSCback failed01-22 06:00:09.194: D/NfcAdaptation(1290): const CNfcParam* CNfcConfig::find(const char*) const found APPL_TRACE_LEVEL=(0xFF)01-22 06:00:09.194: I/BrcmNfcNfa(1290): NFA got event 0x011801-22 06:00:09.194: D/BrcmNfcJni(1290): initializeGlobalAppLogLevel: level=501-22 06:00:09.194: I/BrcmNfcNfa(1290): NFC_SetTraceLevel () new_level = 501-22 06:00:09.194: I/BrcmNfcNfa(1290): NFC_SetTraceLevel () new_level = 501-22 06:00:09.194: I/BrcmNfcNfa(1290): NFA got event 0x010001-22 06:00:09.194: I/BrcmNfcNfa(1290): nfa_dm_evt_hdlr event: NFA_DM_API_ENABLE_EVT (0x00)01-22 06:00:09.194: I/BrcmNfcNfa(1290): nfa_dm_enable ()01-22 06:00:09.194: I/BrcmNfcNfa(1290): NFC_Enable ()01-22 06:00:09.194: I/BrcmNfcNfa(1290): nfc_set_state 0 (NONE)->1 (W4_HAL_OPEN)01-22 06:00:09.194: D/NfcAdaptation(1290): NfcAdaptation::HalOpen01-22 06:00:09.194: D/NfcNciHal(1290): HaiOpen: enter01-22 06:00:09.194: I/NfcNciHal(1290): HAL_NfcOpen ()01-22 06:00:09.194: I/NfcNciHal(1290): nfc_hal_dm_init () 0x001-22 06:00:09.195: I/NfcNciHal(1290): NFC_HAL_TASK got NFC_HAL_TASK_EVT_INITIALIZE signal. Opening NFC transport...01-22 06:00:09.195: I/NfcNciHal(1290): nfc_hal_main_turn_on_nfcc()01-22 06:00:09.195: D/USERIAL_LINUX(1290): UPIO_Config: upio=REG_PU; config=OUT01-22 06:00:09.195: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_CONTROL_DRIVER=/dev/bcm2079x01-22 06:00:09.195: D/USERIAL_LINUX(1290): open_kernel_driver: sock_power_control=2001-22 06:00:09.195: D/USERIAL_LINUX(1290): UPIO_Config: upio=NFC_WAKE; config=OUT01-22 06:00:09.195: D/USERIAL_LINUX(1290): UPIO_Set: upio=NFC_WAKE; state=OFF01-22 06:00:09.195: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 06:00:09.195: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 06:00:09.195: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=OFF01-22 06:00:09.195: D/USERIAL_LINUX(1290): power_off_controller: enter01-22 06:00:09.195: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 06:00:09.195: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 06:00:09.195: D/USERIAL_LINUX(1290): power_off_controller: delay 10 ms before turning off the chip01-22 06:00:09.206: D/USERIAL_LINUX(1290): control_nfc_power: state=OFF01-22 06:00:09.206: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 06:00:09.206: D/USERIAL_LINUX(1290): power_off_controller: delay 0 ms after turning off the chip01-22 06:00:09.206: D/USERIAL_LINUX(1290): power_off_controller: exit01-22 06:00:09.216: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=ON01-22 06:00:09.216: D/USERIAL_LINUX(1290): power_on_controller: enter01-22 06:00:09.216: D/USERIAL_LINUX(1290): control_nfc_power: state=ON01-22 06:00:09.216: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 06:00:09.217: D/USERIAL_LINUX(1290): power_on_controller: exit01-22 06:00:09.561: I/NfcNciHal(1290): nfc_hal_main_timeout_cback () event=0x000201-22 06:00:09.561: I/NfcNciHal(1290): nfc_hal_main_open_transport baud: 701-22 06:00:09.561: I/USERIAL_LINUX(1290): USERIAL_Open(): enter01-22 06:00:09.561: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_CONTROL_DRIVER=/dev/bcm2079x01-22 06:00:09.561: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_DRIVER=/dev/bcm2079x01-22 06:00:09.561: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFC_WAKE_DELAY=(0x14)01-22 06:00:09.561: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found NFC_WRITE_DELAY=(0x14)01-22 06:00:09.561: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found POWER_ON_DELAY=(0x12C)01-22 06:00:09.561: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found PRE_POWER_OFF_DELAY=(0xA)01-22 06:00:09.561: D/NfcNciHal(1290): const CNfcParam* CNfcConfig::find(const char*) const found TRANSPORT_PREFIX=(0x0)01-22 06:00:09.561: I/USERIAL_LINUX(1290): USERIAL_Open() device: /dev/bcm2079x port=5, uart_port=0 WAKE_DELAY(20) WRITE_DELAY(20) POWER_ON_DELAY(300) PRE_POWER_OFF_DELAY(10) POST_POWER_OFF_DELAY(0)01-22 06:00:09.561: I/USERIAL_LINUX(1290): USERIAL_Open() nPrefixLen=001-22 06:00:09.561: D/USERIAL_LINUX(1290): USERIAL_Open Opening /dev/bcm2079x01-22 06:00:09.562: D/USERIAL_LINUX(1290): USERIAL_Open sock = 2101-22 06:00:09.562: D/USERIAL_LINUX(1290): DetectTransportVersion: bReadFullpacket=0, nPrefixLen=001-22 06:00:09.562: I/USERIAL_LINUX(1290): USERIAL_Open(): exit01-22 06:00:09.562: I/NfcNciHal(1290): HAL state: 0(CLOSED) -> 6(W4_RESET_NTF)01-22 06:00:09.562: D/USERIAL_LINUX(1290): start userial_read_thread, id=a2c3293001-22 06:00:11.899: I/NfcNciHal(1290): nfc_hal_main_timeout_cback () event=0x000101-22 06:00:11.899: I/NfcNciHal(1290): nfc_hal_dm_continue_opening ()  HAL State: 601-22 06:00:11.900: I/NfcNciHal(1290): nfc_check_set_max_nfcc_pkt_size () :  set=0 size=25501-22 06:00:11.900: I/NfcNciHal(1290): HAL state: 6(W4_RESET_NTF) -> 7(W4_BUILD_INFO)01-22 06:00:11.900: I/NfcNciHal(1290): nfc_hal_dm_send_nci_cmd (): nci_wait_rsp = 0x001-22 06:00:11.900: I/NfcNciHal(1290): nfc_hal_dm_wake_nfcc () snooze_mode=001-22 06:00:11.900: I/NfcNciHal(1290): p_buf->len: 301-22 06:00:11.900: I/BrcmNci(1290): --01-22 06:00:11.900: I/BrcmNci(1290): SENT NCI  Type:CMD   Name: BLD_INFO(0x4)   PBF:No/Last   Param Len: 0/0 f:0x001-22 06:00:11.900: D/BrcmNci(1290): Raw NCI Packet01-22 06:00:11.900: D/BrcmNci(1290): 0000: 2f 04 00                                        /..01-22 06:00:11.900: I/BrcmNci(1290): --01-22 06:00:11.900: D/USERIAL_LINUX(1290): USERIAL_Write: (3 bytes)01-22 06:00:11.902: D/USERIAL_LINUX(1290): USERIAL_Write len = 3, ret = 301-22 06:00:14.222: I/NfcNciHal(1290): nfc_hal_nci_cmd_timeout_cback () HAL State: 701-22 06:00:14.222: I/NfcNciHal(1290): nfc_hal_main_open_completed () status = 301-22 06:00:14.223: I/NfcNciHal(1290): HAL state: 7(W4_BUILD_INFO) -> 0(CLOSED)01-22 06:00:14.223: D/USERIAL_LINUX(1290): USERIAL_Close: enter01-22 06:00:14.223: D/USERIAL_LINUX(1290): USERIAL_Close: exit01-22 06:00:14.223: D/USERIAL_LINUX(1290): UPIO_Set: upio=REG_PU; state=OFF01-22 06:00:14.223: D/USERIAL_LINUX(1290): power_off_controller: enter01-22 06:00:14.223: D/USERIAL_LINUX(1290): control_nfc_wake: state=OFF01-22 06:00:14.224: D/USERIAL_LINUX(1290): control_nfc_wake: ioctl return 001-22 06:00:14.224: D/USERIAL_LINUX(1290): power_off_controller: delay 10 ms before turning off the chip01-22 06:00:14.226: D/USERIAL_LINUX(1290): userial_close_thread: closing transport (21)01-22 06:00:14.226: D/USERIAL_LINUX(1290): send_wakeup_signal: Sending signal to 2301-22 06:00:14.227: D/USERIAL_LINUX(1290): my_read: exit signal received01-22 06:00:14.228: D/USERIAL_LINUX(1290): reset_signal: Receiving signal from 2201-22 06:00:14.228: D/USERIAL_LINUX(1290): userial_read_thread(): freeing GKI_buffers01-22 06:00:14.228: D/USERIAL_LINUX(1290): userial_close_thread: BEGIN: pthread_cond_wait01-22 06:00:14.228: D/USERIAL_LINUX(1290): USERIAL READ: EXITING TASK01-22 06:00:14.229: D/USERIAL_LINUX(1290): userial_close_thread: END: pthread_cond_wait01-22 06:00:14.229: D/USERIAL_LINUX(1290): userial_close_thread: exiting01-22 06:00:14.235: D/USERIAL_LINUX(1290): control_nfc_power: state=OFF01-22 06:00:14.235: D/USERIAL_LINUX(1290): control_nfc_power: ioctl return 001-22 06:00:14.235: D/USERIAL_LINUX(1290): power_off_controller: delay 0 ms after turning off the chip01-22 06:00:14.236: D/USERIAL_LINUX(1290): power_off_controller: exit01-22 06:00:14.236: D/USERIAL_LINUX(1290): UPIO_Config: upio=REG_PU; config=NONE01-22 06:00:14.236: D/USERIAL_LINUX(1290): close_kernel_driver: enter01-22 06:00:14.236: D/USERIAL_LINUX(1290): close_kernel_driver: exit01-22 06:00:14.236: D/USERIAL_LINUX(1290): UPIO_Config: upio=NFC_WAKE; config=NONE01-22 06:00:14.236: D/NfcNciHal(1290): BroadcomHalCallback: enter; event=0x001-22 06:00:14.236: D/NfcNciHal(1290): BroadcomHalCallback: HAL_NFC_OPEN_CPLT_EVT; status=0x301-22 06:00:14.236: D/NfcAdaptation(1290): NfcAdaptation::HalDeviceContextCallback: event=001-22 06:00:14.236: I/BrcmNfcNfa(1290): nfc_main_hal_cback event: HAL_NFC_OPEN_CPLT_EVT(0x0), status=301-22 06:00:14.236: D/NfcNciHal(1290): BroadcomHalCallback: exit; event=0x001-22 06:00:14.236: D/NfcNciHal(1290): HaiOpen: exit 001-22 06:00:14.237: I/BrcmNfcNfa(1290): nfc_main_handle_hal_evt(): HAL event=0x001-22 06:00:14.237: I/BrcmNfcNfa(1290): nfc_set_state 1 (W4_HAL_OPEN)->0 (NONE)01-22 06:00:14.237: I/BrcmNfcNfa(1290): nfa_dm_nfc_response_cback () NFC_ENABLE_REVT(0x5000)01-22 06:00:14.237: D/BrcmNfcJni(1290): nfaDeviceManagementCallback: enter; event=0x001-22 06:00:14.237: D/BrcmNfcJni(1290): nfaDeviceManagementCallback: NFA_DM_ENABLE_EVT; status=0x100301-22 06:00:14.237: E/BrcmNfcJni(1290): nfcManager_doInitialize: fail nfa enable; error=0x001-22 06:00:14.237: D/NfcAdaptation(1290): NfcAdaptation::Finalize: enter01-22 06:00:15.139: I/BrcmNfcNfa(1290): GKI TASK_DEAD received. exit thread 3...01-22 06:00:15.239: D/NfcNciHal(1290): HaiTerminateLibrary: enter01-22 06:00:15.239: I/NfcNciHal(1290): HAL_NfcTerminate ()01-22 06:00:15.247: D/NfcAdaptation(1290): NfcAdaptation::NFCA_TASK: exit01-22 06:00:15.340: D/NfcNciHal(1290): HaiTerminateLibrary: exit 001-22 06:00:15.340: D/NfcAdaptation(1290): NfcAdaptation::Finalize: exit01-22 06:00:15.340: D/BrcmNfcJni(1290): nfcManager_doInitialize: exit01-22 06:00:15.341: W/NfcService(1290): Error enabling NFC01-22 06:00:15.354: D/NfcUtil(3675): RecvNfcBroadcast.onReceive: action=android.nfc.action.ADAPTER_STATE_CHANGED01-22 06:00:15.355: D/NfcUtil(3675): NFC state=101-22 06:00:15.355: D/NfcUtil(3675): NFC Turned off
我知道答案 回答被采纳将会获得5 RD币 已有3人回答

奖励

参与人数 1RD币 +5 收起 理由
enjoy啸狼 + 5 tien奖励

查看全部评分

已绑定手机
 楼主| 发表于 2018-7-27 16:05:36 | 显示全部楼层 来自 广东省中山市
主要是logcat里面有这样的报错
已绑定手机
 楼主| 发表于 2018-7-27 16:21:16 | 显示全部楼层 来自 广东省中山市
nfcManager_doInitialize: fail nfa enable; error=0x0
已绑定手机
发表于 2022-6-30 18:13:19 | 显示全部楼层 来自 广东省深圳市
nfc用的是BCM2079X问题:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

合作/建议

TEL: 19168984579

工作时间:
周一到周五 9:00-11:30 13:30-19:30
  • 扫一扫关注公众号
  • 扫一扫打开小程序
Copyright © 2013-2024 一牛网 版权所有 All Rights Reserved. 帮助中心|隐私声明|联系我们|手机版|粤ICP备13053961号|营业执照|EDI证
在本版发帖搜索
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表