linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Bitstuffing in a Rfcomm connection?
Date: Thu, 23 Feb 2006 17:51:07 +0100	[thread overview]
Message-ID: <1140713467.24721.45.camel@localhost> (raw)
In-Reply-To: <1140710294.3302.6.camel@localhost.localdomain>

Hi Agustin,

> Here's the situation. I have an open rfcomm connection which I use
> through a file descriptor, fd: fd = open(devname, O_RDWR | O_NOCTTY);
> 
> I realized that the 'extra bytes' I was reading (using the read
> function) actually are some bytes that I'm periodically writing (using
> the write function) to this file descriptor. It's like I have an 'echo'
> of the bytes I write... I read all the incoming that AND the bytes I'm
> writing  to this fd.

set the TTY into raw mode or use the RFCOMM socket directly.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2006-02-23 16:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20051202220703.C04EF953BA@sc8-sf-spam1.sourceforge.net>
2005-12-02 23:34 ` [Bluez-users] Errors from hcid Michael Gorbach
2005-12-03  5:20   ` Marcel Holtmann
2006-02-15 21:04   ` [Bluez-users] Cannot compile bluez-utils-2.25 Agustin Jose Fusaro
2006-02-17 11:32     ` Claudio Takahasi
2006-02-17 13:43       ` Agustín José Fusaro
2006-02-21 22:00   ` [Bluez-users] Connection attempt timeout Agustin Jose Fusaro
2006-02-21 23:29     ` Marcel Holtmann
2006-02-22 16:16       ` Agustin Jose Fusaro
2006-02-21 23:05   ` [Bluez-users] Link quality measurement Agustin Jose Fusaro
2006-02-21 23:28     ` Marcel Holtmann
2006-02-22 16:17       ` Agustin Jose Fusaro
2006-02-22 21:14   ` [Bluez-users] Bitstuffing in a Rfcomm connection? Agustin Jose Fusaro
2006-02-22 21:27     ` Marcel Holtmann
2006-02-23 15:58       ` Agustin Jose Fusaro
2006-02-23 16:51         ` 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=1140713467.24721.45.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).