def stop_discovery
        @o_adapter[I_ADAPTER].StopDiscovery
        true
    rescue DBus::Error => e
        case e.name
        when E_FAILED         then false
        when E_NOT_READY      then false
        when E_NOT_AUTHORIZED then raise NotAuthorized
        else raise ScriptError
        end
        
    end
def stop_discovery
        @o_adapter[I_ADAPTER].StopDiscovery
        true
    rescue DBus::Error => e
        case e.name
        when E_FAILED         then false
        when E_NOT_READY      then false
        when E_NOT_AUTHORIZED then raise NotAuthorized
        else raise ScriptError
        end
        
    end
This method will cancel any previous {#start_discovery}
 transaction.
 @note The discovery procedure is shared
 between all discovery sessions thus calling {#stop_discovery}
 will only release a single session.

 @return [Boolean]