From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 6 00:47:17 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BF3116A420 for ; Mon, 6 Feb 2006 00:47:17 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEEDB43D46 for ; Mon, 6 Feb 2006 00:47:16 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from fwd35.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1F5uXC-0008D5-00; Mon, 06 Feb 2006 01:47:14 +0100 Received: from ramses.kicks-ass.net (ZGPMaEZpQet5rF+JZZPpNlFTSEUC6hkUJp0S87Y6LNKHYt27OfYbZo@[80.143.241.185]) by fwd35.sul.t-online.de with esmtp id 1F5uX9-0bGOv20; Mon, 6 Feb 2006 01:47:11 +0100 Received: from localhost (dslb-084-061-070-188.pools.arcor-ip.net [84.61.70.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ramses.kicks-ass.net (Postfix) with ESMTP id 28389B833; Mon, 6 Feb 2006 01:47:14 +0100 (CET) From: Markus Brueffer To: Maksim Yevmenkin Date: Mon, 6 Feb 2006 01:46:58 +0100 User-Agent: KMail/1.9.1 References: <200601211748.00824.markus@brueffer.de> <200601231245.35687.markus@brueffer.de> <43D98DF2.1060507@savvis.net> In-Reply-To: <43D98DF2.1060507@savvis.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3779683.WmRPJQvEpj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200602060147.03384.markus@brueffer.de> X-ID: ZGPMaEZpQet5rF+JZZPpNlFTSEUC6hkUJp0S87Y6LNKHYt27OfYbZo@t-dialin.net X-TOI-MSGID: 36ea0d3a-a43e-4942-95c6-a75ea8ce2a4e Cc: freebsd-bluetooth@freebsd.org Subject: Re: Missing HCI events 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: Mon, 06 Feb 2006 00:47:17 -0000 --nextPart3779683.WmRPJQvEpj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Friday 27 January 2006 04:05 schrieb Maksim Yevmenkin: > > In the meanwhile I have most of libkbluetooth compiling and noticed, th= at > > a libhci would be very helpful and could ease future user space > > developments/porting dramatically (I bet the GNOME guys will come up wi= th > > a bluetooth framework sooner or later as well). How about incorporating > > such a lib in the basesystem along with libsdp and libbluetooth (similar > > to lib_hci of bluez)? > > funny you should mention that. someone actually asked me about this a > while ago and even promised to start the work. > > there was a short thread in freebsd-bluetooth > > http://lists.freebsd.org/mailman/htdig/freebsd-bluetooth/2005-September/0= 00 >410.html > > and i also have few email addressed directly to me. you might want to > contact this person and ask about the progress. Nice, I'll contact him about his progress. In the meanwhile I have made goo= d=20 progress on libhci. I have some questions, though: 1. Is there a way to retrieve all hci node names? I know the way that ngctl= (8)=20 uses, but that way requires root access. Is there another way to retrieve a= ll=20 nodes with type "hci" which works with user level privileges? 2. I have some Belkin BT dongles and they return the same devices on inquir= y=20 multiple times. While this is allowed by the spec (Vol 2, Chapter 7.1.1 of= =20 the BT 1.2 spec) the spec states the following: "It is recommended that the= =20 Controller tries to report a particular device only once during an inquiry = or=20 inquiry period.". Should the removal of duplicates happen in libhci, later = on=20 by the user or on a lower level? Thanks in advance, Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart3779683.WmRPJQvEpj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD5pyH1I0Qcnj4qNQRAvG8AKC53dAZ7zWkV2dLDCBBKnBPGLWtOQCg1mv/ xzAR0i8A8B0RMf3YvhydnQE= =rLMr -----END PGP SIGNATURE----- --nextPart3779683.WmRPJQvEpj-- From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 6 11:34:58 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1002116A420 for ; Mon, 6 Feb 2006 11:34:58 +0000 (GMT) (envelope-from konstantin-mail@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id D34E143D8B for ; Mon, 6 Feb 2006 11:34:46 +0000 (GMT) (envelope-from konstantin-mail@gmx.de) Received: (qmail 9633 invoked by uid 0); 6 Feb 2006 11:34:45 -0000 Received: from 83.129.28.167 by www072.gmx.net with HTTP; Mon, 6 Feb 2006 12:34:45 +0100 (MET) Date: Mon, 6 Feb 2006 12:34:45 +0100 (MET) From: konstantin-mail@gmx.de To: freebsd-bluetooth@freebsd.org MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #7676380 Message-ID: <28105.1139225685@www072.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: MultiSync, SyncML via Bluetooth (Mobile phone) 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: Mon, 06 Feb 2006 11:34:58 -0000 Hallo! I want to syncronisize my cell phone via Bluetooth. I've found MultiSync with the SyncML plugin. I've read that I can do this with OBEX. If I type obexapp -a 00:01:e3:ff:e9:ff -C IrMC after pairing, I get a promt like this: obex> But what should I do now? Is this approach totally wrong? Both the SyncML plugin and the sync manager of my phone asking for a URL, if they act as a client. I hope, you can give me some tips. Konstantin -- DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 6 18:17:54 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AE5216A423 for ; Mon, 6 Feb 2006 18:17:54 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from mta13.adelphia.net (mta13.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 994A743D48 for ; Mon, 6 Feb 2006 18:17:53 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [70.32.199.60]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060206181752.VBID25152.mta13.adelphia.net@[192.168.1.254]>; Mon, 6 Feb 2006 13:17:52 -0500 Message-ID: <43E792C7.7070502@savvis.net> Date: Mon, 06 Feb 2006 10:17:43 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200601211748.00824.markus@brueffer.de> <200601231245.35687.markus@brueffer.de> <43D98DF2.1060507@savvis.net> <200602060147.03384.markus@brueffer.de> In-Reply-To: <200602060147.03384.markus@brueffer.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: Missing HCI events 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: Mon, 06 Feb 2006 18:17:54 -0000 Markus, >>> In the meanwhile I have most of libkbluetooth compiling and >>> noticed, that a libhci would be very helpful and could ease >>> future user space developments/porting dramatically (I bet the >>> GNOME guys will come up with a bluetooth framework sooner or >>> later as well). How about incorporating such a lib in the >>> basesystem along with libsdp and libbluetooth (similar to lib_hci >>> of bluez)? >> >> funny you should mention that. someone actually asked me about this >> a while ago and even promised to start the work. >> >> there was a short thread in freebsd-bluetooth >> >> http://lists.freebsd.org/mailman/htdig/freebsd-bluetooth/2005-September/000 >> 410.html >> >> and i also have few email addressed directly to me. you might want >> to contact this person and ask about the progress. > > Nice, I'll contact him about his progress. In the meanwhile I have > made good progress on libhci. I have some questions, though: this is great! could you please publish it somewhere so we all can take a look? its ok if this is still work in progress, just curious what direction are you moving. > > 1. Is there a way to retrieve all hci node names? I know the way that > ngctl(8) uses, but that way requires root access. Is there another > way to retrieve all nodes with type "hci" which works with user level > privileges? no. you are right, there should be a way to enumerate all bluetooth nodes in the system. we should add this to hci (and possibly l2cap) raw sockets. it would be nice if you could share you thoughts on this. > 2. I have some Belkin BT dongles and they return the same devices on > inquiry multiple times. While this is allowed by the spec (Vol 2, > Chapter 7.1.1 of the BT 1.2 spec) the spec states the following: "It > is recommended that the Controller tries to report a particular > device only once during an inquiry or inquiry period.". Should the > removal of duplicates happen in libhci, later on by the user or on a > lower level? i have belkin device based on broadcom chip myself. it has exactly the same behavior. i think that removal of duplicates (if required at all) should happen in libhci. also each hci node caches inquiry results. cache inside hci node will remove duplicates automatically. while it is not the best solution (imo), libhci can take advantage of this and do something like - flush cache in the hci node - run inquiry (and do _not_ process any inquiry results, just wait for inquiry complete event) - get cache content from the hci node thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 6 18:27:22 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD43E16A422 for ; Mon, 6 Feb 2006 18:27:22 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42A4543D45 for ; Mon, 6 Feb 2006 18:27:22 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [70.32.199.60]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060206182721.WGAT7811.mta11.adelphia.net@[192.168.1.254]>; Mon, 6 Feb 2006 13:27:21 -0500 Message-ID: <43E79500.9070208@savvis.net> Date: Mon, 06 Feb 2006 10:27:12 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: konstantin-mail@gmx.de References: <28105.1139225685@www072.gmx.net> In-Reply-To: <28105.1139225685@www072.gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: MultiSync, SyncML via Bluetooth (Mobile phone) 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: Mon, 06 Feb 2006 18:27:22 -0000 Konstantin, > I want to syncronisize my cell phone via Bluetooth. I've found MultiSync > with the SyncML plugin. I've read that I can do this with OBEX. > > If I type > obexapp -a 00:01:e3:ff:e9:ff -C IrMC > after pairing, I get a promt like this: > obex> > > But what should I do now? Is this approach totally wrong? obexapp is a standalone command line tool that allows you to use obex file transfer and obex object push profiles with bluetooth devices. it has nothing to do with multisync and/or syncml plugin. > Both the SyncML plugin and the sync manager of my phone asking for a URL, if > they act as a client. right, my guess they want to know how to locate syncml server. syncml can use various transports, i.e. it can run over obex, wsp and http. you could try to use bluetooth lan profile to connect your phone to your ip network and then run syncml over http. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Feb 9 06:25:56 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98E9316A420 for ; Thu, 9 Feb 2006 06:25:56 +0000 (GMT) (envelope-from mmumby@xtra.co.nz) Received: from mta207-rme.xtra.co.nz (mta207-rme.xtra.co.nz [210.86.15.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id F332F43D46 for ; Thu, 9 Feb 2006 06:25:55 +0000 (GMT) (envelope-from mmumby@xtra.co.nz) Received: from mta1-rme.xtra.co.nz ([210.86.15.140]) by mta207-rme.xtra.co.nz with ESMTP id <20060209062553.LVFT17436.mta207-rme.xtra.co.nz@mta1-rme.xtra.co.nz> for ; Thu, 9 Feb 2006 19:25:53 +1300 Received: from web1-rme.xtra.co.nz ([222.152.21.232]) by mta1-rme.xtra.co.nz with ESMTP id <20060209062553.TJDK16143.mta1-rme.xtra.co.nz@web1-rme.xtra.co.nz> for ; Thu, 9 Feb 2006 19:25:53 +1300 Received: from orac ([222.152.21.232]) by web1-rme.xtra.co.nz (InterMail vG.2.00.00.00 201-2161-108-101-20050407) with SMTP id <20060209062553.UUMI420.web1-rme.xtra.co.nz@orac> for ; Thu, 9 Feb 2006 19:25:53 +1300 From: "Mark Mumby" To: Date: Thu, 9 Feb 2006 19:26:28 +1300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Pairing problem with Motorola E398 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: Thu, 09 Feb 2006 06:25:56 -0000 Hi, I have a problem that i hope you can help with. I am trying to pair my E398 with my FreeBSD 5.4 box. Basicly nothing happens. I have only recently added bluetooth to my setup and i am new to it. I am able to pair my iPAQ 2110 and my PC to the FreeBSD box. I have been through the configs many times and believe the are correct - When i start Bluetooth i get - firewall# /etc/rc.bluetooth start ubt0 BD_ADDR: 00:10:60:a5:f0:62 Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 00 0x80 <3-Slot> <5-Slot> Max. ACL packet size: 192 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 When i put the phone into "Find Me" (only allows 60 sec) mode i get - firewall# hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: MarkCell Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:22:04 Clock offset: 0x232 Inquiry complete. Status: No error [00] Then do a name query - firewall# hccontrol -n ubt0hci remote_name_request markcell 0 0 0 BD_ADDR: MarkCell Name: MarkCell Then do a spdcontrol -a markcell browse (this can be done at anytime oes not need to be in "Find Me" mode - firewall# /usr/sbin/spdcontrol -a markcell 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: 0x00010001 Service Class ID List: Dial-Up Networking (0x1103) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 1 Bluetooth Profile Descriptor List: Dial-Up Networking (0x1103) ver. 1.0 Record Handle: 0x00010003 Service Class ID List: Headset Audio Gateway (0x1112) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 3 Bluetooth Profile Descriptor List: Headset (0x1108) ver. 1.0 Record Handle: 0x00010007 Service Class ID List: Handsfree Audio Gateway (0x111f) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 7 Bluetooth Profile Descriptor List: Handsfree (0x111e) ver. 1.1 Record Handle: 0x00010008 Service Class ID List: OBEX Object Push (0x1105) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 8 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX Object Push (0x1105) ver. 1.0 Record Handle: 0x00010009 Service Class ID List: OBEX File Transfer (0x1106) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 9 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX File Transfer (0x1106) ver. 1.0 I have addeded MarkCell to the host file - 00:0a:28:32:0e:25 MarkCell Here is the hcsecd.conf entry - device { bdaddr 00:0a:28:32:0e:25; name "MarkCell"; key nokey; pin "0000"; } But when i run hcsecd -d and put the phone into "Find Me" mode nothing seems to happen. I have done HCIDUMP traces but nothing appears in the file so it is no good to send to you. USB Entry is - port 1 addr 3: full speed, self powered, config 1, Bluetooth USB dongle(0x0001), Cambridge Silicon Radio Ltd.(0x0a12), rev 15.93 Thanks in advance. Mark From owner-freebsd-bluetooth@FreeBSD.ORG Sat Feb 11 12:34:08 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B36416A420 for ; Sat, 11 Feb 2006 12:34:08 +0000 (GMT) (envelope-from tilleo@cg81.fr) Received: from cg81.fr (bl6-155-8.dsl.telepac.pt [82.155.155.8]) by mx1.FreeBSD.org (Postfix) with SMTP id 9397243D45 for ; Sat, 11 Feb 2006 12:34:05 +0000 (GMT) (envelope-from tilleo@cg81.fr) Message-ID: <000001c62f07$553dd530$3c67a8c0@chest> From: "Branislava Tiller" To: "Shirin Kuo" Date: Sat, 11 Feb 2006 07:33:16 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Ij C news X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Branislava Tiller List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2006 12:34:08 -0000 Hi, http://www.mitrigia.com =20 VnAdLblqUbMh a$c1o,z2h1e CeIwAlLoIzSj j$t3d,p3v3i VvIyAvGyRbAd f$e3y,m7b5d