public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Basic serial communication over RFCOMM
@ 2007-09-20 15:04 Andrea Galbusera
  0 siblings, 0 replies; only message in thread
From: Andrea Galbusera @ 2007-09-20 15:04 UTC (permalink / raw)
  To: bluez-users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-20 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 15:04 [Bluez-users] Basic serial communication over RFCOMM Andrea Galbusera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox