MPOS base code and architecture is redesigned
Redesign improves the performance, optimizes the memory usage also
gives the portability and easy scalability
diff --git a/src/com/android/nfc/DeviceHost.java b/src/com/android/nfc/DeviceHost.java
index f333681..97f306d 100644
--- a/src/com/android/nfc/DeviceHost.java
+++ b/src/com/android/nfc/DeviceHost.java
@@ -112,11 +112,11 @@
/**
* Notifies SWP Reader Events.
*/
- public void onSWPReaderRequestedEvent(boolean istechA, boolean istechB);
+ public void onETSIReaderRequestedEvent(boolean istechA, boolean istechB);
- public void onSWPReaderRequestedFail(int FailCause);
+ public void onETSIReaderRequestedFail(int FailCause);
- public void onSWPReaderActivatedEvent();
+ public void onETSIReaderActivatedEvent();
public void onETSIReaderModeStartConfig(int eeHandle);
@@ -124,6 +124,8 @@
public void onETSIReaderModeSwpTimeout(int disc_ntf_timeout);
+ public void onETSIReaderModeRestart();
+
public void onUiccStatusEvent(int uiccStat);
}
@@ -401,6 +403,12 @@
void etsiInitConfig();
+ void stopPoll(int mode);
+
+ void startPoll();
+
+ int mposSetReaderMode(boolean on);
+
void updateScreenState();
//boolean enableReaderMode(int technologies);