NFC Polling With Incomplete Status for Long Command Execution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
NFC communications often terminate prematurely due to response timeouts when operations require extended periods, disrupting data exchange and cryptographic verification, especially in applications requiring high-integrity command validation.
Innovation Solution
Implementing a method where the electronic device issues an 'Incomplete' status code during extended operations, prompting the mobile device to initiate polling, and updating a response buffer with a final result upon completion, allowing asynchronous communication.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the NFC reader waits for a response during extended operations (e.g., cryptographic verification taking 100 ms or more), then the data exchange completeness is improved, but the response timeout causes the NFC session to terminate prematurely
Solution Approach 1:
The NFC reader performs preliminary actions by sending a command and then entering a polling mode before the extended operation completes. Instead of passively waiting for a response that may timeout, the reader proactively polls the tag at predetermined intervals to check if the operation has completed, ensuring no response is lost due to timeout mechanisms.
Solution Approach 2:
The system implements a feedback mechanism where the NFC reader continuously polls the tag during extended operations to receive status updates. The tag responds to polling commands with status codes indicating whether the operation is still in progress or has completed, allowing the reader to adapt its behavior based on real-time feedback from the tag.
2Measurement precision
If the NFC API waits for a response during time-intensive operations, then the cryptographic verification accuracy is improved, but the API becomes unable to receive responses due to timeout
Solution Approach 1:
The NFC reader employs periodic polling actions at predetermined time intervals during extended cryptographic operations. This periodic action ensures that the API remains responsive and can receive status updates from the tag without being blocked by timeout mechanisms, maintaining both verification accuracy and API productivity.
3Adaptability or versatility
If the NFC session ends automatically due to lack of response, then the protocol compliance is improved, but the communication continuity is worsened requiring re-initiation
Solution Approach 1:
The system performs preliminary action by establishing a polling mechanism before the NFC session can timeout. This preliminary setup ensures continuous communication monitoring and prevents automatic session termination, maintaining communication continuity while still adhering to protocol requirements through proper polling procedures.
Data Source
AI summary
A method for near field communication (NFC) wireless connectivity, comprising receiving, by an electronic device from a mobile device, an NFC command; issuing, by the electronic device to the mobile device, an NFC response including an incomplete status code to trigger a polling operation by the mobile device; issuing, by the electronic device to the mobile device, the incomplete status code during an execution of the NFC command; and issuing, by the electronic device to the mobile device, a response to the NFC command when the electronic device completes the execution of the NFC command.


