From owner-freebsd-bluetooth@FreeBSD.ORG Tue Feb 22 10:13:02 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D30D10656A4 for ; Tue, 22 Feb 2011 10:13:02 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id D052E8FC27 for ; Tue, 22 Feb 2011 10:13:01 +0000 (UTC) Received: by wwi17 with SMTP id 17so3923238wwi.1 for ; Tue, 22 Feb 2011 02:13:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=sjYpO6mF4ogf1zQpy0oam0TMvlvKvf6/y53lqkBVFY4=; b=lu4KLwCHsKx76RYpdAu9l8Dxbxmo/Jmt04IZSkVHXemiTHYSMXaCCBPiMYqgc1I9Tm 2PQYBoLOc/6j89FQFnexCtJm9tY7th8vtVjAs9EcynmOiqWR17HOesrg16vZD/tXujur cgWdbhZe8BuUSgbKiQGmf3dL5X83AVysph4mQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=KiNBceVofuY7WACJOw91LRlomS9DlBx3vU6fh8F218vz6y3L7jOBb2Pz7Nw1aBo4od Bm7UkbrFFTwV0YzyV44c7i56mVB9e+ZgPYCN3FTb9FdjC97iwQFF5ljaWQ0y4VNQ07nF Hf7o6jOFNHDebYKCrKXb8yKkHThwSeqDJY3RI= Received: by 10.227.157.17 with SMTP id z17mr2210411wbw.54.1298367973363; Tue, 22 Feb 2011 01:46:13 -0800 (PST) Received: from [172.31.0.1] (109-167-54-26.dynamic.peoplenet.ua [109.167.54.26]) by mx.google.com with ESMTPS id s50sm2504152weh.46.2011.02.22.01.46.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Feb 2011 01:46:11 -0800 (PST) Message-ID: <4D6385E5.4030807@gmail.com> Date: Tue, 22 Feb 2011 11:46:13 +0200 From: =?UTF-8?B?0JLQvtC70L7QtNC40LzQuNGAINCa0L7RgdGC0LjRgNC60L4=?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; uk; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Iain Hibbert References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: ES 388 (Broadcom based) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 10:13:02 -0000 22.02.2011 11:26, Iain Hibbert wrote: > On Tue, 22 Feb 2011, Volodymyr Kostyrko wrote: > >> And it almost works. I can register devices with it, but I can't do anything >> more. Any phone connected shows that this device doesn't provide any services >> despite sdpd is running. > > The device does not provide services, the FreeBSD host provides them.. > sdpd merely provides the "Service Discovery" service to allow services to > be advertised. > > What services did you want to provide? You can use obexapp from ports for > file exchange, rfcomm_sppd from base for serial port services (its just a > channel, requires additional setup eg of PPP), and btpand from base for > personal area networking (some networking knowhow needed) I've tried to start rfcomm_pppd and btpand, but that doesn't change anything. For example, I start btpand like this: # ifconfig tap0 create # btpand -i tap0 -s NAP -d ubt0 btpand[25794]: Using interface tap0 with addr 00:00:10:00:02:ed btpand[25794]: server_update: count 1 btpand[25794]: Service Availability: 255/255 btpand[25794]: server socket open btpand[25794]: channel_open: (fd#4) Feb 22 11:33:12 pkunk kernel: tap0: Ethernet address: 00:bd:e8:58:8e:00 Feb 22 11:33:20 pkunk kernel: tap0: link state changed to UP # sdpcontrol -l browse Record Handle: 00000000 Service Class ID List: Service Discovery Server (0x1000) Protocol Descriptor List: L2CAP (0x0100) SDP (0x0001) Bluetooth Profile Descriptor List: Service Discovery Server (0x1000) ver. 1.0 Record Handle: 0x00000001 Service Class ID List: Browse Group Descriptor (0x1001) Record Handle: 0x00000002 Service Class ID List: Network Access Point (0x1116) Protocol Descriptor List: L2CAP (0x0100) Protocol specific parameter #1: u/int/uuid16 15 BNEP (0x000f) Protocol specific parameter #1: u/int/uuid16 256 Protocol specific parameter #2: 0x09 0x08 00 0x09 0x08 0x06 Bluetooth Profile Descriptor List: Network Access Point (0x1116) ver. 1.0 But each device I try reports that there are no available services. -- Sphinx of black quartz judge my vow.