             object: nil
         )
         
-        let queue = dispatch_queue_create("no.malt", DISPATCH_QUEUE_SERIAL)
-        centralManager = CBCentralManager(delegate: self, queue: queue)
+        self.btQueue = dispatch_queue_create("no.malt.btdiscovery", DISPATCH_QUEUE_SERIAL)
+        centralManager = CBCentralManager(delegate: self, queue: self.btQueue)
         
         rssiTimer = NSTimer.scheduledTimerWithTimeInterval(
             2.0,

    
    let btConst = BTConstants()
    
    var rssiTimer : NSTimer?
    
    var activePeripheral : CBPeripheral? {
        didSet {

        
        var msg = "Low Signal: \(signal)"
        nc.postNotificationName("btStateChangedNotification", object: msg)
        if let central = self.centralManager {
            central.stopScan()
            self.resetConnection()
        }
        
        delay(1.0) {
            // Wait one second to start scanning again.
