From: "Andrea Galbusera" <gizero@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Basic serial communication over RFCOMM
Date: Thu, 20 Sep 2007 17:04:16 +0200 [thread overview]
Message-ID: <f8e53fb0709200804h5dffbc3cy115a9669ab4d05c6@mail.gmail.com> (raw)
Hi all,
I'm new to bluetooth programming and to serial communication too, but
I have a basic understanding of unix I/O.
I'm writing an application to communicate with some BT connected
devices. RFCOMM stuff is up and running ok.
I actually can do basic communication using minicom, but when I try to
do it in a simple open(), write() and read() program nothing happens!
I suspect this to be related to some basic setup of the tty attached
to the RFCOMM device I'm not managing correctly. If I keep minicom
open on a terminal and run my application on another this works fine
(I see correct answers from the device).
Could you please suggest any code examples or resources useful for
newbies on such a topic. I know there is a lot of stuff behind ttys
but hopefully only some parameters will be required.
TIA
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
reply other threads:[~2007-09-20 15:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=f8e53fb0709200804h5dffbc3cy115a9669ab4d05c6@mail.gmail.com \
--to=gizero@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox