From: Marcus Mikolaiczyk <marcus.mikolaiczyk@carmedialab.de>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] rfcomm gives "no route to host"
Date: Wed, 16 Mar 2005 10:01:02 +0100 [thread overview]
Message-ID: <4237F5CE.7030602@carmedialab.de> (raw)
Dear group users,
I got an embedded system using the Infineon Singlestone Bluemoon Module
connected over UART. I can successfully start the device and scan for
remote devices. I want to start rfcomm to provide a basic serial service
but probably I'm missing something to be successfull.
Kernel 2.4.19 (cannot be changed, cause it's a special port for the
tricore 1130 microcontroller)
BLueZ Patch patch-2.4.19-mh18
Bluetooth support compiled in the kernel(no modules)
<*> Bluetooth subsystem support
<*> L2CAP protocol support
< > SCO links support
<*> RFCOMM protocol support
[*] RFCOMM TTY support
<*> BNEP protocol support
[ ] Multicast filter support
[ ] Protocol filter support
Bluetooth device drivers --->
<*> HCI UART driver
[*] UART (H4) protocol support
[ ] BCSP protocol support
< > HCI VHCI (Virtual HCI device) driver
---------- dmesg-output -------------------
...
BlueZ HCI UART driver ver 2.1 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
TriCore ASC driver version 0.03-std
...
.p_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
BlueZ RFCOMM ver 1.1
Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org>
BlueZ BNEP ver 1.2
Copyright (C) 2001,2002 Inventel Systemes
Written 2001,2002 by Clement Moreau <clement.moreau@inventel.fr>
Written 2001,2002 by David Libault <david.libault@inventel.fr>
Copyright (C) 2002 Maxim Krasnyanskiy <maxk@qualcomm.com>
Looking up port of RPC 100003/2 on 10.0.0.40.......
--------------------------------------------
bash-2.05a# ps -ef
PID Uid Stat Command
...
32 root S hcid: processing events
36 root S /sbin/hciattach -p -b -s 115200 /dev/tts/2 any
115200 noflow
...
bash-2.05a# hciconfig
hci0: Type: UART
BD Address: 00:80:37:25:B7:DB ACL MTU: 339:7 SCO MTU: 120:6
UP RUNNING PSCAN ISCAN
RX bytes:682 acl:0 sco:0 events:20 errors:0
TX bytes:345 acl:0 sco:0 commands:15 errors:0
bash-2.05a# hcitool scan
Scanning ...
00:0F:B3:4D:B8:A9 MIKOBOOK
00:10:60:A4:59:C9 PC-28
bash-2.05a# rfcomm show
bash-2.05a# rfcomm bind 0
bash-2.05a# rfcomm show
rfcomm0: 00:80:37:25:B7:DB channel 1 clean
bash-2.05a# cat /dev/bluetooth/rfcomm/0
cat: /dev/bluetooth/rfcomm/0: No route to host
bash-2.05a# echo "Hello World" > /dev/bluetooth/rfcomm/0
bash: /dev/bluetooth/rfcomm/0: No route to host
bash-2.05a# rfcomm connect 0 00:80:37:25:B7:DB 1
Can't connect RFCOMM socket: No route to host
bash-2.05a# rfcomm connect 0
Can't connect RFCOMM socket: No route to host
Bye Marcus
-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2005-03-16 9:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 9:01 Marcus Mikolaiczyk [this message]
2005-03-16 9:33 ` [Bluez-users] rfcomm gives "no route to host" Marcel Holtmann
2005-03-16 9:39 ` Marcus Mikolaiczyk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4237F5CE.7030602@carmedialab.de \
--to=marcus.mikolaiczyk@carmedialab.de \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.