摘要 |
In a portable electronic device (100) having a plurality of near field communication applications stored within a plurality of execution environments, automatic selection of one of the near field communication applications is performed by a protocol discovery manager (319) and an application discovery manager (316). The application discovery manager (316) is disposed within a default execution environment. The protocol discovery manager (319), which operates in a near field communication circuit controller (301), performs application discovery at the mode switch level (321), the collision detection level (322), and the protocol level (323). The application discovery manager (316) performs application discovery at the application level. Where the protocol discovery manager (319) selects an application, it can configure a routing switch (219) to route data to the appropriate execution environment and launches the selected application, where only protocol level of identification is required. Where other levels are required, the protocol discovery manager (319) selects and routes data to the default execution environment containing application discovery manager (316). The application discovery manager (316), upon selecting an application, can either launch the application or forward a message to the appropriate execution environment for further execution as required by the selected application.
|