def cancel_pairing
      block_given? ? @o_dev[I_DEVICE].CancelPairing(&Proc.new) :
                     @o_dev[I_DEVICE].CancelPairing()
      true
    rescue DBus::Error => e
      case e.name
      when E_DOES_NOT_EXIST then true
      when E_FAILED         then false
      else raise ScriptError
      end
    end
def cancel_pairing
      block_given? ? @o_dev[I_DEVICE].CancelPairing(&Proc.new) :
                     @o_dev[I_DEVICE].CancelPairing()
      true
    rescue DBus::Error => e
      case e.name
      when E_DOES_NOT_EXIST then true
      when E_FAILED         then false
      else raise ScriptError
      end
    end
This method can be used to cancel a pairing
 operation initiated by the Pair method.
 @return [Boolean]