Skip to contentSkip to conversation

Problem with rfcomm!!

Bluez-users neelam goyal 2 participants 2 messages May 21, 2005 – May 23, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

I am Neelam working for Hewlett Packard Labs, India.

I am working on a project in which I need to send character string via Bluetooth from Linux Box to an application running on an iPAQ.

I am using Bluez on Linux for bluetooth support.

And for sending the string to the iPAQ i am connecting by rfcomm and then just cat a text file to the rfcomm device.

The commands I use are:

rfcomm connect /dev/rfcomm0 <dev addr> <channel no>

and the in another terminal i do:

cat test.txt > /dev/rfcomm0

The problem i am facing is with the number of characters my application receives.I have tried it on two kernels viz. 2.6.9 and 2.6.10........

it is working perfectly fine with 2.6.9 but in case of 2.6.20 only 19 characters are being send.......i just can't understand the reason........

Could anyone please help?

Thanks and regards
Neelam

---------------------------------
Do you Yahoo!?
Make Yahoo! your home page

maintainer
#1 lore raw

Hi Neelam,

Quoted 16 lines

I am working on a project in which I need to send character string via Bluetooth from Linux Box to an application running on an iPAQ.

I am using Bluez on Linux for bluetooth support.

And for sending the string to the iPAQ i am connecting by rfcomm and then just cat a text file to the rfcomm device.

The commands I use are:

rfcomm connect /dev/rfcomm0 <dev addr> <channel no>

and the in another terminal i do:

cat test.txt > /dev/rfcomm0

Quoted 7 lines

The problem i am facing is with the number of characters my application receives.I have tried it on two kernels viz. 2.6.9 and 2.6.10........

it is working perfectly fine with 2.6.9 but in case of 2.6.20 only 19 characters are being send.......i just can't understand the reason........

try direct RFCOMM socket programming or use

rfcomm --raw connect ...

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users