A non-transitory storage medium storing a program for causing a computer to execute a method of communication with an image pickup apparatus, the method being performed by a lens apparatus detachably attached to the image pickup apparatus with respect to driving of an optical member, the method comprising:
- receiving first information for identifying the image pickup apparatus transmitted from the image pickup apparatus, and transmitting second information for identifying the lens apparatus to the image pickup apparatus, and
- receiving a change confirmation information transmitted from the image pickup apparatus according to reception of the second information by the image pickup apparatus,
- transmitting lens apparatus change information to the image pickup apparatus in response to receiving the change confirmation information, in order to request the image pickup apparatus to transmit third information for identifying the image pickup apparatus;
- transmitting fourth information, in response to the third information transmitted from the image pickup apparatus, for identifying the lens apparatus to the image pickup apparatus,
- wherein the second information is information that indicates whether the lens apparatus supports a first function or not,
- wherein the fourth information is information that indicates that the lens apparatus supports the first function,
- wherein the second information and the fourth information are sent from the same lens apparatus, and
- wherein the first function is a function related to focusing of the optical member.