2006-04-26 11:06:26

by Thomas Brandl

[permalink] [raw]
Subject: [Bluez-users] Rfcomm Problems

Hallo;

I have a problem concerning rfcomm conenction. Hopefully somebody can help me ;-))

Following Problem:

After
sdptool add --channel=2 SP, and
rfcomm listen rfcomm0 (I put it in an infinite loop so that reconnection will establish automatically)
I am waiting for an incoming connection. This connection is availiable after a few seconds. So no problems so far.

My problem now.
I have an application listening on rfcomm0, if something happens that causes an disconnection (with following reconnection) my apllication is not be able to receive from dev/rfcomm0

You can test it with simple cat /dev/rfcomm0. After disconnection cat is closing.
I need that cat /dev/rfcomm0 is kept open. Would it be possible to link to a specific script which is able to handle this?? Any other proposals??

Thanks

Thomas


2006-04-29 03:23:53

by Sowmya Gattupalli

[permalink] [raw]
Subject: Re: [Bluez-users] Rfcomm Problems

Hey Albert,
Even have some rfcomm problems.... whenever I use rfcomm-server and
rfcomm-client ( the sample code in ur site) many times... I get this
Resource temporarily unavailable and I need to restart the machine.....

Is it because of ISSC chipset.... or am I missin somethin?

On 4/29/06, Albert Huang <[email protected]> wrote:
>
> I need that cat /dev/rfcomm0 is kept open.
> >
>
> To my knowledge, this is not currently possible. Anyone?
>
> -albert
>


Attachments:
(No filename) (465.00 B)
(No filename) (1.12 kB)
Download all attachments

2006-04-28 20:36:21

by Albert Huang

[permalink] [raw]
Subject: Re: [Bluez-users] Rfcomm Problems

>
> I need that cat /dev/rfcomm0 is kept open.
>

To my knowledge, this is not currently possible. Anyone?

-albert


Attachments:
(No filename) (117.00 B)
(No filename) (382.00 B)
Download all attachments

2006-05-08 07:05:08

by Thomas Brandl

[permalink] [raw]
Subject: Re: [Bluez-users] Rfcomm Problems

is it maybe possible to create a script, which can simulate that open device file. at that moment i don't know how, but i think there should be any solution.

greetings

thomas
----- Original Message -----
From: Albert Huang
To: [email protected]
Sent: Friday, April 28, 2006 10:36 PM
Subject: Re: [Bluez-users] Rfcomm Problems


I need that cat /dev/rfcomm0 is kept open.

To my knowledge, this is not currently possible. Anyone?

-albert