Re: [Bluez-users] Bluez/bluetooth newbie

Turley, Scott-P27856
2006-10-26T14:14:00Z

[-- Attachment #1.1: Type: text/plain, Size: 4396 bytes --]

Sure, I copied the source from the following website:

http://people.csail.mit.edu/albert/bluez-intro/

-Scott

________________________________

From: bluez-users-bounces@lists.sourceforge.net
[mailto:bluez-users-bounces@lists.sourceforge.net] On Behalf Of anoop
Sent: Wednesday, October 25, 2006 10:34 PM
To: BlueZ users
Subject: Re: [Bluez-users] Bluez/bluetooth newbie

Hi Scott,

I am also in the search for such a library.
Can you point me to this?.

Anoop

"Turley, Scott-P27856" <Scott.Turley@gdc4s.com> wrote:

Doing a little more investigation, I found a library
that sends/receives
data over a socket connection using rfcomm.

However, if I use the client side of this library, doing
a connect to
another bluetooth device that implements the Serial Port
Profile, it
works beautifully, I'm able to send data that gets
displayed on the
windows side hyperterminal.

When I try to run the server side library on the Linux
machine, and
attempt to make a connection over the hyperterminal, I
get an error
message: "Connection attempt failed because the remote
device does not
support the Serial Port Profile".

How do I get a listener on a Linux host to accept serial
port profile
connections?

-Scott

-----Original Message-----
From: bluez-users-bounces@lists.sourceforge.net
[mailto:bluez-users-bounces@lists.sourceforge.net] On
Behalf Of Marcel
Holtmann
Sent: Thursday, October 19, 2006 9:30 PM
To: BlueZ users
Subject: Re: [Bluez-users] Bluez/bluetooth newbie

Hi Scott,

> I'm trying to do something really simple in the
bluetooth environment.
> I attached a USB bluetooth module (from A7
engineering) to a Linx PC,
> and I attached a serial module to a windows PC. This
serial module
> has the complete stack, and I just interface to it
with ASCII commands

> over a serial port profile. I want to simply send
ASCII text across a

> bluetooth serial connection between the two computers.
>
> I have been able to do this successfully with a
windows host. Here
> are the steps I'm taking:
>
> * On the Windows side, I connect to the serial
bluetooth module,
> configure the baud rate to 9600, no HW flow control,
etc.
> * On the Linux side I start the hcid and sdpd
services.
> * Then I search for the remote bluetooth device using
"hcitool
> inq" and I see it.
> * I establish a connection using "hcitool cc ".

this step is not needed at all.

> * Finally I use rfcomm to make a serial connection:
"rfcomm
> connect 0 1".

You might wanna use "rfcomm --raw connect 0 1".

> The windows side recognizes a connection is made, but
I am unable to
> get data across.
>
> I have found no way to establish baud rate. Is that
necessary across
> bluetooth?

No. The baud rate is for the physical interface of the
module and not
the RFCOMM connection.

Regards

Marcel

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web
services,
security?
Get stuff done quickly with pre-integrated technology to
make your job
easier Download IBM WebSphere Application Server v.1.0.1
based on Apache
Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

________________________________

Stay in the know. Pulse on the new Yahoo.com. Check it out.
<http://us.rd.yahoo.com/evt=42974/*http://www.yahoo.com/preview>

[-- Attachment #1.2: Type: text/html, Size: 6164 bytes --]