Detecting a communication mode via interruptions
Abstract
A method for a communication mode, comprises: detecting the type of the communication mode; if the communication mode is a USB interface communication mode, turning off a timer; when an instruction is received, conducting a corresponding operation according to the USB interface communication protocol supported by the device; if the communication mode is not set, then when the timeout identifier is set, setting the communication mode as a serial port communication mode, turning off the timer, resetting the timeout identifier, and executing step S6; if the communication mode is a serial port communication mode, turning off the timer, and executing step S6; step S6: when the instruction is received, conducting a corresponding operation according to the serial port protocol.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for recognizing a communication mode, comprising: step S1 comprising powering on a device, initializing, turning on an interruption and a timer, and the timer starting timing; entering a clock interruption when a preset value is reached by timing of the timer, wherein the clock interruption comprises: turning off the timer, setting a time-out flag, turning on the timer, and exiting the clock interruption; continuing to Step B1 when other interruption signals are detected, continuing to step S2 when no other interruption signals are detected; step B1 comprising determining a type of an
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- ‘An Embedded Converter from RS232 to Universal Serial Bus’ by Zuquim et al., copyright 2001, IEEE.
- ‘Device Class Definition for Human Interface Devices (HID)—Firmware Specification,’ Version 1.11, Jun. 27, 2001.
- ‘Smart Card APDU Analysis’ by Ivan Buetler, Black Hat Briefings, Compass Security AG, 2008.
- ‘Specification for Integrated Circuit(s) Cards Interface Devices’ Revision 1.1, Apr. 22rd, 2005, pp. 1-3, full document at http://www.usb.org/developers/docs/devclass_docs/DWG_Smart-Card_CCID_Rev110.pdf.
- ‘Universal Serial Bus Specification Revision 2.0’ Apr. 27, 2000, pp. 48-52, 382-394. (Year: 2000).