Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6344859ybi; Wed, 31 Jul 2019 12:39:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpiJG8kvFmBmZddp7okDCKQ2JIbiWq1EuVf/sWApWLZbCqR0oNoR9o4CCiYool6/QIGEdr X-Received: by 2002:a17:902:7c05:: with SMTP id x5mr123301782pll.321.1564601979074; Wed, 31 Jul 2019 12:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564601979; cv=none; d=google.com; s=arc-20160816; b=mw4OwgZxbZHN+gkO3wZKghyTvRonGeu3tUV23iqcOkTrvYhN4F5DW3P67FPMAdshNl dL6aEmpHQkkFpXSvtpWqi3nuDkmh71hQNGw8rChaLdeXKravbTXDL0QbjuGjJ2EVs6I3 EoPs+N8AI/wZqwNebUGK3JvaGmLZWQowFyCoDFoSadZsjRrLKE76BDp9Au7IX2hXBevY I+ztJg7yZn/09s2z/s8MCOIBHD7CBp+oE28ij3at48XXNEzJ3egClBK+OmfMliF3fkZ6 x8d7d09vkNnAf+n+TlhMaEefpfrUozrBufcMX4NrGqPgquPzvYF+fqSmuZktPCmxta1F zDtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=UJmHMf3k5K8FHY7vHKRUUBymKMESq5q3UwXpDKOzwA0=; b=jDBbX4WwlDdfwOJ5NDNqw+AQ4ovhFHMGdwuqsRlf7maHgCl8FJ2jxt7uCK7bMYaNV+ G/mnQ9sG6CS0JCCrayz1ug3X9A74gElwlvloZnRU3fFgZqDsHZJskU0INERR6oNkZJh3 TcQHt68kLiK4LtVPDEDAT5POKXJwzsmBVnTNqm3sgHixcDFQqEpoaxTCpUjis2yaFERE +S84RxPuooXu2eCcxkJOgGDsnif/bnBefIGaK28Kd3GlYKpjpUyI+tdR8DHFkonRHF1v lHODWGXOKB2W5tt50ij7wj9KQFdSot/BHL+Vv620w5MokvPcd+YbH2C+tdMxyhxrsotN 4dqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@orcam.com header.s=google header.b=MFmAbxMv; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x61si32007546plb.336.2019.07.31.12.39.05; Wed, 31 Jul 2019 12:39:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@orcam.com header.s=google header.b=MFmAbxMv; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728976AbfGaSOw (ORCPT + 99 others); Wed, 31 Jul 2019 14:14:52 -0400 Received: from mail-io1-f51.google.com ([209.85.166.51]:44555 "EHLO mail-io1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727167AbfGaSOv (ORCPT ); Wed, 31 Jul 2019 14:14:51 -0400 Received: by mail-io1-f51.google.com with SMTP id s7so138191984iob.11 for ; Wed, 31 Jul 2019 11:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orcam.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=UJmHMf3k5K8FHY7vHKRUUBymKMESq5q3UwXpDKOzwA0=; b=MFmAbxMv0ZArataLYQDjVDI0CRn5oqFiE2puS73XKHVtXXwe4GI8r5NzTNrMa0GXZy 8wjpU/uYx2mpoIY3N1bcE/fltrLtJI/yuP52zPFpEzA4jdjT9tj5eUEgS1j+oTiCCfCM C2IMavuyxkGd19g2Um57DpT8XkSWOLK4v56x8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=UJmHMf3k5K8FHY7vHKRUUBymKMESq5q3UwXpDKOzwA0=; b=Nz8hXzzwTt6R1NU4bj+td+dmDAZZvVI+YUb3TkeO7+J03QdllHLOMWea7aQIgrQAvG gxckLySlrcgBzWMkkVgyu1Hq1J0YBUg/kAl45JmCOqCPeMcs53EA9kRDL0z9ksBu47VQ rIRr3K8VjN9+OCcQ/QvJYGvrCKb8zS+iuhdh85BZuJXlGCsIhsYvV285I6SImLDuHzRV EMEhD5OuSqLl/IruUN89ajJL2hT+lNr4xuNgjy1WOYv2K2+caGJdu4gapcPn0XXbmT9t wlFIphbOdi92EPesHiYoKfy9aMvNFeqyh3tuAoOx+4ZMiF8gV45MDMRhoXuSDrfSv5XP GYcQ== X-Gm-Message-State: APjAAAU+q/HRxLrErMGGSCFQo91pw1GMBUz4g/8N4R81iQjJpmOTPdXw Ji285ZWH/RFfpwCE59OzRxWPjs26vbZnevT7EOiSqxKJmn0= X-Received: by 2002:a05:6638:52:: with SMTP id a18mr3613412jap.75.1564596890522; Wed, 31 Jul 2019 11:14:50 -0700 (PDT) MIME-Version: 1.0 From: Ordit Gross Date: Wed, 31 Jul 2019 21:14:41 +0300 Message-ID: Subject: connectDevice - dbus adapter api To: linux-bluetooth@vger.kernel.org Cc: ordit Binshtok Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org hi all, I have an application that attempts to connect to a paired speaker every minute. in case the remote speaker performs reset, the speaker side keys are gone. the local device still attempts to reconnect to that device (bluetoothd still have all credentials saved). I would like to have a connect_reply "authentication failed" but am only getting org.bluez.Error.Failed I want to have that information so I could clear credentials from my side (remove device) ** the failed connect might happen also if the speaker is not in reach, so this alone isn't a good indication. how can I overcome this issue? (btmon shows the complete information authentication failed) https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/adapter-api.txt I appreciate your help! thanks in advance Ordit