* [Bluez-users] rfcomm problems
@ 2004-03-12 16:08 zubiwat
2004-03-13 12:12 ` Marcel Holtmann
0 siblings, 1 reply; 12+ messages in thread
From: zubiwat @ 2004-03-12 16:08 UTC (permalink / raw)
To: bluez-users
Hi.
I have problems with rfcomm, because when i connect two pc's I don't know how to make them to transfer files or text between tty's. One komputer uses bluez and the other one USB dongle with WinXP.
Please help because the two compueters are paired and connected using rfcomm and Serial Port. But when I try to type sth on tty nothing happens.
I would be greatfull for howto or step-by-step text.
Regards
Maciej Zubilewicz
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] rfcomm problems
2004-03-12 16:08 [Bluez-users] rfcomm problems zubiwat
@ 2004-03-13 12:12 ` Marcel Holtmann
0 siblings, 0 replies; 12+ messages in thread
From: Marcel Holtmann @ 2004-03-13 12:12 UTC (permalink / raw)
To: zubiwat; +Cc: BlueZ Mailing List
Hi Maciej,
> I have problems with rfcomm, because when i connect two pc's I don't know how to make them to transfer files or text between tty's. One komputer uses bluez and the other one USB dongle with WinXP.
>
> Please help because the two compueters are paired and connected using rfcomm and Serial Port. But when I try to type sth on tty nothing happens.
for file transfer you must put another protocol on top of RFCOMM. For
example Obex, Kermit etc. or you can use PAN and get a TCP/IP connection
between your machines.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bluez-users] rfcomm problems
@ 2004-03-28 23:19 Gene Imes
2004-03-29 10:34 ` Marcel Holtmann
0 siblings, 1 reply; 12+ messages in thread
From: Gene Imes @ 2004-03-28 23:19 UTC (permalink / raw)
To: list-bluez
I have a D-Link dbt-120 dongle. This has been working fine with a
bluetooth GPS. However today I tried to use it and I could not connect
to the GPS.
When I plug the dbt-120 in the /dev/rfcomm0-255 are created. If I try a
'cat /dev/rfcomm0' I get cat: rfcomm0 No such device. Previously a 'cat
/dev/rfcomm0' would return everything the GPS was sending.
Anyone know what is going on here?
Thanks,
Gene
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] rfcomm problems
2004-03-28 23:19 Gene Imes
@ 2004-03-29 10:34 ` Marcel Holtmann
0 siblings, 0 replies; 12+ messages in thread
From: Marcel Holtmann @ 2004-03-29 10:34 UTC (permalink / raw)
To: Gene Imes; +Cc: list-bluez
Hi Gene,
> I have a D-Link dbt-120 dongle. This has been working fine with a
> bluetooth GPS. However today I tried to use it and I could not connect
> to the GPS.
>
> When I plug the dbt-120 in the /dev/rfcomm0-255 are created. If I try a
> 'cat /dev/rfcomm0' I get cat: rfcomm0 No such device. Previously a 'cat
> /dev/rfcomm0' would return everything the GPS was sending.
>
> Anyone know what is going on here?
you should check that "rfcomm -a" reports your bindung with the GPS
device. Check if hcid is runninng and run "hcidump -x" to see what is
going on. And of course find out what you have changed.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bluez-users] rfcomm problems
@ 2004-11-24 18:54 Andrew de Quincey
2004-11-24 19:50 ` Marcel Holtmann
0 siblings, 1 reply; 12+ messages in thread
From: Andrew de Quincey @ 2004-11-24 18:54 UTC (permalink / raw)
To: bluez-users
Hi, I'm using linux kernel 2.6.9, gentoo, bluez-utils/libs 2.10.
I have a Nokia 3650, with firmware 3.16.
I've initially been just trying to connect to the phone using rfcomm...
rfcomm connect 0 MACADDR 1
this works - I get the "Press Ctrl-C to hangup" and /dev/rfcomm0 appears
(using udev BTW).
I then try to use minicom on /dev/rfcomm0. It opens it OK, but nothing
happens... I mean, I send AT commands at it, but I get no response. Do I have
to use a certain set of serial port settings (I've tried quite a few)?
I also tried running hcidump whilst typing stuff in minicom - nothing was
logged.
What am I missing?
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] rfcomm problems
2004-11-24 18:54 Andrew de Quincey
@ 2004-11-24 19:50 ` Marcel Holtmann
2004-11-25 1:31 ` Andrew de Quincey
0 siblings, 1 reply; 12+ messages in thread
From: Marcel Holtmann @ 2004-11-24 19:50 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Andrew,
> Hi, I'm using linux kernel 2.6.9, gentoo, bluez-utils/libs 2.10.
> I have a Nokia 3650, with firmware 3.16.
>
> I've initially been just trying to connect to the phone using rfcomm...
>
> rfcomm connect 0 MACADDR 1
>
> this works - I get the "Press Ctrl-C to hangup" and /dev/rfcomm0 appears
> (using udev BTW).
>
> I then try to use minicom on /dev/rfcomm0. It opens it OK, but nothing
> happens... I mean, I send AT commands at it, but I get no response. Do I have
> to use a certain set of serial port settings (I've tried quite a few)?
No. This should simply work.
However some people complained about that minicom and RFCOMM TTY do not
work very good together. The BlueZ utils packages contains test/attest.c
and you should give it a try.
> I also tried running hcidump whilst typing stuff in minicom - nothing was
> logged.
Do you started hcidump as root? You must see at least the RFCOMM channel
setup.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] rfcomm problems
2004-11-24 19:50 ` Marcel Holtmann
@ 2004-11-25 1:31 ` Andrew de Quincey
2004-11-25 2:41 ` Marcel Holtmann
0 siblings, 1 reply; 12+ messages in thread
From: Andrew de Quincey @ 2004-11-25 1:31 UTC (permalink / raw)
To: bluez-users; +Cc: Marcel Holtmann
On Wednesday 24 Nov 2004 19:50, Marcel Holtmann wrote:
> Hi Andrew,
>
> > Hi, I'm using linux kernel 2.6.9, gentoo, bluez-utils/libs 2.10.
> > I have a Nokia 3650, with firmware 3.16.
> >
> > I've initially been just trying to connect to the phone using rfcomm...
> >
> > rfcomm connect 0 MACADDR 1
> >
> > this works - I get the "Press Ctrl-C to hangup" and /dev/rfcomm0 appears
> > (using udev BTW).
> >
> > I then try to use minicom on /dev/rfcomm0. It opens it OK, but nothing
> > happens... I mean, I send AT commands at it, but I get no response. Do I
> > have to use a certain set of serial port settings (I've tried quite a
> > few)?
>
> No. This should simply work.
>
> However some people complained about that minicom and RFCOMM TTY do not
> work very good together. The BlueZ utils packages contains test/attest.c
> and you should give it a try.
>
> > I also tried running hcidump whilst typing stuff in minicom - nothing was
> > logged.
>
> Do you started hcidump as root? You must see at least the RFCOMM channel
> setup.
Nice one! I've now got GPRS and everything working. I can confirm minicom just
does not work with it.
OK: my next question is about the "Bluetooth serial port" on the phone. When I
connect to it with:
rfcomm connect 0 00:60:57:7C:31:49 2
It connects, but then the phone immediately disconnects. A short time later,
the phone connects back to my computer on seemingly the service with the
highest channel id - in my case kbemusedsrv (from kdebluetooth - an XMMS
control service for the phone).
kbemused handily has a raw data dump option, and I can see the phone sending
what are obviously PPP LCP packets at it.
How do I get the phone to connect to something sensible - e.g. to dund. I
found various sets of instructions on the web, but the damn thing keeps
connecting to kbedmused.
Is this connect-disconnect-reconnect behaviour normal?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] rfcomm problems
2004-11-25 1:31 ` Andrew de Quincey
@ 2004-11-25 2:41 ` Marcel Holtmann
0 siblings, 0 replies; 12+ messages in thread
From: Marcel Holtmann @ 2004-11-25 2:41 UTC (permalink / raw)
To: Andrew de Quincey; +Cc: BlueZ Mailing List
Hi Andrew,
> OK: my next question is about the "Bluetooth serial port" on the phone. When I
> connect to it with:
>
> rfcomm connect 0 00:60:57:7C:31:49 2
>
> It connects, but then the phone immediately disconnects. A short time later,
> the phone connects back to my computer on seemingly the service with the
> highest channel id - in my case kbemusedsrv (from kdebluetooth - an XMMS
> control service for the phone).
>
> kbemused handily has a raw data dump option, and I can see the phone sending
> what are obviously PPP LCP packets at it.
>
> How do I get the phone to connect to something sensible - e.g. to dund. I
> found various sets of instructions on the web, but the damn thing keeps
> connecting to kbedmused.
>
> Is this connect-disconnect-reconnect behaviour normal?
welcome to the world of this mRouter crap. You can try the latest dund
from bluez-utils-2.11 package. I added some support for mRouter, but I
am not sure if it is really working.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bluez-users] Rfcomm Problems
@ 2006-04-26 11:06 Thomas Brandl
2006-04-28 20:36 ` Albert Huang
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Brandl @ 2006-04-26 11:06 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1669 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] Rfcomm Problems
2006-04-26 11:06 [Bluez-users] Rfcomm Problems Thomas Brandl
@ 2006-04-28 20:36 ` Albert Huang
2006-04-29 3:23 ` Sowmya Gattupalli
2006-05-08 7:05 ` Thomas Brandl
0 siblings, 2 replies; 12+ messages in thread
From: Albert Huang @ 2006-04-28 20:36 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 124 bytes --]
>
> I need that cat /dev/rfcomm0 is kept open.
>
To my knowledge, this is not currently possible. Anyone?
-albert
[-- Attachment #2: Type: text/html, Size: 384 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] Rfcomm Problems
2006-04-28 20:36 ` Albert Huang
@ 2006-04-29 3:23 ` Sowmya Gattupalli
2006-05-08 7:05 ` Thomas Brandl
1 sibling, 0 replies; 12+ messages in thread
From: Sowmya Gattupalli @ 2006-04-29 3:23 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
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 <albert@csail.mit.edu> wrote:
>
> I need that cat /dev/rfcomm0 is kept open.
> >
>
> To my knowledge, this is not currently possible. Anyone?
>
> -albert
>
[-- Attachment #2: Type: text/html, Size: 1158 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bluez-users] Rfcomm Problems
2006-04-28 20:36 ` Albert Huang
2006-04-29 3:23 ` Sowmya Gattupalli
@ 2006-05-08 7:05 ` Thomas Brandl
1 sibling, 0 replies; 12+ messages in thread
From: Thomas Brandl @ 2006-05-08 7:05 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
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: bluez-users@lists.sourceforge.net
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
[-- Attachment #2: Type: text/html, Size: 1889 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-05-08 7:05 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-12 16:08 [Bluez-users] rfcomm problems zubiwat
2004-03-13 12:12 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-03-28 23:19 Gene Imes
2004-03-29 10:34 ` Marcel Holtmann
2004-11-24 18:54 Andrew de Quincey
2004-11-24 19:50 ` Marcel Holtmann
2004-11-25 1:31 ` Andrew de Quincey
2004-11-25 2:41 ` Marcel Holtmann
2006-04-26 11:06 [Bluez-users] Rfcomm Problems Thomas Brandl
2006-04-28 20:36 ` Albert Huang
2006-04-29 3:23 ` Sowmya Gattupalli
2006-05-08 7:05 ` Thomas Brandl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).