Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2008 12:58:48 +0000 (GMT)
From:      Iain Hibbert <plunky@rya-online.net>
To:        Oliver Fromme <olli@lurza.secnetix.de>
Cc:        freebsd-bluetooth@FreeBSD.ORG
Subject:   Re: libbluetooth2 and Net::Bluetooth
Message-ID:  <1228741128.874448.728.nullmailer@galant.ukfsn.org>
In-Reply-To: <200812080953.mB89rh7i042425@lurza.secnetix.de>
References:  <200812080953.mB89rh7i042425@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Dec 2008, Oliver Fromme wrote:

> Second, I would like to use this software (perl script):
>
> http://lukas.internet-freaks.net/nxtmanager.php
>
> As far as I can tell, the software requires libbluetooth2
> and the CPAN module Net::Bluetooth.  I searched the ports,
> but they're not there.  I assume those don't work with
> FreeBSD, right?  Any idea whether porting them would be
> feasible?

The problem with this libbluetooth2 is that it forms the interface to the
linux kernel for the BlueZ system and as such, large parts of it are not
relevant to any other operating system.

The way that this Lego Mindstorms NXT module speaks through bluetooth is
using RFCOMM with the SerialPortProfile, so of course it is possible to
talk to that from FreeBSD using an RFCOMM socket directly, or by using
rfcomm_sppd(1) to open a pty with a connection to the NXT and using stdio.

I don't know what this perl script needs to use the libbluetooth2 for,
probably the module just lumps all bluetooth together. If you know how to
make bindings then perhaps you can make a RFCOMM sockets module that will
fulfil the requirements?

iain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1228741128.874448.728.nullmailer>