Patent ID: 7548736

Claim:
An electronic device comprising: a receiver receiving transfer data having a predetermined amount from a transmitter, the receiver including: a second receiver section receiving multiple divisional data sets and error detection information together from the transmitter, the transfer data being divided into the multiple divisional data sets, an error in each of the multiple divisional data sets being detected based on the error detection information; and an error detection section detecting whether any of the multiple divisional data sets contains an error according to the error detection information received by the second receiver section, wherein when the error detection section has detected no error in the multiple divisional data sets, the receiver performs a predetermined process according to the multiple divisional data sets, and wherein the electronic device is provided with a built-in Infrared Data Association (IrDA) protocol through either hardware or software, monitors at least a received signal, and at least upon receipt of a signal corresponding to part or all of a 9600-bps station discovery (XID) packet, switches to the IrDA protocol to transmit/receive data by the IrDA protocol, the electronic device further comprising: a second timer measuring an elapsed time; an edge detector section detecting a rising edge or a falling edge of a received signal; a protocol switching section switching between communications protocols; and a receipt discrimination section determining whether the signal corresponding to part or all of the 9600-bps XID packet has been received, wherein: the second timer measures an interval from one rising edge to a next rising edge of the received signal or an interval from one falling edge to a next falling edge of the received signal as detected by the edge detector section; the receipt discrimination section, when the interval is determined to fall in a range between a predetermined maximum and a predetermined minimum, determines that the received signal is part of the 9600-bps XID packet; and the protocol switching section switches to the IrDA protocol based on the determination that the received signal is part of a XID packet.