From owner-freebsd-bluetooth@FreeBSD.ORG Tue Sep 10 20:41:57 2013 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9818FE3E for ; Tue, 10 Sep 2013 20:41:57 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 806D32A38 for ; Tue, 10 Sep 2013 20:41:57 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r8AKfujM006356; Tue, 10 Sep 2013 13:41:56 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <522F8414.3050009@rawbw.com> Date: Tue, 10 Sep 2013 13:41:56 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130822 Thunderbird/17.0.8 MIME-Version: 1.0 To: Maksim Yevmenkin Subject: Re: Can ubt0 be a slave or a passive listener, and not a master? References: <522DEFD9.1030608@rawbw.com> <522E3484.1070705@rawbw.com> <522F4DEC.9000709@rawbw.com> <92CFA072-17F6-4E91-8F4A-9DED857FE971@gmail.com> In-Reply-To: <92CFA072-17F6-4E91-8F4A-9DED857FE971@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 10 Sep 2013 20:41:57 -0000 On 09/10/2013 12:50, Maksim Yevmenkin wrote: > Hmm... Is there a way to make it 'discoverable'? Anything in user interface? This device has absolutely no buttons. Also camera has no such switch "GPS on". When cable is plugged in, it is supposed to be on. Very simple. > Sometimes devices use a special trick where device class bits can be > used to provide information about services. This way remote device can > learn about services without performing a full blown sdp discovery. So > you might want to try and play with it. This is maybe what it is doing. Maybe it performs discovery itself, looks at some flags, and keeps silent because it didn't find the right flags ... But it isn't clear how to know which flags are those. >> >This company said it would connect to BlueTooth slave with the passcode "0000". > Can you please tell me what device is this? Make and model? Yes, this device is AK-4NIII by the company called Aokatec. Camera is Nikon D300. Their official description lists a bunch of GPS devices as compatible. I don't have any of this list. When I confronted the manufacturer about the Android connectivity, they said they officially don't support Android "because Android is always a bluetooth master", and they are also a master looking for a slave. Their statement isn't correct, because there are few android apps that work as GPS slave and this is entirely possible. They also said that their master looks for slave with passcodee="0000" I also confronted Android App maker "Bluetooth GPS". They said they know about Aokatec device incompatibility, but they have no clue as of the reasons. Yuri