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
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
>
>
> I need that cat /dev/rfcomm0 is kept open.
>
To my knowledge, this is not currently possible. Anyone?
-albert
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