Port parameter negotiation?
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
Signature · 15 lines
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 [email protected] 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Till,
Quoted 7 lines
does BlueZ implement rfcomm port paramater negotiation? This is required to allow a
bluetooth->rs232converter 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).
Quoted 5 lines
So using something like
stty -F/dev/rfcomm0speed 9600should 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Marcel,
Quoted 5 lines · Marcel Holtmann
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
Signature · 15 lines
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 [email protected] 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel