A device (100; 1000; 1100; 75) that is configured for implantation in vasculature within or proximate to the heart of a patient, the device comprising: - a flexible, elongate body that has a first end and an opposite second end; said flexible elongate body has a circular tubular shape with the same radial diameter across the whole length of the body between the first end and the opposite second end, said flexible elongate body further comprising a receiver circuit (700; 625; 1005; 1100) configured to receive signals wirelessly from a transmitter device (51; 650) and to convert the signals into electrical power; - at least a first set of one or more electrodes (2,2; 3,3; 12-17; 1040; 69) that is positioned on the body proximate to the first end and that is configured to receive the electrical power from the receiver circuit and to stimulate the heart; - a second set of one or more electrodes (3,3; 12-17; 1040; 69) positioned on the body proximate to the second end and configured to receive the electrical power from the receiver circuit and to stimulate the heart;the device is configured for implantation in vasculature within or proximate to the heart of a patient so as to accommodate stimulation of at least one of a first chamber and a second chamber of the heart, respectively; and - the body is configured to be positioned across two different sections of the vasculature such that a) the first end can be positioned in a first section of the vasculature through which the device can stimulate a first chamber of the heart and b) the second end can be positioned in a second section of the vasculature through which the device can stimulate a second chamber of the heart. - a flexible, elongate body that has a first end and an opposite second end; said flexible elongate body has a circular tubular shape with the same radial diameter across the whole length of the body between the first end and the opposite second end, said flexible elongate body further comprising a receiver circuit (700; 625; 1005; 1100) configured to receive signals wirelessly from a transmitter device (51; 650) and to convert the signals into electrical power; - at least a first set of one or more electrodes (2,2; 3,3; 12-17; 1040; 69) that is positioned on the body proximate to the first end and that is configured to receive the electrical power from the receiver circuit and to stimulate the heart; - a second set of one or more electrodes (3,3; 12-17; 1040; 69) positioned on the body proximate to the second end and configured to receive the electrical power from the receiver circuit and to stimulate the heart;the device is configured for implantation in vasculature within or proximate to the heart of a patient so as to accommodate stimulation of at least one of a first chamber and a second chamber of the heart, respectively; and - the body is configured to be positioned across two different sections of the vasculature such that a) the first end can be positioned in a first section of the vasculature through which the device can stimulate a first chamber of the heart and b) the second end can be positioned in a second section of the vasculature through which the device can stimulate a second chamber of the heart.