Linux bluetooth development
 help / color / mirror / Atom feed
From: Christian.Lessig@t-online.de
To: bluez-users@lists.sourceforge.net
Cc: lessig@uni-weimar.de
Subject: [Bluez-users] problems setting up an SPP profile connection
Date: Wed, 31 Dec 2003 11:22:04 +0100	[thread overview]
Message-ID: <1AbdUK-1W3pE80@cmpmail03.bbul.t-online.de> (raw)

Hallo,

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.

When I connect under Windows and send AT commands over the hyperterminal
it works and the device is responding.
 
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:

session_x {
  channel 1;
}

Regards,

Christian Lessig, Bauhaus University Weimar




-------------------------------------------------------
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 10:22 UTC|newest]

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

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=1AbdUK-1W3pE80@cmpmail03.bbul.t-online.de \
    --to=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