Lines Matching defs:eventData
151 static void nfaConnectionCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
153 tNFA_DM_CBACK_DATA* eventData);
241 ** eventData: Event data.
247 tNFA_CONN_EVT_DATA* eventData) {
256 "%s: NFA_POLL_ENABLED_EVT: status = %u", __func__, eventData->status);
266 eventData->status);
276 __func__, eventData->status);
286 __func__, eventData->status);
293 status = eventData->disc_result.status;
300 NfcTag::getInstance().connectionEventHandler(connEvent, eventData);
301 handleRfDiscoveryEvent(&eventData->disc_result.discovery_ntf);
310 __func__, eventData->status, gIsSelectingRfInterface, sIsDisabling);
314 if (eventData->status != NFA_STATUS_OK) {
321 eventData->status);
329 eventData->status);
336 if ((eventData->activated.activate_ntf.protocol !=
338 (!isListenMode(eventData->activated))) {
340 (tNFA_INTF_TYPE)eventData->activated.activate_ntf.intf_param.type);
358 if (isPeerToPeer(eventData->activated)) {
385 NfcTag::getInstance().connectionEventHandler(connEvent, eventData);
390 if (isListenMode(eventData->activated)) {
399 __func__, eventData->deactivated.type, gIsTagDeactivating);
400 NfcTag::getInstance().setDeactivationState(eventData->deactivated);
401 if (eventData->deactivated.type != NFA_DEACTIVATE_TYPE_SLEEP) {
408 NfcTag::getInstance().connectionEventHandler(connEvent, eventData);
421 if ((eventData->deactivated.type == NFA_DEACTIVATE_TYPE_IDLE) ||
422 (eventData->deactivated.type == NFA_DEACTIVATE_TYPE_DISCOVERY)) {
455 status = eventData->tlv_detect.status;
459 __func__, status, eventData->tlv_detect.protocol,
460 eventData->tlv_detect.num_tlvs, eventData->tlv_detect.num_bytes);
470 status = eventData->ndef_detect.status;
474 __func__, status, eventData->ndef_detect.protocol,
475 eventData->ndef_detect.max_size, eventData->ndef_detect.cur_size,
476 eventData->ndef_detect.flags);
477 NfcTag::getInstance().connectionEventHandler(connEvent, eventData);
478 nativeNfcTag_doCheckNdefResult(status, eventData->ndef_detect.max_size,
479 eventData->ndef_detect.cur_size,
480 eventData->ndef_detect.flags);
486 eventData->status, eventData->data.len);
487 nativeNfcTag_doTransceiveStatus(eventData->status, eventData->data.p_data,
488 eventData->data.len);
497 status = eventData->status;
508 "%s: NFA_READ_CPLT_EVT: status = 0x%X", __func__, eventData->status);
509 nativeNfcTag_doReadCompleted(eventData->status);
510 NfcTag::getInstance().connectionEventHandler(connEvent, eventData);
515 "%s: NFA_WRITE_CPLT_EVT: status = %d", __func__, eventData->status);
516 nativeNfcTag_doWriteStatus(eventData->status == NFA_STATUS_OK);
521 "%s: NFA_SET_TAG_RO_EVT: status = %d", __func__, eventData->status);
522 nativeNfcTag_doMakeReadonlyResult(eventData->status);
528 __func__, eventData->status);
530 if (eventData->status != NFA_STATUS_OK)
533 eventData->status);
539 eventData->ndef_write_cplt.len);
546 __func__, eventData->llcp_activated.is_initiator,
547 eventData->llcp_activated.remote_wks,
548 eventData->llcp_activated.remote_lsc,
549 eventData->llcp_activated.remote_link_miu,
550 eventData->llcp_activated.local_link_miu);
553 eventData->llcp_activated);
560 getNative(0, 0), eventData->llcp_deactivated);
570 nativeNfcTag_doPresenceCheckResult(eventData->status);
574 "%s: NFA_FORMAT_CPLT_EVT: status=0x%X", __func__, eventData->status);
575 nativeNfcTag_formatStatus(eventData->status == NFA_STATUS_OK);
580 "%s: NFA_I93_CMD_CPLT_EVT: status=0x%X", __func__, eventData->status);
586 __func__, eventData->status);
592 PeerToPeer::getInstance().connectionEventHandler(connEvent, eventData);
686 ** eventData: Data associated with event ID.
692 tNFA_DM_CBACK_DATA* eventData) {
701 "%s: NFA_DM_ENABLE_EVT; status=0x%X", __func__, eventData->status);
702 sIsNfaEnabled = eventData->status == NFA_STATUS_OK;
731 if (eventData->status == NFA_STATUS_OK &&
732 eventData->get_config.tlv_size <= sizeof(sConfig)) {
733 sCurrentConfigLen = eventData->get_config.tlv_size;
734 memcpy(sConfig, eventData->get_config.param_tlvs,
735 eventData->get_config.tlv_size);
747 eventData->rf_field.status, eventData->rf_field.rf_field_status);
748 if (!sP2pActive && eventData->rf_field.status == NFA_STATUS_OK) {
756 if (eventData->rf_field.rf_field_status == NFA_DM_RF_FIELD_ON)
817 PowerSwitch::getInstance().deviceManagementCallback(dmEvent, eventData);
823 __FUNCTION__, eventData->power_sub_state.status);