Patent ID: 9179215
Filing Date: 2015-11-03
Classification: H04M,H04R

Abstract:
1. An electronic device, comprising: a connector for connecting to an accessory, the connector having an audio contact; a control unit having a first terminal and a second terminal, which are coupled to the audio contact of the connector, wherein the control unit is configured to send a command, which is represented by a first serial digital signal, to the accessory through the first terminal and the audio contact when the accessory is electrically connected to the connector, and to receive accessory data, which is represented by a second serial digital signal and generated by the accessory in response to the command, through the second terminal and the audio contact; a voltage detection device, configured to detect a voltage level at the audio contact; and an audio processing unit coupled between the audio contact and the control unit and configured to receive an audio signal from the accessory through the audio contact, wherein the accessory data includes an identification of the accessory, and when the control unit, after sending the command, receives the identification of the accessory, the electronic device enters a first operation mode, in which the control unit operates in response to a control signal; or when the control unit, after sending the command, does not receive the identification of the accessory, the electronic device enters a second operation mode, in which the control unit operates in response to the voltage level detected by the voltage detection device.