Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jan 2007 13:07:08 -0800
From:      maksim yevmenkin <maksim.yevmenkin@savvis.net>
To:        Marcel Holtmann <marcel@holtmann.org>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: is bluetooth 2.0 speeds supported on freebsd?
Message-ID:  <45A403FC.7050106@savvis.net>
In-Reply-To: <1168375720.32577.6.camel@violet>
References:  <45A3BAAB.4040903@zk.informjust.ua>	 <45A3D66C.2050605@savvis.net>	 <49327.91.124.7.194.1168371717.squirrel@webmail.ic.uz.ua>	 <45A3F31D.2060709@savvis.net> <1168375720.32577.6.camel@violet>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel,

>>>>> Does freebsd implementation of bluetooth stack support data rates of
>>>>> bluetooth 2.0?
>>>> no, freebsd bluetooth stack is v1.1 and does not support bluetooth 2.0
>>>> edr as of now.
>>> AS OF NOW sounds better than NEVER will :o) but may I ask you do you make
>>> some steps towards edr support? is it realy hard to include edr support?
>> the main problem is time. basically i have to
>>
>> 1) go to a store/online and pick up a couple of bluetooth 2.0+edr 
>> adapters. those are in $20 us range now (i.e cheap);
>>
>> 2) read and understand bluetooth 2.0 spec;
>>
>> 3) make changes to the existing code;
>>
>> i do not think it would be very hard to add edr support. i suspect that 
>> all needed to be done is to properly detect and configure edr device.
>>
>>> can I help with something? I'm wery base-level programmer, but if you
>>> point me to some docs or specs etc or may be just give me some part of
>>> whole job I can help? AFAIK BlueZ do not support edr too... is it so
>>> difficult to implement edr on 1.1 base?
>> like i said, it should not be very hard to add 2.0+edr support. btw, 
>> bluez does support 2.0+edr, so it could save me some time.
>>
>> you could do a simple task of updating ng_hci.h headers to include all 
>> the 2.0+edr hci commands and events. i think someone already might have 
>> done a port of it. you are more then welcome to send patches to the list.
> 
> actually you don't have to do anything to support EDR. The way EDR is
> specified is that it is on by default if both sides support EDR. The
> link manager will automatically detect it and then use it. Only when you
> wanna disable EDR you have to set the bits in packet mask.

thanks for the comment.

that is what i meant by "properly detect and configure edr device". 
basically look at the supported features for the local device and set 
packet type mask depending on this. as it stands right now freebsd 
bluetooth stack will only use DM/H1, DM/H3 and DM/H5 packets (last two 
only used if the device supports them).

thanks,
max




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45A403FC.7050106>