2004-01-21 08:32:20

by Anthony Yulo

[permalink] [raw]
Subject: Re: [Bluez-devel] rfcomm error message?


Hey Marcel,

sorry, i didn't know i'm sending html, because i'm sending the previous
emails using Outlook express, maybe i have to set it to send text only...
sorry..:)

well, im just testing with the rfcomm program to see if i can connect to the
linux box with a smartphone.. i didn't read the source of rfcomm that much,
so im asking if i can still make a bluetooth program thru RFCOMM, without
the TTY support?..

how do i set the kernel options CONFIG_BLUEZ_RFCOMM_TTY? The only way i know
how to set it is thru recompiling the kernel.. i.e. "make xconfig"... other
ways to do it?

sorry :) hehe im just starting bluetooth programming, and i know very little
on the kernel...

regards,

Anton

>
>Hi Anthony,
>
>first, can you please send text only emails. There is no reason to send
>HTML emails to a mailing list and I tend to delete emails with a blue
>background without reading them. Thanks.
>
> > i tried using the rfcomm program to test for connections between
> > cellphone and linux pc...
> >
> > anton@maverick home]rfcomm -i hci0 listen 2
> > Waiting for connection on channel 1
> >
> > ...when i try to connect the smartphone the program returns and
> > outputs the error message:
> >
> > "can't create RFCOMM TTY: Operation not supported"
> >
> > whats wrong with this? do i have to set some configuration files?
>
>your kernel is compiled without RFCOMM TTY support. Set the kernel
>option CONFIG_BLUEZ_RFCOMM_TTY.
>
>Regards
>
>Marcel
>
>

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


2004-01-21 12:45:25

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] rfcomm error message?

Hi Anthony,

> well, im just testing with the rfcomm program to see if i can connect to the
> linux box with a smartphone.. i didn't read the source of rfcomm that much,
> so im asking if i can still make a bluetooth program thru RFCOMM, without
> the TTY support?..

yes you can, but in that case you have to start with RFCOMM socket
programming. Look at rctest for an example.

> how do i set the kernel options CONFIG_BLUEZ_RFCOMM_TTY? The only way i know
> how to set it is thru recompiling the kernel.. i.e. "make xconfig"... other
> ways to do it?

The best way is to recompile and install the whole kernel, but
recompiling the RFCOMM module should also be enough.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel