         peripheralManager = CBPeripheralManager(delegate: self, queue: nil , options:option)
         print("Peripheral Manager Restored")
     }
-     func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]){
-
+    func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]){
+        
         print("Central Manager Restored")
     }
-     func  centralManagerDidUpdateState(_ central:CBCentralManager){
+    func  centralManagerDidUpdateState(_ central:CBCentralManager){
         print("CentralManagerDidUpdateState", central.state)
     }
-    public func centralManager(_ central: CBCentralManager,
+    func centralManager(_ central: CBCentralManager,
                                didDiscover peripheral: CBPeripheral,
                                advertisementData: [String : Any],
                                rssi RSSI: NSNumber) {
         print("発見したBLEデバイス", peripheral)
-         name = peripheral.name
+        name = peripheral.name
         self.peripheral = peripheral
-      BLEView.shared.action(name:name)
-}
+        BLEView.shared.action(name:name)
+    }
     
     //接続開始
     public  func pushStart(){

    }
    
    // ペリフェラルマネージャの状態が変化すると呼ばれる
    public func peripheralManagerDidUpdateState(_ peripheral: CBPeripheralManager) {
        print("state: \(peripheral.state)")
        
        switch peripheral.state {

        }
    }
    
    func  peripheral (_ peripheral: CBPeripheral,
                             didUpdateValueFor characteristic: CBCharacteristic,
                             error: Error?) {
        if let error = error {
