From: Agustin Jose Fusaro <afusaro@apexar.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Bitstuffing in a Rfcomm connection?
Date: Thu, 23 Feb 2006 12:58:14 -0300 [thread overview]
Message-ID: <1140710294.3302.6.camel@localhost.localdomain> (raw)
In-Reply-To: <1140643645.4519.42.camel@localhost>
Hi Marcel,
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.
I'm taking a closer look at the documentation for these functions right
now...
Thanks a lot!!!
Agustin Fusaro - Apexar Technologies
On Wed, 2006-02-22 at 22:27 +0100, Marcel Holtmann wrote:
> Hi Agustin,
>
> > I'm writing an application that communicates using rfcomm connections.
> > This application communicates with mobile devices. In order to debug the
> > application I also wrote a mobile device emulator that runs in a
> > computer.
> >
> > Here's the problem:
> > When the application connects to the mobile device everything works
> > fine. But when the application connects to the computer emulating a
> > device, I obtain, mingled with the data the following bytes:
> > "00 5E 40". Sometimes these bytes are together. Some other times these
> > bytes are spreaded among the real data bytes. These additional bytes
> > keeps the application from synchronizing with the emulated device.
> >
> > My question is: when an rfcomm connection is stablished between two
> > computers, is there some bit/byte stuffing involved?
>
> provide is with a full "hcidump -X -V" for this problem, because I have
> no idea what you are talking about.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
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
next prev parent reply other threads:[~2006-02-23 15:58 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 [this message]
2006-02-23 16:51 ` 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=1140710294.3302.6.camel@localhost.localdomain \
--to=afusaro@apexar.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;
as well as URLs for NNTP newsgroup(s).