CPC H04B 10/07955 (2013.01) [G01J 9/0246 (2013.01); H04B 10/0775 (2013.01)] | 16 Claims |
1. An electronic device comprising:
an IR (infrared) transmitter configured to output IR light;
an IR receiver configured to receive IR light; and
a processor configured to:
identify a first IR transmission signal to be transmitted to an external device, the first IR transmission signal corresponding to a data packet including a plurality of parts;
identify a first time interval and a second time interval for to a first part of the plurality of parts, the second time interval being subsequent to the first time interval;
output, through the IR transmitter, first IR light corresponding to the first part of the data packet during the first time interval;
receive, through the IR receiver, second IR light during the second time interval;
identify whether the second IR light has an intensity equal to or greater than a threshold intensity;
in accordance with identifying that the intensity is less than the threshold intensity, output, through the IR transmitter, IR light corresponding to other parts of the data packet; and
in accordance with identifying that the intensity is equal to or greater than the threshold intensity, stop outputting the IR light corresponding to the other parts of the data packet through the IR transmitter.
|