     static let configCharUUID = CBUUID(string: "0001")
     static let statusCharUUID = CBUUID(string: "0002")
     static let cmdCharUUID = CBUUID(string: "0003")
+    var statusChar: CBCharacteristic?
+    var configChar: CBCharacteristic?
+    var cmdChar: CBCharacteristic?
 
     var peripheral: CBPeripheral?
 

        self.peripheral = peripheral
        self.peripheral!.delegate = self
        peripheral.discoverServices(nil)
    }

    // Mark: - CBPeripheralDelegate

            let thisCharacteristic = characteristic as CBCharacteristic
            print("         ", thisCharacteristic)
            if thisCharacteristic.uuid == PanoPeripheral.statusCharUUID {
                statusChar = thisCharacteristic
                peripheral.setNotifyValue(true, for: thisCharacteristic)
                peripheral.readValue(for: thisCharacteristic)
            }
            if thisCharacteristic.uuid == PanoPeripheral.configCharUUID {
                configChar = thisCharacteristic
                sendConfig(PanoPeripheral.config)
            }
            if thisCharacteristic.uuid == PanoPeripheral.cmdCharUUID {
                cmdChar = thisCharacteristic
            }
            //peripheral.discoverDescriptors(for: thisCharacteristic)
        }
