[Gambas-user] Bluetooth in Gambas
Steven Drinnan
steven at ...1545...
Mon Jun 2 15:44:41 CEST 2008
Bluetooth Audio is available with ALSA bluez-utils-alsa
Just edit the file
.asoundrc put it in your home folder
you need to add
pcm.bluetooth {
type bluetooth
device "00:0C:78:40:B8:01" //this is the id of the phone if you used
rfcomm just use the same ID.
profile "auto"
}
restart your computer.
You need bluez-utils-alsa. Then you can use alsa to activate the device.
I have used it in skype, audacious and mplayer.
How that can be used in gambas maybe some else can jump in here.
I hope that helps.
On Sun, 2008-06-01 at 10:16 +0200, Ron wrote:
> Lee McPherson schreef:
> > This is not exactly a Gambas question, but I thought someone would be
> > able to point me in the right direction.
> >
> > I'm trying to make a Bluetooth handsfree app with Gambas. I've already
> > gotten the serial interface established so that I can dial calls and
> > download the phonebook from my cell phone within Gambas. I'm using
> > Ubuntu (hardy) and to create the serial connection, I'm using the
> > command line program rfcomm. (I had to put this program in the sudoers
> > file so that I didn't have to use sudo every time I wanted to run it.)
> >
> > Here's the problem... I haven't been able to find any good documentation
> > to establish the 2-way audio link to the cell phone with Bluetooth.
> > Other online tutorials explain how to use btsco (an outdated app) to
> > connect to Bluetooth headsets, but that doesn't seem to be working for
> > me. I've come across an idea to have linux emulate a bluetooth headset
> > so that the phone can find it, but I haven't discovered how to do that.
> > Ultimately, I just want to use standard speakers and a mic connected to
> > the computer to talk over bluetooth.
> >
> > Does anyone have ideas? I'd be extremely grateful! (if anyone has
> > questions about how I've done what I have so far, I'd be glad to answer
> > them.)
> >
> > -Lee
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list