All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Bluez/bluetooth newbie
Date: Fri, 20 Oct 2006 06:29:43 +0200	[thread overview]
Message-ID: <1161318583.27585.24.camel@localhost> (raw)
In-Reply-To: <77ADC7D0C96B1F44A924DC4E952A5E0E0112074E@AZ25EXM01.gddsi.com>

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 <bt address>".

this step is not needed at all.

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

You might wanna use "rfcomm --raw connect 0 <bdaddr> 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

  reply	other threads:[~2006-10-20  4:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19 19:52 [Bluez-users] Bluez/bluetooth newbie Turley, Scott-P27856
2006-10-20  4:29 ` Marcel Holtmann [this message]
2006-10-25 22:47   ` Turley, Scott-P27856
2006-10-25 22:58     ` Ulisses Furquim
2006-10-26  5:34     ` anoop
2006-10-26 14:14       ` Turley, Scott-P27856

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=1161318583.27585.24.camel@localhost \
    --to=marcel@holtmann.org \
    --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.