An object of the invention is to reduce the power consumption at the time of an automatic homing operation performed between a base station apparatus and a wireless LAN terminal apparatus. If the remaining storage capacity of the programming memory becomes insufficient to store all programming information, a part of the programming information is transferred to a server via a telephone line and is stored in the program information database of the server. The weaning mode may include ceasing pacing for at least a predetermined length of time and monitoring the heart to detect electrical depolarizations of a ventricle of the heart during the predetermined length of time.