Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Christian.Lessig@t-online.de
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>,
	lessig@uni-weimar.de
Subject: Re: [Bluez-users] problems setting up an SPP profile connection
Date: Wed, 31 Dec 2003 12:16:05 +0100	[thread overview]
Message-ID: <1072869365.2949.3.camel@pegasus> (raw)
In-Reply-To: <1AbdUK-1W3pE80@cmpmail03.bbul.t-online.de>

Hi Christian,

> I've got problems to set up an SPP (serial port profile) connection. I
> can connect and bind to the second device (a bluetooth chip for
> industrial purpose) but I don't know how to receive messages. In the
> assumption that rfcomm0 behaves like ttyS0 I wrote a little C programm
> where I open the rfcomm0-file, set the parameter, write something and
> wait for response. But I don't receive anything.

you can look at attest.c for an example. It demonstrates how to use the
RFCOMM socket and also the RFCOMM TTY to send AT commands.

> I also tried to use the rfcommd. I thought propably I need the daemon to
> receive messages, but direct after starting it exits. I found nowhere a
> appropriate config file for rfcommd so I used this:

The rfcommd is deprecated and replaced by our kernel RFCOMM
implementation.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2003-12-31 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-31 10:22 [Bluez-users] problems setting up an SPP profile connection Christian.Lessig
2003-12-31 11:16 ` Marcel Holtmann [this message]

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=1072869365.2949.3.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=Christian.Lessig@t-online.de \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=lessig@uni-weimar.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox