![]() |
rfcomm on diablo
Hi, Can anyone point me to a place where I can get rfcomm for diablo?
|
Re: rfcomm on diablo
I think it's rtcomm you are looking for
http://rtcomm.garage.maemo.org/ |
Re: rfcomm on diablo
Not really. I am looking for rfcomm which is a program that can map a bluetooth connection onto a serial device. It should be in some bluetooth package but I can't find it. I read reports that is used to be in bluez-untils-test but I can't find this package (perhaps pre Diablo?)
|
Re: rfcomm on diablo
okay...my fault ;)
|
Re: rfcomm on diablo
I might have found it. It could be here. I will try to install this this evening.
|
Re: rfcomm on diablo
Bluez stack moved to using D-Bus almost exclusively. Check kbdd for some D-Bus shell scripting hackery for allocating rfcomm ports. See dbus-bluez-rfcomm inside kbdd.tar.gz or see wiki.bluez.org for other examples.
Advantage of using d-bus for allocating rfcomm port is that is plays nice with rest of the system, you don't need to hardcode specific rfcomm port number and hope system will not use it. |
Re: rfcomm on diablo
You need the bluez-utils-test deb, which is only visible by adding the diablo SDK and diablo tools archive.
https://bugs.maemo.org/show_bug.cgi?id=3405 Quote:
|
Re: rfcomm on diablo
Also, kbdd has some shell scripts and python that does the same things as rfcomm (and a few others do) via dbus.
|
Re: rfcomm on diablo
Thanks, I have installed the bluez-utils-test package and it works great.
|
Re: rfcomm on diablo
Hello, I'm also trying to set up a serial port for bluetooth communication. I'm working with an n800 running Diablo.
I've purchased a BlueSMirf modem and I'm attempting to setup a serial connection on a project I've been working on that is described in this post. In this post in the same thread jethro.itt recommended I use rfcomm in order to replace my hardwired serial connection with a bt connection. So I installed bluez-utils, bluez-utils-dist, and bluez-utils-test. Not sure if I really needed all of them, but I assume it won't hurt (it won't, right?). I can bring up rfcomm in xterm, and using hcitool scan gives me the bt address of the modem (which is successfully paired with my n800). If I try Code:
rfcomm connect [bt address] Code:
Can't open RFCOMM config file: No such file or directory Any help you NIT gurus could provide would be much appreciated! |
Re: rfcomm on diablo
Hi. I'm not a computer scientist or experienced programmer, but I'm trying to learn, so bear with me if this is a stupid question. If I use the dbus-bluetooth method instead of rfcomm, can I put a tty on it?
I don't even know if I asked that right, so let me give a little detail about what I'm trying to do. I'm taking a computer science class, and I work full time and I have a 3 year old daughter, so I don't have a whole lot of time to sit and work on my programming homework (had 2 semesters of c++ as the as a prerequisite to this class, but that was 3 years ago, so I'm quite rusty). I've installed g++ on my IT so I can work on my homework anywhere when I have spare time, but it would be a whole lot easier if when I'm at a full-sized computer, I could use the big screen and keyboard to access the IT. When there's wifi available, no problem, I can use ssh, but where I work there's no wifi. I DO have a BT adapter on my work PC, so I was hoping to set up a BT serial link and log in to my n810 that way. But my lack of knowledge is preventing me from doing this, although I suspect it's fairly simple. I'm not asking anyone to solve my problem for me; this is a low priority, and it should be a good learning experience if I can figure it out myself, but right now I'm not sure which way to go. I know that if I have a regular /dev/rfcomm0, I can have getty, or whatever Diablo uses, put a console there, but with the dbus method I'm not sure what I'd do or where to begin. Thanks |
All times are GMT. The time now is 23:31. |
vBulletin® Version 3.8.8