* [Bluez-devel] Port parameter negotiation?
@ 2004-11-29 11:26 Till Harbaum
2004-11-29 11:34 ` Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: Till Harbaum @ 2004-11-29 11:26 UTC (permalink / raw)
To: BlueZ Mailing List
Hi list,
does BlueZ implement rfcomm port paramater negotiation? This is required to
allow a bluetooth->rs232 converter so set the baud rate etc according to the
settings on the hosts virtual serial port. E.g. changing the baudrate on a
windows bluetooth com port changes the rs232 bit rate on the bt device as
well (ok, at least my widcomm/win98 notebook does this only for 57600 and
115200 correctly).
So using something like
stty -F /dev/rfcomm0 speed 9600
should IMHO cause a rfcomm port negotiation packet to be sent on client side.
But i don't see this happen ...
Am i doing something wrong? I am using rfcomm 1.3 on a 2.6.8 kernel.
Till
--
Dr.-Ing. Till Harbaum Tel.: +49 721 4998963
BeeCon GmbH Fax: +49 721 4998962
Haid-und-Neu Strasse 7, 76131 Karlsruhe Mobil: +49 179 9087904
harbaum@beecon.de http://www.beecon.de
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] Port parameter negotiation?
2004-11-29 11:26 [Bluez-devel] Port parameter negotiation? Till Harbaum
@ 2004-11-29 11:34 ` Marcel Holtmann
2004-12-01 15:16 ` Till Harbaum
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2004-11-29 11:34 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Till,
> does BlueZ implement rfcomm port paramater negotiation? This is required to
> allow a bluetooth->rs232 converter so set the baud rate etc according to the
> settings on the hosts virtual serial port. E.g. changing the baudrate on a
> windows bluetooth com port changes the rs232 bit rate on the bt device as
> well (ok, at least my widcomm/win98 notebook does this only for 57600 and
> 115200 correctly).
>
> So using something like
> stty -F /dev/rfcomm0 speed 9600
>
> should IMHO cause a rfcomm port negotiation packet to be sent on client side.
> But i don't see this happen ...
as far as I remember we haven't fully implemented it. We only have code
to fulfill the Bluetooth qualification requirements. However the main
RFCOMM interface are sockets and there you don't have to worry about the
baud rate. Adding support for it should not be that hard. Find out what
IOCTL the command above triggers and prepare the correct negotiation
packet.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] Port parameter negotiation?
2004-11-29 11:34 ` Marcel Holtmann
@ 2004-12-01 15:16 ` Till Harbaum
0 siblings, 0 replies; 3+ messages in thread
From: Till Harbaum @ 2004-12-01 15:16 UTC (permalink / raw)
To: bluez-devel
Hi Marcel,
On Monday 29 November 2004 12:34, Marcel Holtmann wrote:
> to fulfill the Bluetooth qualification requirements. However the main
> RFCOMM interface are sockets and there you don't have to worry about the
> baud rate. Adding support for it should not be that hard. Find out what
> IOCTL the command above triggers and prepare the correct negotiation
> packet.
Ok, another job for a student in need of a linux/bluez thesis :-)
Till
--
Dr.-Ing. Till Harbaum Tel.: +49 721 4998963
BeeCon GmbH Fax: +49 721 4998962
Haid-und-Neu Strasse 7, 76131 Karlsruhe Mobil: +49 179 9087904
harbaum@beecon.de http://www.beecon.de
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-01 15:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29 11:26 [Bluez-devel] Port parameter negotiation? Till Harbaum
2004-11-29 11:34 ` Marcel Holtmann
2004-12-01 15:16 ` Till Harbaum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox