         }
     }
     
-    public func startScaningForPeripherals(minRSSI: Int) {
+    private func startScaningForPeripherals(minRSSI: Int) {
         self.minRSSI = minRSSI
         
         guard !self.centralManager.isScanning else { return }

        }
    }
    
    public func startAdvertisingPeripheral() {
        self.ensure(peripheralManagerHasState: .poweredOn) { result in
            switch result {
            case .error(let err): self.delegate?.clink(self, didCatchError: err)
            case .success: self.peripheralManager.startAdvertising([CBAdvertisementDataServiceUUIDsKey: [self.serviceId]])
            }
        }
    }
    

        }
    }
    
    override private init() {
        super.init()
        
        peripheralManager.delegate = self
