+ changed deprecated isConnected property to state == CBPeripheralStateConnected