Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] Problem with rfcomm!!
@ 2005-05-21 13:08 neelam goyal
  2005-05-23 10:09 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: neelam goyal @ 2005-05-21 13:08 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 941 bytes --]

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   

[-- Attachment #2: Type: text/html, Size: 1369 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] Problem with rfcomm!!
  2005-05-21 13:08 [Bluez-users] Problem with rfcomm!! neelam goyal
@ 2005-05-23 10:09 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-05-23 10:09 UTC (permalink / raw)
  To: bluez-users; +Cc: bluez-users

Hi Neelam,

> 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........

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-23 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-21 13:08 [Bluez-users] Problem with rfcomm!! neelam goyal
2005-05-23 10:09 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox