       try
         @capture.setMinBytes 0
       catch e
-        @_base.debug e
+        @base.debug e
 
       @capture.on "packet", @_rawPacketHandler
 


      # auto-discovery
      @framework.deviceManager.on('discover', (eventData) =>
        @framework.deviceManager.discoverMessage 'pimatic-amazing-dash-button', 'Searching for dash-buttons. Press dash-button now!'
        @candidatesSeen = []
        @lastId = null



    init: (app, @framework, @config) =>
      @interfaceAddress = @config.interfaceAddress if @config.interfaceAddress?
      @debug = @config.debug || false
      @base = commons.base @, 'Plugin'
      @capture = new cap.Cap()
