From owner-freebsd-bluetooth@FreeBSD.ORG Mon Sep 9 21:58:29 2013 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 88F53BB9 for ; Mon, 9 Sep 2013 21:58:29 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [IPv6:2607:f8b0:400c:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4894A270E for ; Mon, 9 Sep 2013 21:58:29 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id c14so4000568vea.15 for ; Mon, 09 Sep 2013 14:58:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VnJYYYpT7iRu/LfVFXmyL9b8QXaF15tFUfjU7uWLN1o=; b=r6pge/isWsG2oDlSFcKMRwwUMpdaLtx0/rvL4akUSIUv8arCHsYpDooEKPix+UWepW xxM09HEEMCo7+N0SprBEmIF+EiIpALU7HntNknjketqpxuBCAkcFUtAkQ/MvbiYsEcZZ UxuVb6Rv06mldLT3q1EORPPXIsd43ekLmxTffcF2gJ1h0QCzkqf51AjG8IWyu5QUFCga cESAQcnjc+JV2gRiTwI5UesujMngwSZZbq+Q7Lwy6rPT3MBhyOmoLmULE3zVtNCuA4jV TsmCJlwfnzfI0YH6p+Why3aF5tAMHIVykG4hT+IrHeI/Oz/hJvF7gB++njojy8wxSPdK dBeA== MIME-Version: 1.0 X-Received: by 10.52.232.165 with SMTP id tp5mr16307718vdc.11.1378763908343; Mon, 09 Sep 2013 14:58:28 -0700 (PDT) Received: by 10.221.60.134 with HTTP; Mon, 9 Sep 2013 14:58:28 -0700 (PDT) In-Reply-To: <522E3484.1070705@rawbw.com> References: <522DEFD9.1030608@rawbw.com> <522E3484.1070705@rawbw.com> Date: Mon, 9 Sep 2013 14:58:28 -0700 Message-ID: Subject: Re: Can ubt0 be a slave or a passive listener, and not a master? From: Maksim Yevmenkin To: Yuri Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-bluetooth@freebsd.org" X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 21:58:29 -0000 On Monday, September 9, 2013, Yuri wrote: > > So what you are saying is that there is no link-level sniffing using this > kind of configuration. And the only thing I can see with hcidump are HCI > commands coming back and forth between the host (BSD in this case) and > device (dongle). Nothing like "promiscuous" mode for network interfaces. In > other words, dongle does processing and only shows higher level information > and not the link level packets. Yes, that is exactly what I'm saying. Bluetooth interface is not like network interface. You can't turn it into sniffer. At least I'm not aware of any way to do it. There's a separate piece of hardware - Bluetooth sniffer - that basically grabs over the air communications and decodes it. > My original motivation for this is that I have a camera GPS device > (master) and Android App that is supposed to work as a slave. But this link > doesn't work at all for some reason. I was hoping to use BSD to > troubleshoot. But it looks like this wasn't a realistic expectation. Well, you can use bsd instead of android application and try to see what is going on. Bluetooth GPS usually a simple serial port profile. They just basically send nmea ASCII strings using serial port profile. I have one of those units. Start by querying services on your camera and see what's there. Thanks Max