ELECTRONIC APPARATUS CONTROLLING CONNECTION WITH ACCESSORY DEVICE, ACCESSORY DEVICE, CONTROL METHODS THEREFOR, AND STORAGE MEDIUMS STORING CONTROL PROGRAMS THEREFOR
An electronic apparatus that is capable of checking connection between the electronic apparatus body and accessories without performing communication between the electronic apparatus body and accessories. The electronic apparatus is capable of communicating with an accessory device connected. A detection unit detects whether the accessory device supports both a first communication method and a second communication method of which communication speed is higher than communication speed of the first communication method. A setting unit sets the second communication method during communication when the detection unit detects that the accessory device supports both the first communication method and the second communication method, and to set the first communication method except communicating.