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
Quoted 18 lines
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.
Quoted 11 lines
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"
Quoted 10 lines
Quoted 1 line
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
Marcel Holtmann
maintainerHi Anthony,
Quoted 4 lines
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.
Quoted 3 lines
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Marcel Holtmann
maintainerHi Anthony,
Quoted 8 lines
Quoted 2 lines
yes you can, but in that case you have to start with RFCOMM socket programming. Look at rctest for an example.
I forgot to ask about the rctest example.. i tried compiling the rctest example manually in directory where rctest is..
"gccrctest.c" ... and then there was an error saying "undefined reference toaparticularfunction()"..
something like that.. what does that mean? how can i fix it?
unpack the utils source and run "./configure && make" and you will get your rctest binary.
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