* [Bluez-users] Errors from hcid
[not found] <20051202220703.C04EF953BA@sc8-sf-spam1.sourceforge.net>
@ 2005-12-02 23:34 ` Michael Gorbach
2005-12-03 5:20 ` Marcel Holtmann
` (4 more replies)
0 siblings, 5 replies; 15+ messages in thread
From: Michael Gorbach @ 2005-12-02 23:34 UTC (permalink / raw)
To: bluez-users
I've set up my dinovo bluetooth dongle after some playing around, using
hid2hci. It is working ok ... but I am getting errors every 5 or 10 minutes
in my 12th console and in /var/log/messages. They look like this:
Dec 2 18:21:16 swatBox hcid[11586]: Can't send D-BUS inquiry start message
Dec 2 18:21:20 swatBox hcid[11586]: Can't send D-BUS inquiry result message
Dec 2 18:21:24 swatBox hcid[11586]: Can't send D-BUS inquiry complete message
Dec 2 18:26:17 swatBox hcid[11586]: Can't send D-BUS inquiry start message
Dec 2 18:26:20 swatBox hcid[11586]: Can't send D-BUS inquiry result message
Dec 2 18:26:24 swatBox hcid[11586]: Can't send D-BUS inquiry complete message
Can anyone tell me what's going on here, and what i need to do to fix or at
least get some more info on what's going on?
Thanks,
Michael Gorbach
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Errors from hcid
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
` (3 subsequent siblings)
4 siblings, 0 replies; 15+ messages in thread
From: Marcel Holtmann @ 2005-12-03 5:20 UTC (permalink / raw)
To: bluez-users
Hi Michael,
> I've set up my dinovo bluetooth dongle after some playing around, using
> hid2hci. It is working ok ... but I am getting errors every 5 or 10 minutes
> in my 12th console and in /var/log/messages. They look like this:
> Dec 2 18:21:16 swatBox hcid[11586]: Can't send D-BUS inquiry start message
> Dec 2 18:21:20 swatBox hcid[11586]: Can't send D-BUS inquiry result message
> Dec 2 18:21:24 swatBox hcid[11586]: Can't send D-BUS inquiry complete message
> Dec 2 18:26:17 swatBox hcid[11586]: Can't send D-BUS inquiry start message
> Dec 2 18:26:20 swatBox hcid[11586]: Can't send D-BUS inquiry result message
> Dec 2 18:26:24 swatBox hcid[11586]: Can't send D-BUS inquiry complete message
> Can anyone tell me what's going on here, and what i need to do to fix or at
> least get some more info on what's going on?
what version of bluez-utils are you using and what kind of Linux
distribution is this?
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bluez-users] Cannot compile bluez-utils-2.25
2005-12-02 23:34 ` [Bluez-users] Errors from hcid Michael Gorbach
2005-12-03 5:20 ` Marcel Holtmann
@ 2006-02-15 21:04 ` Agustin Jose Fusaro
2006-02-17 11:32 ` Claudio Takahasi
2006-02-21 22:00 ` [Bluez-users] Connection attempt timeout Agustin Jose Fusaro
` (2 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: Agustin Jose Fusaro @ 2006-02-15 21:04 UTC (permalink / raw)
To: bluez-users
Hi everybody,
I'm having trouble installing the bluez-utils-2.25 package. I've already
installed the bluez-libs-2.25 package without any problem, but now, when
I try to ' make ' the new utils I get an undefined reference to
`dbus_connection_close' error in file dbus.c. It seems not to be defined
in this file.
Has anybody had this problem?
By the way, I've been working with the bluez library and utils (2.22)
for a while and had some strange problems (rfcomm mostly)... so I just
wanted to make sure that I have the latest version before making further
questions.
Thanks a lot!
Agustin Fusaro
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Cannot compile bluez-utils-2.25
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
0 siblings, 1 reply; 15+ messages in thread
From: Claudio Takahasi @ 2006-02-17 11:32 UTC (permalink / raw)
To: bluez-users
Hi Augustin,
On 2/15/06, Agustin Jose Fusaro <afusaro@apexar.com> wrote:
> Hi everybody,
>
> I'm having trouble installing the bluez-utils-2.25 package. I've already
> installed the bluez-libs-2.25 package without any problem, but now, when
> I try to ' make ' the new utils I get an undefined reference to
> `dbus_connection_close' error in file dbus.c. It seems not to be defined
> in this file.
>
> Has anybody had this problem?
[Claudio Takahasi]
The function dbus_connection_disconnect was deprecated. It was renamed
to dbus_connection_close. Try update your D-Bus or rename the
function.
--
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT
>
> By the way, I've been working with the bluez library and utils (2.22)
> for a while and had some strange problems (rfcomm mostly)... so I just
> wanted to make sure that I have the latest version before making further
> questions.
>
> Thanks a lot!
>
> Agustin Fusaro
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> 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=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Cannot compile bluez-utils-2.25
2006-02-17 11:32 ` Claudio Takahasi
@ 2006-02-17 13:43 ` Agustín José Fusaro
0 siblings, 0 replies; 15+ messages in thread
From: Agustín José Fusaro @ 2006-02-17 13:43 UTC (permalink / raw)
To: bluez-users
Claudio, thx very much for your response. I've changed the name to=20
dbus_connection_disconnect, and now compiles perfectly
Thx again
Agustin Fusaro
Claudio Takahasi escribi=F3:
>Hi Augustin,
>
>On 2/15/06, Agustin Jose Fusaro <afusaro@apexar.com> wrote:
> =20
>
>>Hi everybody,
>>
>>I'm having trouble installing the bluez-utils-2.25 package. I've alread=
y
>>installed the bluez-libs-2.25 package without any problem, but now, whe=
n
>>I try to ' make ' the new utils I get an undefined reference to
>>`dbus_connection_close' error in file dbus.c. It seems not to be define=
d
>>in this file.
>>
>>Has anybody had this problem?
>> =20
>>
>[Claudio Takahasi]
>The function dbus_connection_disconnect was deprecated. It was renamed
>to dbus_connection_close. Try update your D-Bus or rename the
>function.
>
>--
>---------------------------------------------------------
>Claudio Takahasi
>Instituto Nokia de Tecnologia - INdT
>
> =20
>
>>By the way, I've been working with the bluez library and utils (2.22)
>>for a while and had some strange problems (rfcomm mostly)... so I just
>>wanted to make sure that I have the latest version before making furthe=
r
>>questions.
>>
>>Thanks a lot!
>>
>>Agustin Fusaro
>>
>>
>>
>>-------------------------------------------------------
>>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=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
>>_______________________________________________
>>Bluez-users mailing list
>>Bluez-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/bluez-users
>>
>> =20
>>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log f=
iles
>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_____________________________________=
__________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>
> =20
>
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bluez-users] Connection attempt timeout
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-21 22:00 ` Agustin Jose Fusaro
2006-02-21 23:29 ` Marcel Holtmann
2006-02-21 23:05 ` [Bluez-users] Link quality measurement Agustin Jose Fusaro
2006-02-22 21:14 ` [Bluez-users] Bitstuffing in a Rfcomm connection? Agustin Jose Fusaro
4 siblings, 1 reply; 15+ messages in thread
From: Agustin Jose Fusaro @ 2006-02-21 22:00 UTC (permalink / raw)
To: bluez-users
Hi everybody,
I'm developing an application using the bluetooth libraries provided by
Marcel. I'm working with rfcomm connections. After looking at the
function cmd_connect (in the file 'main.c',in the rfcomm directory of
the bluez-utils-2.25) I realized that (using this function) there's no
way to set the connection attempt timeout (the time the connection
attempt will last if the remote device is, for example, turned off).
My question is, Is there a way to set this time? (maybe using the
properties of the sockets involved in this connection)
If anyone knows this answer, it'd be great!
Thanks very much!
Agustin Fusaro - Apexar Technologies
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bluez-users] Link quality measurement
2005-12-02 23:34 ` [Bluez-users] Errors from hcid Michael Gorbach
` (2 preceding siblings ...)
2006-02-21 22:00 ` [Bluez-users] Connection attempt timeout Agustin Jose Fusaro
@ 2006-02-21 23:05 ` Agustin Jose Fusaro
2006-02-21 23:28 ` Marcel Holtmann
2006-02-22 21:14 ` [Bluez-users] Bitstuffing in a Rfcomm connection? Agustin Jose Fusaro
4 siblings, 1 reply; 15+ messages in thread
From: Agustin Jose Fusaro @ 2006-02-21 23:05 UTC (permalink / raw)
To: bluez-users
Hi everybody,
I'm using 'hcitool lq bdaddr' to obtain the link quality of an rfcomm
connection. I wanted to know how this 'quality' is measured, i.e., what
does the number (raging from 0 to 255) mean?
Does anybody has any idea about this? What would be the typical or
optimal link quality measurement?
Thanks a lot,
Agustin Fusaro - Apexar Technologies
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Link quality measurement
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
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2006-02-21 23:28 UTC (permalink / raw)
To: bluez-users
Hi Agustin,
> I'm using 'hcitool lq bdaddr' to obtain the link quality of an rfcomm
> connection. I wanted to know how this 'quality' is measured, i.e., what
> does the number (raging from 0 to 255) mean?
> Does anybody has any idea about this? What would be the typical or
> optimal link quality measurement?
in case of a CSR chip it is well defined. In case of other chips I have
no idea, because the link quality is manufacturer specific. Look at my
CSR page at www.holtmann.org/linux/bluetooth/csr.html for more details.
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Connection attempt timeout
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
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2006-02-21 23:29 UTC (permalink / raw)
To: bluez-users
Hi Agustin,
> I'm developing an application using the bluetooth libraries provided by
> Marcel. I'm working with rfcomm connections. After looking at the
> function cmd_connect (in the file 'main.c',in the rfcomm directory of
> the bluez-utils-2.25) I realized that (using this function) there's no
> way to set the connection attempt timeout (the time the connection
> attempt will last if the remote device is, for example, turned off).
what do you mean by connection attempt timeout. I think the correct term
is page timeout and you can of course set it with hciconfig.
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Connection attempt timeout
2006-02-21 23:29 ` Marcel Holtmann
@ 2006-02-22 16:16 ` Agustin Jose Fusaro
0 siblings, 0 replies; 15+ messages in thread
From: Agustin Jose Fusaro @ 2006-02-22 16:16 UTC (permalink / raw)
To: bluez-users
I've found the piece of code that does the trick (function _cmd_page_to
in file hciconfig.c). Thanks Marcel!
On Wed, 2006-02-22 at 00:29 +0100, Marcel Holtmann wrote:
> Hi Agustin,
>
> > I'm developing an application using the bluetooth libraries provided by
> > Marcel. I'm working with rfcomm connections. After looking at the
> > function cmd_connect (in the file 'main.c',in the rfcomm directory of
> > the bluez-utils-2.25) I realized that (using this function) there's no
> > way to set the connection attempt timeout (the time the connection
> > attempt will last if the remote device is, for example, turned off).
>
> what do you mean by connection attempt timeout. I think the correct term
> is page timeout and you can of course set it with hciconfig.
>
> 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: 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Link quality measurement
2006-02-21 23:28 ` Marcel Holtmann
@ 2006-02-22 16:17 ` Agustin Jose Fusaro
0 siblings, 0 replies; 15+ messages in thread
From: Agustin Jose Fusaro @ 2006-02-22 16:17 UTC (permalink / raw)
To: bluez-users
I'll take a look at it. Thanks again Marcel!
On Wed, 2006-02-22 at 00:28 +0100, Marcel Holtmann wrote:
> Hi Agustin,
>
> > I'm using 'hcitool lq bdaddr' to obtain the link quality of an rfcomm
> > connection. I wanted to know how this 'quality' is measured, i.e., what
> > does the number (raging from 0 to 255) mean?
> > Does anybody has any idea about this? What would be the typical or
> > optimal link quality measurement?
>
> in case of a CSR chip it is well defined. In case of other chips I have
> no idea, because the link quality is manufacturer specific. Look at my
> CSR page at www.holtmann.org/linux/bluetooth/csr.html for more details.
>
> 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: 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bluez-users] Bitstuffing in a Rfcomm connection?
2005-12-02 23:34 ` [Bluez-users] Errors from hcid Michael Gorbach
` (3 preceding siblings ...)
2006-02-21 23:05 ` [Bluez-users] Link quality measurement Agustin Jose Fusaro
@ 2006-02-22 21:14 ` Agustin Jose Fusaro
2006-02-22 21:27 ` Marcel Holtmann
4 siblings, 1 reply; 15+ messages in thread
From: Agustin Jose Fusaro @ 2006-02-22 21:14 UTC (permalink / raw)
To: bluez-users
Hi everybody,
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?
Thanks a lot!
Agustin Fusaro - Apexar Technologies
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Bitstuffing in a Rfcomm connection?
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
0 siblings, 1 reply; 15+ messages in thread
From: Marcel Holtmann @ 2006-02-22 21:27 UTC (permalink / raw)
To: bluez-users
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Bitstuffing in a Rfcomm connection?
2006-02-22 21:27 ` Marcel Holtmann
@ 2006-02-23 15:58 ` Agustin Jose Fusaro
2006-02-23 16:51 ` Marcel Holtmann
0 siblings, 1 reply; 15+ messages in thread
From: Agustin Jose Fusaro @ 2006-02-23 15:58 UTC (permalink / raw)
To: bluez-users
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Bitstuffing in a Rfcomm connection?
2006-02-23 15:58 ` Agustin Jose Fusaro
@ 2006-02-23 16:51 ` Marcel Holtmann
0 siblings, 0 replies; 15+ messages in thread
From: Marcel Holtmann @ 2006-02-23 16:51 UTC (permalink / raw)
To: bluez-users
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
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2006-02-23 16:51 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 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).