Date: Tue, 22 Feb 2011 11:46:13 +0200 From: =?UTF-8?B?0JLQvtC70L7QtNC40LzQuNGAINCa0L7RgdGC0LjRgNC60L4=?= <c.kworr@gmail.com> To: Iain Hibbert <plunky@rya-online.net> Cc: freebsd-bluetooth@freebsd.org Subject: Re: ES 388 (Broadcom based) Message-ID: <4D6385E5.4030807@gmail.com> In-Reply-To: <alpine.NEB.2.00.1102220920130.1133@galant.ukfsn.org> References: <ijvivo$ad4$1@dough.gmane.org> <alpine.NEB.2.00.1102220920130.1133@galant.ukfsn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D6385E5.4030807>